Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.Systems.DHW.Examples.DHWResistiveWaterHeater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.Systems.DHW.Examples.DHWResistiveWaterHeater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Systems.DHW.Examples.DHWResistiveWaterHeater") translateModel(BuildSysPro.Systems.DHW.Examples.DHWResistiveWaterHeater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Systems.DHW.Examples.DHWResistiveWaterHeater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 109.6 kB / 16.42 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 187.1 kB / 17.35 MB, free: 5.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8661/0.8661, allocations: 143 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.606e-05/2.607e-05, allocations: 2.5 kB / 0.5961 GB, free: 12.4 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/DymolaCommands master/package.mo:17:42-17:258:writable] Notification: This is an open source dummy package of a commercial library. If you want it to be supported, you will need to add an implemention on our github repository: https://github.com/Modelica-OpenVendorSpecificLibraries. Notification: Automatically loaded package DymolaCommands 0.0.0 due to uses annotation from Modelica_LinearSystems2. Notification: Automatically loaded package Modelica_LinearSystems2 2.4.1 due to usage. Notification: Performance of NFInst.instantiate(BuildSysPro.Systems.DHW.Examples.DHWResistiveWaterHeater): time 0.4847/0.4848, allocations: 75.81 MB / 0.6701 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001616/0.4864, allocations: 0.8607 MB / 0.671 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002164/0.4867, allocations: 7.938 kB / 0.671 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002006/0.4869, allocations: 35.59 kB / 0.671 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003572/0.4872, allocations: 99.25 kB / 0.6711 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004386/0.4877, allocations: 135.7 kB / 0.6712 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004469/0.4881, allocations: 359.1 kB / 0.6716 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002357/0.4884, allocations: 124 kB / 0.6717 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002391/0.4886, allocations: 131.5 kB / 0.6718 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.4888, allocations: 131.4 kB / 0.6719 GB, free: 392 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.104e-05/0.4889, allocations: 31.98 kB / 0.672 GB, free: 360 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001731/0.4891, allocations: 67.91 kB / 0.672 GB, free: 292 kB / 0.4981 GB Notification: Performance of combineBinaries: time 0.0003662/0.4894, allocations: 463.1 kB / 0.6725 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of replaceArrayConstructors: time 0.0001886/0.4896, allocations: 287.7 kB / 0.6728 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.373e-05/0.4897, allocations: 47.88 kB / 0.6728 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of FrontEnd: time 7.809e-05/0.4898, allocations: 23.8 kB / 0.6728 GB, free: 15.47 MB / 0.5137 GB Error: Internal error NBEquation.WhenEquationBody.collectForSplit failed because lhs of statement is not a cref: (debit.discretePart.noise, debit.discretePart.seedState) := Modelica_LinearSystems2.Controller.Internal.random(pre(debit.discretePart.seedState))