Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#5803 closed defect (wontfix)

Library FCSys incompatible

Reported by: pinard.amelie@… Owned by: Adrian Pop
Priority: high Milestone: 1.16.0
Component: Interactive Environment Version:
Keywords: FCS Library Cc:

Description

‌Hello,
I am currently starting with OpenModelica and I need to work with the library FCS. But I have a problem because when I charge the library I cannot open it. I have a the following message : Requested package Modelica of version 3.2.1, but this package was already loaded with version 3.2.3. You might experience problems if these versions are incompatible.
and the software crashes.
I have downloaded everything at the same time so I do not understand what this error comes from.
Thank you very much for your help.
Best regards.

Attachments (1)

OM_problem_2.png (195.7 KB ) - added by pinard.amelie@… 5 years ago.
Screenshot of what I get just before the crash

Download all attachments as: .zip

Change History (7)

by pinard.amelie@…, 5 years ago

Attachment: OM_problem_2.png added

Screenshot of what I get just before the crash

comment:1 by Francesco Casella, 5 years ago

We need to improve library version management, see #5427. That's planned for version 2.0.0

Are you using the FCS library shipped with OpenModelica?

comment:2 by Martin Sjölund, 5 years ago

It's not an error; it's a warning. If you want better compatibility, change your OMEdit to load not Modelica 3.2.3 on startup (either load 3.2.1 or no library). If no Modelica standard library is loaded, OMEdit will load the correct version provided it is installed.

comment:3 by Adeel Asghar, 5 years ago

Component: *unknown*Interactive Environment
Milestone: Future1.15.0
Owner: changed from somebody to Adrian Pop
Status: newassigned

This is the same issue as #5669. The compiler goes into infinte loop when calling getInheritedClasses(FCSys.Units).

in reply to:  1 ; comment:4 by anonymous, 5 years ago

Yes

Replying to casella:

We need to improve library version management, see #5427. That's planned for version 2.0.0

Are you using the FCS library shipped with OpenModelica?

in reply to:  4 comment:5 by Francesco Casella, 5 years ago

Resolution: wontfix
Status: assignedclosed

Replying to anonymous:

Yes

Replying to casella:

We need to improve library version management, see #5427. That's planned for version 2.0.0

Are you using the FCS library shipped with OpenModelica?

A workaround for you is to download the FCS library you want to use from github (or wherever) and fix the version annotation in the top directory package.mo file. Then, manually open the top directory package.mo before you open your models/package that use the library.

I'm not sure changing this annotation is sufficient, maybe other things need to be updated in the library.

Please note that according to our understanding (see #5726) the FCSys library is obsolete and currently not supported by OMC. The latest commit on the source repository was 6 years ago. It may be again if development is resumed in the future.

Last edited 5 years ago by Francesco Casella (previous) (diff)

comment:6 by Francesco Casella, 4 years ago

Milestone: 1.15.01.16.0

Release 1.15.0 was scrapped, because replaceable support eventually turned out to be more easily implemented in 1.16.0. Hence, all 1.15.0 tickets are rescheduled to 1.16.0

Note: See TracTickets for help on using tickets.