0

Modelica Buildings Library Data Center Example Fails

Hi We are using Modelica Buildings Library version 10.0.0 with OpenModelica version 1.22.0 on Linux Mint 21.2. The installs of the Buildings Modelica Library and OpenModelica are clean installs.

OpenModelica works with some simple (no Buildings library) examples, plus a number of the Buildings Modelica Library examples also work with out any problem. For example, Buildings.Examples.ChillerPlant.DataCenter.ContinuousTimeControl is fine. We infer both our OpenModelica and Modelica Buildings Library installations are fine. However, the data center chiller example :

Buildings.Applications.DataCenters.Examples.IntegratedPrimaryLoadSideEconomizer

fails with and error:

[1] 12:12:39 Scripting Error
Unable to find component chiWSE.yPum while parsing connection {pumSpeSig.y,chiWSE.yPum,}.

[2] 12:12:39 Scripting Error
Unable to find component chiWSE.yVal5 while parsing connection {yVal5.y,chiWSE.yVal5,}.

[3] 12:12:39 Scripting Error
Unable to find component chiWSE.yVal6 while parsing connection {yVal6.y,chiWSE.yVal6,}.

[1] 12:12:58 Translation Error
[/var/lib/jenkins/ws/LINUX_BUILDS/tmp.build/openmodelica-1.21.2/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo: 1089:9-1089:67]: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.00366, 0.01098, 0.0183, 0.02196, 0.02745}[pressure.n] * 0.0‘

[2] 12:12:58 Translation Error
[/var/lib/jenkins/ws/LINUX_BUILDS/tmp.build/openmodelica-1.21.2/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo: 1089:9-1089:67]: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.006940000000000001, 0.02082, 0.0347, 0.04164, 0.05205000000000001}[pressure.n] * 0.0‘

[3] 12:12:58 Translation Error
[/var/lib/jenkins/ws/LINUX_BUILDS/tmp.build/openmodelica-1.21.2/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo: 1089:9-1089:67]: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 62.53875968992248, 125.077519379845, 646.2338501291983}[pressure.n] * 0.0‘

[1] 12:13:44 Translation Error
[/var/lib/jenkins/ws/LINUX_BUILDS/tmp.build/openmodelica-1.21.2/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo: 1089:9-1089:67]: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.00366, 0.01098, 0.0183, 0.02196, 0.02745}[pressure.n] * 0.0‘

[2] 12:13:44 Translation Error
[/var/lib/jenkins/ws/LINUX_BUILDS/tmp.build/openmodelica-1.21.2/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo: 1089:9-1089:67]: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.006940000000000001, 0.02082, 0.0347, 0.04164, 0.05205000000000001}[pressure.n] * 0.0‘

[3] 12:13:44 Translation Error
[/var/lib/jenkins/ws/LINUX_BUILDS/tmp.build/openmodelica-1.21.2/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo: 1089:9-1089:67]: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 62.53875968992248, 125.077519379845, 646.2338501291983}[pressure.n] * 0.0‘

[1] 12:14:36 Translation Error
[/var/lib/jenkins/ws/LINUX_BUILDS/tmp.build/openmodelica-1.21.2/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo: 1089:9-1089:67]: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.00366, 0.01098, 0.0183, 0.02196, 0.02745}[pressure.n] * 0.0‘

[2] 12:14:36 Translation Error
[/var/lib/jenkins/ws/LINUX_BUILDS/tmp.build/openmodelica-1.21.2/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo: 1089:9-1089:67]: Internal error NFCeval.evalBinaryMul ...
(more)
1dno4311x@mozmail.com's avatar
1
1dno4311x@mozmail.com
asked 2023-11-09 06:37:11 -0500
Aaron Boranian's avatar
14.1k
Aaron Boranian
updated 2023-11-09 08:01:26 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

This model works with the latest version of OpenModelica. See also https://libraries.openmodelica.org/br...

Your error message shows /var/lib/jenkins/ws/LINUX_BUILDS/tmp.build/openmodelica-1.21.2, so it looks like you are using OpenModelica 1.21 rather than 1.22.

Michael Wetter's avatar
1.7k
Michael Wetter
answered 2023-11-09 16:58:42 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments