First time here? Check our help page!
1

Question regarding the Dymola Behavior Modeling layout

Hello there,

Regarding the Dymola Behavior Modeling, I have added all the libraries including "Modelica Standard Library 3.2.3", "Modelica Service Library 3.2.3" and "Building Library 7.0.0". I ran the simulation from the example provided in the building library (Chiller plant). I got the following error.

Function OpenModelica. Scripting.uriToFilename is not known in(function ModelicaServices.ExternalReferences.loadResource)

I also checked the environment variable and it looks three paths related to the 3 libraries are available. I would appreciate it if you could answer my question!

behzadrizi's avatar
51
behzadrizi
asked 2021-02-10 16:20:46 -0500
Aaron Boranian's avatar
14.1k
Aaron Boranian
updated 2021-02-10 16:59:01 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

OpenModelica does not yet work with all models, but work is ongoing to get full coverage. Please see https://simulationresearch.lbl.gov/mo... for the current test results.

Michael Wetter's avatar
1.7k
Michael Wetter
answered 2021-03-19 07:17:19 -0500
edit flag offensive 0 remove flag delete link

Comments

Thanks for your response and providing the link. Actually I am working with Dymola layout but I wonder why I got this error while I am working with Dymola

behzadrizi's avatar behzadrizi (2021-03-19 10:59:17 -0500) edit

That looks to me like either your installation is corrupt or changes have been made to the Buildings Library because "OpenModelica. Scripting.uriToFilename" is not something that is in the library or Dymola would use. Also, "ModelicaServices" is distributed with the tools (e.g., Dymola or OpenModelica) and should not be changed as this can contain tool-dependent code.

Michael Wetter's avatar Michael Wetter (2021-03-19 12:31:44 -0500) edit
add a comment see more comments