Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStage.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.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulSpeDX.eva.vol.T|mulSpeDX.sta_a1.T|mulSpeDX.sta_a2.T|mulSpeDX.sta_b2.T|mulSpeDX.sta_a1.X.1.|mulSpeDX.eva.vol.X_w|mulSpeDX.eva.dxCoi.mWat_flow|mulSpeDX.stage|mulSpeDX.P|mulSpeDX.eva.dxCoi.Q_flow|mulSpeDX.watCooCon.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStage") translateModel(Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulSpeDX.eva.vol.T|mulSpeDX.sta_a1.T|mulSpeDX.sta_a2.T|mulSpeDX.sta_b2.T|mulSpeDX.sta_a1.X.1.|mulSpeDX.eva.vol.X_w|mulSpeDX.eva.dxCoi.mWat_flow|mulSpeDX.stage|mulSpeDX.P|mulSpeDX.eva.dxCoi.Q_flow|mulSpeDX.watCooCon.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 103.6 kB / 16.42 MB, free: 6.453 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.001076/0.001076, allocations: 192.3 kB / 17.36 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.168/1.168, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.226/2.226, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.819e-05/1.82e-05, allocations: 2.281 kB / 1.055 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.MultiStage): time 0.6756/0.6756, allocations: 306.1 MB / 1.354 GB, free: 4.367 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.03132/0.7069, allocations: 29.04 MB / 1.382 GB, free: 7.242 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003243/0.7102, allocations: 83.56 kB / 1.382 GB, free: 7.16 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.003814/0.714, allocations: 1.864 MB / 1.384 GB, free: 5.285 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.007732/0.7218, allocations: 3.707 MB / 1.387 GB, free: 1.562 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.008026/0.7298, allocations: 4.281 MB / 1.392 GB, free: 13.34 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.009833/0.7397, allocations: 10.1 MB / 1.401 GB, free: 3.215 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003219/0.7429, allocations: 2.944 MB / 1.404 GB, free: 220 kB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006109/0.749, allocations: 4.144 MB / 1.408 GB, free: 12.08 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004179/0.7532, allocations: 3.528 MB / 1.412 GB, free: 8.547 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0005639/0.7538, allocations: 480 kB / 1.412 GB, free: 8.078 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008081/0.7619, allocations: 4.808 MB / 1.417 GB, free: 3.262 MB / 1.123 GB Notification: Performance of combineBinaries: time 0.00837/0.7703, allocations: 7.732 MB / 1.425 GB, free: 11.46 MB / 1.139 GB Notification: Performance of replaceArrayConstructors: time 0.004066/0.7744, allocations: 4.717 MB / 1.429 GB, free: 6.695 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0009629/0.7754, allocations: 0.5573 MB / 1.43 GB, free: 6.137 MB / 1.139 GB Notification: Performance of FrontEnd: time 0.0006974/0.7761, allocations: 111.2 kB / 1.43 GB, free: 6.027 MB / 1.139 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFBackendExtension.mo:1178:11-1178:133:writable] Error: Internal error NFBackendExtension.VariableAttributes.createRecord got unknown record child: mCon_flow_nominal Error: Internal error NBackendDAE.lowerVariable failed for redeclare parameter Buildings.Fluid.DXSystems.Cooling.WaterSource.Data.Generic.BaseClasses.Stage[4] datCoi.sta = {Buildings.Fluid.DXSystems.Cooling.WaterSource.Data.Generic.BaseClasses.Stage(15.0, Buildings.Fluid.DXSystems.Cooling.WaterSource.Data.Generic.BaseClasses.NominalValues(-12000.0, 3.0, 0.8, 0.9, 299.82, 302.54999999999995, 0.5, 101325.0, 1400.0, 1.5, 0.57143), Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.PerformanceCurves.Curve_I({1.43085, -0.0453653, 0.00199378, -0.00805944, 3.93414e-5, -1.81187e-4}, {1.0, 0.0, 0.0, 0.0}, {0.138848, 0.0457985, -0.00138661, 0.0141485, 3.86055e-4, -4.38194e-4}, {1.0, 0.0, 0.0}, 280.34999999999997, 322.04999999999995, 283.15, 298.75, 0.0, 1.0, {1.0, 0.0, 0.0}, {1.0, 0.0, 0.0}, 0.0, 1.0)), Buildings.Fluid.DXSystems.Cooling.WaterSource.Data.Generic.BaseClasses.Stage(20.0, Buildings.Fluid.DXSystems.Cooling.WaterSource.Data.Generic.BaseClasses.NominalValues(-18000.0, 3.0, 0.8, 1.2, 299.82, 302.54999999999995, 0.5, 101325.0, 1400.0, 1.5, 0.85714), Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.PerformanceCurves.Curve_I({1.43085, -0.0453653, 0.00199378, -0.00805944, 3.93414e-5, -1.81187e-4}, {1.0, 0.0, 0.0, 0.0}, {0.138848, 0.0457985, -0.00138661, 0.0141485, 3.86055e-4, -4.38194e-4}, {1.0, 0.0, 0.0}, 280.34999999999997, 322.04999999999995, 283.15, 298.75, 0.0, 1.0, {1.0, 0.0, 0.0}, {1.0, 0.0, 0.0}, 0.0, 1.0)), Buildings.Fluid.DXSystems.Cooling.WaterSource.Data.Generic.BaseClasses.Stage(30.0, Buildings.Fluid.DXSystems.Cooling.WaterSource.Data.Generic.BaseClasses.NominalValues(-21000.0, 3.0, 0.8, 1.5, 299.82, 302.54999999999995, 0.5, 101325.0, 1400.0, 1.5, 1.0), Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.PerformanceCurves.Curve_I({1.43085, -0.0453653, 0.00199378, -0.00805944, 3.93414e-5, -1.81187e-4}, {1.0, 0.0, 0.0, 0.0}, {0.138848, 0.0457985, -0.00138661, 0.0141485, 3.86055e-4, -4.38194e-4}, {1.0, 0.0, 0.0}, 280.34999999999997, 322.04999999999995, 283.15, 298.75, 0.0, 1.0, {1.0, 0.0, 0.0}, {1.0, 0.0, 0.0}, 0.0, 1.0)), Buildings.Fluid.DXSystems.Cooling.WaterSource.Data.Generic.BaseClasses.Stage(40.0, Buildings.Fluid.DXSystems.Cooling.WaterSource.Data.Generic.BaseClasses.NominalValues(-3e4, 3.0, 0.8, 1.8, 299.82, 302.54999999999995, 0.5, 101325.0, 1400.0, 1.5, 1.42857), Buildings.Fluid.DXSystems.Cooling.WaterSource.Examples.PerformanceCurves.Curve_I({1.43085, -0.0453653, 0.00199378, -0.00805944, 3.93414e-5, -1.81187e-4}, {1.0, 0.0, 0.0, 0.0}, {0.138848, 0.0457985, -0.00138661, 0.0141485, 3.86055e-4, -4.38194e-4}, {1.0, 0.0, 0.0}, 280.34999999999997, 322.04999999999995, 283.15, 298.75, 0.0, 1.0, {1.0, 0.0, 0.0}, {1.0, 0.0, 0.0}, 0.0, 1.0))}