Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") translateModel(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.593/2.593, allocations: 284.9 MB / 292.2 MB, free: 10.74 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001632/0.001631, allocations: 177.4 kB / 360.4 MB, free: 7.488 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.801/1.801, allocations: 205.1 MB / 0.6188 GB, free: 12.41 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001666/0.001666, allocations: 91.08 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.189e-05/1.205e-05, allocations: 0 / 0.8502 GB, free: 3.852 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7183/0.7183, allocations: 115.2 MB / 0.9628 GB, free: 78.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.659/6.377, allocations: 2.411 GB / 3.374 GB, free: 64.91 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003434/6.377, allocations: 94.05 kB / 3.374 GB, free: 64.87 MB / 0.948 GB Notification: Performance of FrontEnd: time 11.75/18.13, allocations: 2.328 GB / 5.702 GB, free: 86.98 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.001416/18.13, allocations: 177.8 kB / 5.702 GB, free: 86.95 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1169 * Number of variables: 1169 Notification: Performance of Generate backend data structure: time 0.02658/18.15, allocations: 6.212 MB / 5.708 GB, free: 84.4 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/18.15, allocations: 11.53 kB / 5.708 GB, free: 84.4 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02205/18.18, allocations: 1.863 MB / 5.71 GB, free: 84.01 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03491/18.21, allocations: 7.701 MB / 5.718 GB, free: 83.02 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005433/18.21, allocations: 232.1 kB / 5.718 GB, free: 82.98 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002425/18.21, allocations: 279.1 kB / 5.718 GB, free: 82.98 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01838/18.23, allocations: 4.845 MB / 5.723 GB, free: 82.95 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02186/18.25, allocations: 5.024 MB / 5.728 GB, free: 82.28 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002467/18.25, allocations: 12.22 kB / 5.728 GB, free: 82.27 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001846/18.26, allocations: 6.969 kB / 5.728 GB, free: 82.27 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001986/18.26, allocations: 183.7 kB / 5.728 GB, free: 82.26 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07141/18.33, allocations: 23.93 MB / 5.751 GB, free: 72.8 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01082/18.34, allocations: 3.523 MB / 5.755 GB, free: 72.75 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005703/18.34, allocations: 1.833 MB / 5.756 GB, free: 72.73 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02885/18.37, allocations: 8.407 MB / 5.765 GB, free: 69.41 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006434/18.38, allocations: 2.04 MB / 5.767 GB, free: 69.29 MB / 1.026 GB Notification: Performance of pre-optimization done (n=322): time 9.578e-06/18.38, allocations: 3.828 kB / 5.767 GB, free: 69.29 MB / 1.026 GB Notification: Performance of matching and sorting (n=326): time 0.06206/18.44, allocations: 9.807 MB / 5.776 GB, free: 67.57 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001522/18.44, allocations: 370.8 kB / 5.777 GB, free: 67.16 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01168/18.45, allocations: 3.884 MB / 5.78 GB, free: 66.82 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0014/18.46, allocations: 42.11 kB / 5.78 GB, free: 66.79 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.003436/18.46, allocations: 1.751 MB / 5.782 GB, free: 65.89 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.002764/18.46, allocations: 1.054 MB / 5.783 GB, free: 65.2 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005478/18.46, allocations: 0 / 5.783 GB, free: 65.2 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0003575/18.46, allocations: 454.9 kB / 5.784 GB, free: 64.89 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004885/18.47, allocations: 1.547 MB / 5.785 GB, free: 64.88 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006897/18.47, allocations: 2.585 MB / 5.788 GB, free: 63.73 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01097/18.49, allocations: 2.171 MB / 5.79 GB, free: 63.68 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.939e-05/18.49, allocations: 4.938 kB / 5.79 GB, free: 63.68 MB / 1.026 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.02761/18.51, allocations: 5.321 MB / 5.795 GB, free: 63.25 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.002715/18.52, allocations: 11.31 MB / 5.806 GB, free: 51.28 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001343/18.52, allocations: 22.53 kB / 5.806 GB, free: 51.28 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00498/18.52, allocations: 0.8424 MB / 5.807 GB, free: 51.23 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00901/18.53, allocations: 0.8932 MB / 5.808 GB, free: 51.23 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01064/18.54, allocations: 6.215 MB / 5.814 GB, free: 46.64 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01147/18.55, allocations: 406.1 kB / 5.814 GB, free: 46.61 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001629/18.55, allocations: 216.5 kB / 5.814 GB, free: 46.6 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/18.55, allocations: 3.688 kB / 5.814 GB, free: 46.6 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02304/18.58, allocations: 4.586 MB / 5.819 GB, free: 46.46 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001121/18.58, allocations: 27 kB / 5.819 GB, free: 46.46 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004688/18.58, allocations: 0.8555 MB / 5.82 GB, free: 46.41 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00858/18.59, allocations: 0.8733 MB / 5.821 GB, free: 46.41 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/18.6, allocations: 6.219 MB / 5.827 GB, free: 41.83 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01051/18.61, allocations: 381.3 kB / 5.827 GB, free: 41.8 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001317/18.61, allocations: 194.8 kB / 5.827 GB, free: 41.8 MB / 1.026 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumHeaPum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumHeaPumSou.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition1,$PRE.timTab.nextTimeEvent,$whenCondition3,$whenCondition2,timTab.nextTimeEvent,$PRE.timTab.nextTimeEventScaled,timTab.nextTimeEventScaled,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum.temPro.hysHig.y,heaPum.temPro.hysHig.y,$PRE.heaPum.temPro.hysLow.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,$PRE.heaPum.temPro.hysdTConEva.y,heaPum.temPro.hysdTConEva.y,$PRE.hysteresis.y,hysteresis.y,and1.y,and2.y,$PRE.tesConHea.y,tesConHea.y,$PRE.tesEvaPum.y,tesEvaPum.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (437): * Single equations (assignments): 429 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 5 {2 19,1 4,1 4,5 6,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001651/18.61, allocations: 221.4 kB / 5.827 GB, free: 41.67 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002189/18.62, allocations: 0.5215 MB / 5.828 GB, free: 41.4 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03571/18.65, allocations: 5.851 MB / 5.834 GB, free: 41.1 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001234/18.65, allocations: 38.61 kB / 5.834 GB, free: 41.1 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.077e-05/18.65, allocations: 5.25 kB / 5.834 GB, free: 41.1 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03044/18.68, allocations: 4.503 MB / 5.838 GB, free: 40.77 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04192/18.73, allocations: 9.918 MB / 5.848 GB, free: 40.07 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.826e-05/18.73, allocations: 4.469 kB / 5.848 GB, free: 40.07 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007501/18.73, allocations: 0.6405 MB / 5.848 GB, free: 40.07 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004991/18.74, allocations: 0.8879 MB / 5.849 GB, free: 39.98 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001153/18.74, allocations: 75.02 kB / 5.849 GB, free: 39.98 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01485/18.75, allocations: 12.23 MB / 5.861 GB, free: 29.96 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/18.75, allocations: 6.781 kB / 5.861 GB, free: 29.96 MB / 1.026 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02928/18.78, allocations: 7.2 MB / 5.868 GB, free: 28.97 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005366/18.79, allocations: 1.168 MB / 5.869 GB, free: 28.59 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002486/18.79, allocations: 23.62 kB / 5.87 GB, free: 28.59 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01022/18.8, allocations: 363.8 kB / 5.87 GB, free: 28.58 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001156/18.8, allocations: 246.7 kB / 5.87 GB, free: 28.57 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007072/18.8, allocations: 170.4 kB / 5.87 GB, free: 28.57 MB / 1.026 GB Notification: Performance of sort global known variables: time 0.008366/18.81, allocations: 2.914 MB / 5.873 GB, free: 28.39 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0208/18.83, allocations: 2.917 MB / 5.876 GB, free: 28.21 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 12 (vol.hOut_internal,vol.dynBal.medium.Xi[1],vol.dynBal.m,rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,temSup.T,temRet.T,heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 17 ($whenCondition3,$whenCondition2,$whenCondition1,timTab.nextTimeEvent,timTab.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext,heaPum.com.isOn,heaPum.temPro.hysHig.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,heaPum.temPro.hysdTConEva.y,hysteresis.y,and1.y,and2.y,tesConHea.y,tesEvaPum.y) * Number of discrete states: 11 (timTab.nextTimeEvent,weaDat.conTim.tNext,weaDat.conTimMin.tNext,heaPum.temPro.hysLow.y,hysteresis.y,heaPum.temPro.hysdTConEva.y,heaPum.temPro.hysHig.y,tesConHea.y,tesEvaPum.y,heaPum.com.isOn,timTab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (322): * Single equations (assignments): 297 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 4 {2 19,1 4,1 4,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01084/18.84, allocations: 3.821 MB / 5.88 GB, free: 27.08 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.02254/18.87, allocations: 6.877 MB / 5.886 GB, free: 26.56 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.631e-05/18.87, allocations: 4.5 kB / 5.886 GB, free: 26.56 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.007821/18.87, allocations: 2.755 MB / 5.889 GB, free: 25.85 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02146/18.9, allocations: 2.337 MB / 5.891 GB, free: 25.79 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03934/18.94, allocations: 9.6 MB / 5.901 GB, free: 23.83 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01131/18.95, allocations: 4.163 MB / 5.905 GB, free: 23.02 MB / 1.026 GB Notification: Performance of SimCode: time 1.442e-06/18.95, allocations: 0 / 5.905 GB, free: 23.02 MB / 1.026 GB Notification: Performance of Templates: time 0.3943/19.34, allocations: 149.4 MB / 6.051 GB, free: 1.656 MB / 1.057 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe 2>&1)