Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register
  • Index
  • » Users
  • » mahder.gebremedhin
  • » Profile

Posts

Posts

Hi Jcer,

Operator error:
The problem is with the library. They have code that tries to declare an operator function inside another operator function. This is illegal in Modelica. We have notified them about the issue. They might update the library soon. But for now you can go ahead and remove the offending operator declaration on your machine.

Loading in OMEdit:

You might need to download a new nightly build from https://build.openmodelica.org/omc/buil … ly-builds/ to get the two versions of the library mentioned below.

Now we have two versions of the Modelica_LinearSystems2 library: 'Modelica_LinearSystems2 2.3' and 'Modelica_LinearSystems2 2.0'

If you want to load the new version 'Modelica_LinearSystems2 2.3',
OMedit: tools->options->libraries->add->
name: Modelica_LinearSystems2
value: 2.3

If you want to load the older version 'Modelica_LinearSystems2 2.0' use the above method but put 2.0 in value field instead of 2.3.

P.S. You should probably use the new version even though it has some more problems. But they are not very complicated problems. You can fix them as you go.
Let's hope a fixed version of the library will come out soon.


Cheers,
Mahder.

  • Index
  • » Users
  • » mahder.gebremedhin
  • » Profile
You are here: