BuildingSystems icon indicating copy to clipboard operation
BuildingSystems copied to clipboard

User Guide Examples with JModelica

Open mokandil opened this issue 4 years ago • 2 comments

Hi,

I tried to run the SimpleBuilding.mo from the ExamplesUserGuide using JModelica however I got the following error

`CompilerError: 1 error(s) and 2 warning(s) found:

Warning at line 25, column 3, in file 'C:\Program Files\OpenModelica1.16.1-64bit\lib\omlibrary\BuildingSystems-master\BuildingSystems\Climate\WeatherData\BaseClasses\WeatherDataFileNetCDF.mo': The component info is declared multiple times and can not be verified to be identical to other declaration(s) with the same name.

Warning at line 49, column 12, in file 'C:\Program Files\OpenModelica1.16.1-64bit\lib\omlibrary\BuildingSystems-master\BuildingSystems\Fluid\Sources\BaseClasses\PartialSource.mo': The cardinality() function-like operator is deprecated, and will be removed in a future version of Modelica

Error at line 82, column 7, in file 'C:\Program Files\OpenModelica1.16.1-64bit\lib\omlibrary\BuildingSystems-master\BuildingSystems\Buildings\Airvolumes\AirvolumeMixed.mo': The component air is conditional: Access of conditional components is only valid in connect statements`

Any suggestions to solve this problem?

mokandil avatar Jan 04 '21 15:01 mokandil

Did you test the model with JModelica or openModelica ? The failure message indicates that you try to compile the model with OpenModelica version 1.16.1

nytschgeusen avatar Jan 26 '21 13:01 nytschgeusen

I'm compiling using Jmodelica however the package is saved in the directory of OpenModelica.

On Tue., Jan. 26, 2021, 8:01 a.m. Christoph Nytsch-Geusen, < [email protected]> wrote:

Did you test the model with JModelica or openModelica ? The failure message indicates that you try to compile the model with OpenModelica version 1.16.1

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/UdK-VPT/BuildingSystems/issues/163#issuecomment-767526254, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJ5I2HNCLAR2QYAPCG7SIMTS324IXANCNFSM4VTE2N5Q .

mokandil avatar Jan 26 '21 13:01 mokandil