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

Unable to import ThermoCycle Library to OpenModelica

Unable to import ThermoCycle Library to OpenModelica

Hi, I have these errors while putting in ThermoCycle library into the omlibrary file and running it. I have no idea how to fix this error.

[1] 20:02:43 Syntax Warning
[C:/Program Files/OpenModelica1.14.1-64bit/lib/omlibrary/ThermoCycle/Components/HeatFlow/HeatTransfer/SinglePhaseCorrelations/DittusBoelter1930.mo: 50:31-50:247]: Lexer treating \ as \\, since \< is not a valid Modelica escape sequence.

[2] 20:02:43 Syntax Warning
[C:/Program Files/OpenModelica1.14.1-64bit/lib/omlibrary/ThermoCycle/Components/Units/HeatExchangers/MB_HX/Tests/TestCondenser/TestFlooded/Test_CondSES36Inc.mo: 28:12-28:22]: OpenModelica (64-bit) only supports 63-bit signed integers! Transforming: 9100000000 into a real

[3] 20:02:43 Syntax Warning
[C:/Program Files/OpenModelica1.14.1-64bit/lib/omlibrary/ThermoCycle/Components/Units/HeatExchangers/MB_HX/Tests/TestCondenser/TestFlooded/Test_CondSES36.mo: 28:12-28:22]: OpenModelica (64-bit) only supports 63-bit signed integers! Transforming: 9100000000 into a real

[4] 20:02:43 Syntax Warning
[C:/Program Files/OpenModelica1.14.1-64bit/lib/omlibrary/ThermoCycle/Components/Units/HeatExchangers/MB_HX/Tests/TestCondenser/TestGeneral/Test_CondSES36.mo: 31:12-31:22]: OpenModelica (64-bit) only supports 63-bit signed integers! Transforming: 9100000000 into a real

[5] 20:02:43 Scripting Warning
[C:/Program Files/OpenModelica1.14.1-64bit/lib/omlibrary/ThermoCycle/package.mo: 7:20-7:33]: Uses-annotation is missing version for library ExternalMedia. Assuming the tool-specific version="default".

[6] 20:02:43 Scripting Notification
Skipped loading package ExternalMedia (default) using MODELICAPATH C:/Program Files/OpenModelica1.14.1-64bit/lib/omlibrary/;C:/Program Files/OpenModelica1.14.1-64bit/lib/omlibrary (uses-annotation may be wrong).

[7] 20:02:43 Scripting Warning
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.

Re: Unable to import ThermoCycle Library to OpenModelica

Anyone please help, I'm in need of this library for my research and project

Re: Unable to import ThermoCycle Library to OpenModelica

These are just warnings, what happens if you try to run a model from the library?
Which models do you need working for your research?

Re: Unable to import ThermoCycle Library to OpenModelica

I have not tried simulating it yet, I'm trying to do refrigeration simulation using the ThermoCycle library. I'm not sure if there are any library which can be used for this. The original OM library does not have compressors, evaporators and other essential components. I've tried many times to import the ThermoCycle library into the OpenModelica, tried converting it to UTF-8 but still some icons are missing and the warnings came out. Missing Icons are under 'Icons' and 'Obsolute'. The warnings are still present. I'm lost what to do anymore. I've also tried using ExternalMedia to fix this, but does not work.

[1] 10:06:53 Syntax Warning
[C:/Program Files/OpenModelica1.14.1-64bit/lib/omlibrary/ThermoCycle/Components/HeatFlow/HeatTransfer/SinglePhaseCorrelations/DittusBoelter1930.mo: 50:31-50:247]: Lexer treating \ as \\, since \< is not a valid Modelica escape sequence.

[2] 10:06:53 Syntax Warning
[C:/Program Files/OpenModelica1.14.1-64bit/lib/omlibrary/ThermoCycle/Components/Units/HeatExchangers/MB_HX/Tests/TestCondenser/TestFlooded/Test_CondSES36Inc.mo: 28:12-28:22]: OpenModelica (64-bit) only supports 63-bit signed integers! Transforming: 9100000000 into a real

[3] 10:06:53 Syntax Warning
[C:/Program Files/OpenModelica1.14.1-64bit/lib/omlibrary/ThermoCycle/Components/Units/HeatExchangers/MB_HX/Tests/TestCondenser/TestFlooded/Test_CondSES36.mo: 28:12-28:22]: OpenModelica (64-bit) only supports 63-bit signed integers! Transforming: 9100000000 into a real

[4] 10:06:53 Syntax Warning
[C:/Program Files/OpenModelica1.14.1-64bit/lib/omlibrary/ThermoCycle/Components/Units/HeatExchangers/MB_HX/Tests/TestCondenser/TestGeneral/Test_CondSES36.mo: 31:12-31:22]: OpenModelica (64-bit) only supports 63-bit signed integers! Transforming: 9100000000 into a real

[5] 10:06:53 Scripting Warning
[C:/Program Files/OpenModelica1.14.1-64bit/lib/omlibrary/ThermoCycle/package.mo: 7:20-7:33]: Uses-annotation is missing version for library ExternalMedia. Assuming the tool-specific version="default".

[6] 10:06:53 Scripting Notification
Automatically loaded package ExternalMedia  due to uses annotation.

[7] 10:06:53 Scripting Warning
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.

Re: Unable to import ThermoCycle Library to OpenModelica

I have not tried simulating it yet, I'm trying to do refrigeration simulation using the ThermoCycle library. I'm not sure if there are any library which can be used for this. The original OM library does not have compressors, evaporators and other essential components. I've tried many times to import the ThermoCycle library into the OpenModelica, tried converting it to UTF-8 but still some icons are missing and the warnings came out. Missing Icons are under 'Icons' and 'Obsolute'. The warnings are still present. I'm lost what to do anymore. I've also tried using ExternalMedia to fix this, but does not work.

Re: Unable to import ThermoCycle Library to OpenModelica

hi sir, i am trying to do a simulation on refrigeration cycle using openmodelica.

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