Relative Content

Tag Archive for openmodelica

The omc command of OpenModelica is not functioning

While it is possible to compile using the OpenModelica Connection Editor, when executing omc -s xxxx.mo from the command prompt, the compilation fails.
It seems that the compilation is stopping midway because xxxx_init.c does not exist.
However, even when compiling with the OpenModelica Connection Editor, it does not appear that xxxx_init.c is being generated.
Does anyone know a solution to this issue?

Issue Installing ThermalSeparation Library in OMEdit

I am experiencing an issue while trying to install the ThermalSeparation library in OMEdit. Despite the library being listed in the ‘index.json’ file, indicating its availability, it does not appear in the ‘install libraries’ box within OMEdit. I have attempted to update the software, but the problem persists

Change parameter values of nested model in OMShell

i am trying to get familiar with OMShell because i need to do multiple simulations with models in my self-written package extending models of the buildings library…multiple runs, where i want to vary weatherfiles used and some values within a parameter-record defining my model. I’d like to write a script (.mos) to automate this process and came across the command “setParameterValue()”. Trying to use it to manipulate a parameter of a model within the model i simulate doesn*t seem to work as i get an Error-message stating that it couldn’t find the class. But it works when i want to manipulate a parameter in the model i want to simulate itself.

Plotting the polygon

There is a model that checks the entry of a point into an arbitrary polygon. Simulation graphs can show time-dependent variables. Is it possible to somehow plot the polygon itself and the point on it on the graph during modeling?

Path with special characters

If there are special characters, namely Cyrillic letters, in directories in the project path, the simulation ends with an error “Re: Compilation process failed. Exited with code 0x00000002.”.
I’m using the version OpenModelica 1.22.2-64bit.
How can I solve this problem if there is no way to exclude special characters from in the project path.