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: adrpo
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)

Changed 5 years ago by pinard.amelie@…

Screenshot of what I get just before the crash

comment:1 follow-up: Changed 5 years ago by 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?

comment:2 Changed 5 years ago by sjoelund.se

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 Changed 5 years ago by adeas31

  • Component changed from *unknown* to Interactive Environment
  • Milestone changed from Future to 1.15.0
  • Owner changed from somebody to adrpo
  • Status changed from new to assigned

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

comment:4 in reply to: ↑ 1 ; follow-up: Changed 5 years ago by 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?

comment:5 in reply to: ↑ 4 Changed 5 years ago by casella

  • Resolution set to wontfix
  • Status changed from assigned to closed

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 casella (previous) (diff)

comment:6 Changed 4 years ago by casella

  • Milestone changed from 1.15.0 to 1.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.