UdK-VPT / BuildingSystems

Modelica BuildingSystems library
http://modelica-buildingsystems.de/
BSD 3-Clause "New" or "Revised" License
68 stars 33 forks source link

User Guide Examples with JModelica #163

Open mokandil opened 3 years ago

mokandil commented 3 years ago

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?

nytschgeusen commented 3 years ago

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

mokandil commented 3 years ago

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, < notifications@github.com> 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 .