Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") translateModel(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.554/1.554, allocations: 285.5 MB / 292.8 MB, free: 10.49 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001619/0.001619, allocations: 189.3 kB / 361.1 MB, free: 7.105 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.731/1.731, allocations: 205.1 MB / 0.6195 GB, free: 10.34 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 90.3 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.108e-05/1.174e-05, allocations: 4 kB / 0.8511 GB, free: 3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.752/0.7521, allocations: 115.3 MB / 0.9637 GB, free: 78.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.836/5.588, allocations: 2.411 GB / 3.375 GB, free: 74.68 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/5.588, allocations: 93.27 kB / 3.375 GB, free: 74.59 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.901/15.49, allocations: 2.328 GB / 5.703 GB, free: 83.54 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.001663/15.49, allocations: 177.3 kB / 5.703 GB, free: 83.51 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.02697/15.52, allocations: 6.223 MB / 5.709 GB, free: 80.92 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/15.52, allocations: 9.5 kB / 5.709 GB, free: 80.92 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01558/15.53, allocations: 1.864 MB / 5.711 GB, free: 80.53 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03156/15.57, allocations: 7.695 MB / 5.719 GB, free: 79.54 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008076/15.57, allocations: 232.2 kB / 5.719 GB, free: 79.5 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003359/15.57, allocations: 284.4 kB / 5.719 GB, free: 79.5 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01798/15.59, allocations: 4.837 MB / 5.724 GB, free: 79.48 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02824/15.62, allocations: 5.022 MB / 5.729 GB, free: 78.8 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007138/15.62, allocations: 12.94 kB / 5.729 GB, free: 78.8 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003532/15.62, allocations: 8.656 kB / 5.729 GB, free: 78.8 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003252/15.62, allocations: 186.1 kB / 5.729 GB, free: 78.79 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0709/15.69, allocations: 23.93 MB / 5.752 GB, free: 69.32 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01049/15.7, allocations: 3.522 MB / 5.756 GB, free: 69.27 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005086/15.71, allocations: 1.834 MB / 5.758 GB, free: 69.25 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.027/15.73, allocations: 8.402 MB / 5.766 GB, free: 65.95 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005318/15.74, allocations: 2.048 MB / 5.768 GB, free: 65.82 MB / 1.026 GB Notification: Performance of pre-optimization done (n=322): time 1.621e-05/15.74, allocations: 0 / 5.768 GB, free: 65.82 MB / 1.026 GB Notification: Performance of matching and sorting (n=326): time 0.04566/15.79, allocations: 9.818 MB / 5.777 GB, free: 64.09 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000195/15.79, allocations: 374.9 kB / 5.778 GB, free: 63.68 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01333/15.8, allocations: 3.878 MB / 5.781 GB, free: 63.34 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.001732/15.8, allocations: 43.56 kB / 5.781 GB, free: 63.31 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.003734/15.8, allocations: 1.742 MB / 5.783 GB, free: 62.42 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.003384/15.81, allocations: 1.052 MB / 5.784 GB, free: 61.72 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001518/15.81, allocations: 1.594 kB / 5.784 GB, free: 61.72 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0006494/15.81, allocations: 459.9 kB / 5.785 GB, free: 61.41 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005186/15.82, allocations: 1.549 MB / 5.786 GB, free: 61.41 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007072/15.82, allocations: 2.589 MB / 5.789 GB, free: 60.25 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007949/15.83, allocations: 2.163 MB / 5.791 GB, free: 60.2 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.185e-05/15.83, allocations: 9.562 kB / 5.791 GB, free: 60.2 MB / 1.026 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.02166/15.85, allocations: 5.319 MB / 5.796 GB, free: 59.77 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.004113/15.86, allocations: 11.31 MB / 5.807 GB, free: 47.8 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001516/15.86, allocations: 25.19 kB / 5.807 GB, free: 47.8 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003357/15.86, allocations: 0.8352 MB / 5.808 GB, free: 47.76 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006057/15.87, allocations: 0.8943 MB / 5.809 GB, free: 47.76 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008078/15.87, allocations: 6.228 MB / 5.815 GB, free: 43.16 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008674/15.88, allocations: 407.1 kB / 5.815 GB, free: 43.12 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001716/15.88, allocations: 209 kB / 5.815 GB, free: 43.12 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/15.88, allocations: 5.344 kB / 5.815 GB, free: 43.12 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01817/15.9, allocations: 4.588 MB / 5.82 GB, free: 42.98 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000129/15.9, allocations: 35.36 kB / 5.82 GB, free: 42.98 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002863/15.91, allocations: 0.8349 MB / 5.821 GB, free: 42.93 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005359/15.91, allocations: 0.8726 MB / 5.822 GB, free: 42.93 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007812/15.92, allocations: 6.223 MB / 5.828 GB, free: 38.35 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008657/15.93, allocations: 385 kB / 5.828 GB, free: 38.32 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001672/15.93, allocations: 198.1 kB / 5.828 GB, free: 38.32 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.003009/15.93, allocations: 225.5 kB / 5.828 GB, free: 38.2 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003168/15.94, allocations: 0.5179 MB / 5.829 GB, free: 37.92 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0268/15.96, allocations: 5.845 MB / 5.835 GB, free: 37.62 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000129/15.96, allocations: 40.59 kB / 5.835 GB, free: 37.62 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.917e-05/15.96, allocations: 3.719 kB / 5.835 GB, free: 37.62 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02142/15.98, allocations: 4.515 MB / 5.839 GB, free: 37.29 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04208/16.03, allocations: 9.899 MB / 5.849 GB, free: 36.59 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.61e-05/16.03, allocations: 3.469 kB / 5.849 GB, free: 36.59 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004259/16.03, allocations: 0.6488 MB / 5.849 GB, free: 36.59 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002951/16.03, allocations: 0.8884 MB / 5.85 GB, free: 36.51 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009009/16.03, allocations: 72.59 kB / 5.85 GB, free: 36.51 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01046/16.05, allocations: 12.23 MB / 5.862 GB, free: 26.48 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.455e-06/16.05, allocations: 3.625 kB / 5.862 GB, free: 26.48 MB / 1.026 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0214/16.07, allocations: 7.207 MB / 5.869 GB, free: 25.49 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005938/16.07, allocations: 1.165 MB / 5.871 GB, free: 25.11 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003162/16.08, allocations: 23.19 kB / 5.871 GB, free: 25.11 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007653/16.08, allocations: 363.5 kB / 5.871 GB, free: 25.1 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001006/16.08, allocations: 248.7 kB / 5.871 GB, free: 25.09 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00109/16.09, allocations: 169.1 kB / 5.871 GB, free: 25.09 MB / 1.026 GB Notification: Performance of sort global known variables: time 0.009598/16.1, allocations: 2.915 MB / 5.874 GB, free: 24.91 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.02252/16.12, allocations: 2.916 MB / 5.877 GB, free: 24.73 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.01188/16.13, allocations: 3.831 MB / 5.881 GB, free: 23.52 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.01867/16.15, allocations: 6.879 MB / 5.887 GB, free: 23 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-05/16.15, allocations: 4.219 kB / 5.887 GB, free: 23 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.00598/16.15, allocations: 2.755 MB / 5.89 GB, free: 22.29 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01747/16.17, allocations: 2.331 MB / 5.892 GB, free: 22.2 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03818/16.21, allocations: 9.596 MB / 5.902 GB, free: 20.25 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008017/16.22, allocations: 4.159 MB / 5.906 GB, free: 19.43 MB / 1.026 GB Notification: Performance of SimCode: time 1.673e-06/16.22, allocations: 4.625 kB / 5.906 GB, free: 19.43 MB / 1.026 GB Notification: Performance of Templates: time 0.2898/16.51, allocations: 149.4 MB / 6.052 GB, free: 7.77 MB / 1.073 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe 2>&1)