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
  • Index
  • » Users
  • » JMonteiro
  • » Profile

Posts

Posts

But How can I save the changes?

Joaquim

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

Hi,

Thanks for your help Adeel.

I follow your instructions and  I try to load the thermocycle librarie with OMEdit appears the following message:

[C:/OpenModelica1.9.1/lib/omlibrary/ThermoCycle/Examples/TestComponents/package.mo:2:1-18:19] Error: Test_Cell1D_2 was referenced in the package.order file, but was not found in package.mo, Test_Cell1D_2/package.mo or Test_Cell1D_2.mo.
[:0:0-0:0] Error: Failed to load package ThermoCycle () using MODELICAPATH C:\OpenModelica1.9.1\lib\omlibrary\;C:/OpenModelica1.9.1/lib/omlibrary.

What I did wrong?

Joaquim

> I’m newbie in Modelica.
>
> I need to do a study with heatpumps and I saw the Openmodelica software.
>
> I gonna need same components that I think that exists in the
> thermocycle librarie.   ( http://www.thermocycle.net/)

The problem is when I try to load the thermocycle librarie with OMEdit
appears the following message:



> [C:/OpenModelica1.9.1/lib/omlibrary/ThermoCycle/Examples/TestComponent
> s/package.mo:2:1-18:19]
> Error: Test_Cell1D_2 was referenced in the package.order file, but was
> not found in package.mo, Test_Cell1D_2/package.mo or Test_Cell1D_2.mo.
>
> [C:/OpenModelica1.9.1/lib/omlibrary/ThermoCycle/Examples/TestComponent
> s/package.mo:6:32-6:104]
> Warning: The file was not encoded in UTF-8:
>
>    "<HTML> <p><big><dl><dt><b>Main Authors:</b> <br/></dt> <dd>Sylvain
> Quoil...".
>
>    Defaulting to 7-bit ASCII with unknown characters replaced by '?'.
>
>    To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY").
>
>    To change it in a package: add a file package.encoding at the top-level.
>
>    Note: The Modelica Language Specification only allows files encoded
> in UTF-8.


Can you help me?

Best

Joaquim

  • Index
  • » Users
  • » JMonteiro
  • » Profile
You are here: