- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Errors in OpenModelica nghtly on...
Errors in OpenModelica nghtly on Fedora 25
Errors in OpenModelica nghtly on Fedora 25
I'm a total beginner and I'm trying to learn Modelica modelling, starting with using the GUI to transition from Simulink. Hence I tried to use OpenModelica because of OMEdit. I am using Fedora 25, but it is repeatedly giving me errors for seemingly trivial operations.
First of all, the moment I started OMEdit, it gave me errors that Modelica and ModelicaReference libraries were not found. Later I had to download it from the Modelica website and unzip it into my .openmodelica directory. This instruction was not given anywhere, and it required a lot of searching to piece together an idea of what I needed to do.
Next, I did the same with the System Dynamics library (https://github.com/modelica-3rdparty/SystemDynamics). Then in OMEdit, I click File, mouse on System Libraries, and clicked SystemDynamics. I got the following error in the Messages Browser:
Need some help to figure out, I am a total noob and have no idea what could be wrong.
Thanks
Milind
Re: Errors in OpenModelica nghtly on Fedora 25
How did you install OpenModelica? OM version? 32-bit or 64-bit?
- sjoelund.se
- 1700 Posts
Re: Errors in OpenModelica nghtly on Fedora 25
I installed the nightly from the RPM repository following the instructions at https://openmodelica.org/download/download-linux .
OMEdit Version : 1.12.0~dev-305-g8329606 . Connected to OpenModelica 1.12.0~dev.alpha1.
Sorry for the delay.
Re: Errors in OpenModelica nghtly on Fedora 25
So you should be able to "dnf install omlib-systemdynamics" and "dnf install omlib-modelica-3.2.2" rather than downloading them manually (don't know what you could have gotten wrong or which standard library version you are using). Is it the 32 or 64-bit version?
- sjoelund.se
- 1700 Posts
Re: Errors in OpenModelica nghtly on Fedora 25
Did not know about omlib-modelica, I obtained it from the modelica website and dumped it in the user-specific modelica folder after a lot of trial-and-error.
I was able to obtain omlib-modelica-3.2.1 latest for openmodelica-1.11 (I was only able to see the x86_64 version, so that's what I installed).
I receive an error about modelica path on starting OMEdit:
Does it make a difference if I try openmodelica-nightly?
Thanks a lot for your help!
Re: Errors in OpenModelica nghtly on Fedora 25
omlib-modelicareference needed or just remove the package from your OMEdit config. The translation error is just a warning for MSL 3.2.1; the Electrical.Digital icon contained an error and won't be rendered correctly. It's fixed in MSL 3.2.2.
- sjoelund.se
- 1700 Posts
Re: Errors in OpenModelica nghtly on Fedora 25
Oh alright then, I'll ignore the error if it won't directly cause problems. Anyway I am not using Digital components.
The SystemDynamics problem remains. It still tells me
Thanks again!
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Errors in OpenModelica nghtly on...