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

save project in openModelica

save project in openModelica

Hi everybody,

I'm a newbie in openmodelica.

This question may be stupid. But I can I save a project in open modelica?

When I close a project after change and save him, when I try to open gives me a window with a message:

Error has occurred while loading the file/library /home/joaquim/estagio_oe/ESTAGIO_OE_1.mo. Unable to load the file/library.

Only single nonstructured entity is allowed to be stored in the file. The file /home/joaquim/estagio_oe/ESTAGIO_OE_1.mo contains following classes teste,Buildings,ModelicaServices,Modelica,teste_total.


How can I solve this?

Can anyone pass me a OMEdit tutorial? I look in the site, but I don't find it.


Joaquim

Re: save project in openModelica

Again the error message says it all,

"Only single nonstructured entity is allowed to be stored in the file. The file /home/joaquim/estagio_oe/ESTAGIO_OE_1.mo contains following classes teste,Buildings,ModelicaServices,Modelica,teste_total."

Your file ESTAGIO_OE_1.mo contains 5 top-level classes i.e teste,Buildings,ModelicaServices,Modelica,teste_total. According to the specification you are only allowed to have one top-level class.

Adeel.

Re: save project in openModelica

But How can I save the changes?

Joaquim

There are 0 guests and 0 other users also viewing this topic
You are here: