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

PlanarMechanics doesn't work on fresh 1.16.1 install

PlanarMechanics doesn't work on fresh 1.16.1 install

To set op a twodimensional friction problem I want to use the PlanarMechanics library.
But I can't get it to work on a fresh openmodelica 1.16.1 install.

I get similar errors on both systems and a warning involving "Modelica of version 4.0.0" see the linus errors below.

Any idea what i should do?

Cheers, Smitje

Code:


[1] 22:17:02 Scripting Notification
Automatically loaded package Complex 3.2.3 due to uses annotation.

[2] 22:17:02 Scripting Notification
Automatically loaded package ModelicaServices 3.2.3 due to uses annotation.

[3] 22:39:12 Scripting Notification
QXcbConnection: XCB error: 3 (BadWindow), sequence: 26600, resource id: 8775238, major code: 40 (TranslateCoords), minor code: 0

[4] 22:39:12 Scripting Warning
Requested package Modelica of version 4.0.0, but this package was already loaded with version 3.2.3. There are no conversion annotations for this version but 4.0.0 is newer than 3.2.3. There is a possibility that 3.2.3 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this.

On trying to "check model" on the examples I get this output:

Code:


[1] 22:59:28 Scripting Warning
Requested package Modelica of version 4.0.0, but this package was already loaded with version 3.2.3. There are no conversion annotations for this version but 4.0.0 is newer than 3.2.3. There is a possibility that 3.2.3 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this.

[2] 22:59:28 Translation Error
[PlanarMechanics: 4:3-4:27]: Import Modelica.Units.SI not found in scope <top>.

[3] 22:59:28 Translation Error
[PlanarMechanics.Visualizers.Internal.Arrow: 42:3-43:32]: Class SI.Length not found in scope Arrow.

Edited by: Smitje - Nov-19-20 22:02:44
There are 0 guests and 0 other users also viewing this topic
You are here: