#5803 closed defect (wontfix)
Library FCSys incompatible
Reported by: | 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)
Change History (7)
by , 5 years ago
Attachment: | OM_problem_2.png added |
---|
follow-up: 4 comment:1 by , 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 , 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 , 5 years ago
Component: | *unknown* → Interactive Environment |
---|---|
Milestone: | Future → 1.15.0 |
Owner: | changed from | to
Status: | new → assigned |
This is the same issue as #5669. The compiler goes into infinte loop when calling getInheritedClasses(FCSys.Units)
.
follow-up: 5 comment:4 by , 5 years ago
comment:5 by , 5 years ago
Resolution: | → wontfix |
---|---|
Status: | assigned → 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.
comment:6 by , 4 years ago
Milestone: | 1.15.0 → 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
Screenshot of what I get just before the crash