Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing.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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prv.port_a.p|prv.port_b.p|prv.dp|speEntIn.h_out|speEntOut.h_out|prv.m_flow",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing") translateModel(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prv.port_a.p|prv.port_b.p|prv.dp|speEntIn.h_out|speEntOut.h_out|prv.m_flow",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 105.9 kB / 16.42 MB, free: 6.523 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.001016/0.001016, allocations: 189.5 kB / 17.36 MB, free: 5.727 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.124/1.124, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.195/2.195, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.566e-05/1.566e-05, allocations: 4.25 kB / 1.055 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing): time 0.5109/0.511, allocations: 146.4 MB / 1.198 GB, free: 13 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0152/0.5262, allocations: 14.98 MB / 1.212 GB, free: 1.059 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005882/0.5268, allocations: 20 kB / 1.212 GB, free: 1.051 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006558/0.5275, allocations: 284.3 kB / 1.212 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004415/0.5319, allocations: 2.153 MB / 1.215 GB, free: 15.23 MB / 0.9356 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.5335, allocations: 0.6786 MB / 1.215 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001418/0.5349, allocations: 1.407 MB / 1.217 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006005/0.5355, allocations: 477.1 kB / 1.217 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006401/0.5362, allocations: 0.5038 MB / 1.218 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008542/0.537, allocations: 440.7 kB / 1.218 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.054e-05/0.5371, allocations: 43.12 kB / 1.218 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003112/0.5403, allocations: 2.753 MB / 1.221 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of combineBinaries: time 0.0006161/0.5409, allocations: 0.9441 MB / 1.222 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of replaceArrayConstructors: time 0.0003298/0.5412, allocations: 0.6094 MB / 1.222 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.5413, allocations: 100.9 kB / 1.222 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of FrontEnd: time 0.000113/0.5415, allocations: 18.66 kB / 1.222 GB, free: 10.46 MB / 0.9356 GB Error: Internal error NBEquation.WhenEquationBody.collectForSplit failed because lhs of statement is not a cref: (pInSig.r_raw, pInSig.state) := Modelica.Math.Random.Generators.Xorshift128plus.random(pre(pInSig.state))