Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
1

Question regarding the Dymola Behavior Modeling layout

asked 2021-02-10 16:20:46 -0600

behzadrizi's avatar

updated 2021-02-10 16:59:01 -0600

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!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-03-19 07:17:19 -0600

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.

edit flag offensive delete link more

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 -0600 )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 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

Stats

Asked: 2021-02-10 16:20:46 -0600

Seen: 169 times

Last updated: Mar 19 '21