Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.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.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") [: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.268/2.268, 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.001646/0.001646, allocations: 185.2 kB / 360.4 MB, free: 7.527 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.776/1.776, allocations: 205.1 MB / 0.6188 GB, free: 12.45 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.001293/0.001285, allocations: 91.73 kB / 0.7318 GB, free: 45.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.514e-05/1.527e-05, allocations: 4 kB / 0.8502 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6098/0.6098, allocations: 115.2 MB / 0.9628 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9902/1.6, allocations: 423.4 MB / 1.376 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003067/1.6, allocations: 88.72 kB / 1.376 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.846/6.446, allocations: 1.043 GB / 2.419 GB, free: 103.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004729/6.447, allocations: 80.31 kB / 2.419 GB, free: 103.2 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.01205/6.459, allocations: 3.204 MB / 2.422 GB, free: 101.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/6.459, allocations: 7.812 kB / 2.422 GB, free: 101.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03808/6.497, allocations: 1.404 MB / 2.424 GB, free: 101.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03544/6.532, allocations: 3.333 MB / 2.427 GB, free: 101.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004292/6.533, allocations: 170.6 kB / 2.427 GB, free: 101.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001111/6.534, allocations: 136 kB / 2.427 GB, free: 101.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008263/6.542, allocations: 2.025 MB / 2.429 GB, free: 101 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007763/6.55, allocations: 2.514 MB / 2.432 GB, free: 100.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.319e-05/6.55, allocations: 6.406 kB / 2.432 GB, free: 100.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004809/6.551, allocations: 3.812 kB / 2.432 GB, free: 100.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.811e-05/6.551, allocations: 74.73 kB / 2.432 GB, free: 100.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0346/6.585, allocations: 14.12 MB / 2.446 GB, free: 93.95 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003026/6.589, allocations: 1.124 MB / 2.447 GB, free: 93.73 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001948/6.591, allocations: 0.6048 MB / 2.447 GB, free: 93.72 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002396/6.593, allocations: 1.774 MB / 2.449 GB, free: 91.75 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002537/6.596, allocations: 0.935 MB / 2.45 GB, free: 91.46 MB / 0.948 GB Notification: Performance of pre-optimization done (n=118): time 6.041e-06/6.596, allocations: 3.094 kB / 2.45 GB, free: 91.46 MB / 0.948 GB Notification: Performance of matching and sorting (n=122): time 0.03376/6.629, allocations: 10.08 MB / 2.46 GB, free: 85.46 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003091/6.63, allocations: 0.9381 MB / 2.461 GB, free: 84.33 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005159/6.635, allocations: 1.839 MB / 2.463 GB, free: 84.11 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006153/6.636, allocations: 36.02 kB / 2.463 GB, free: 84.08 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001487/6.637, allocations: 0.9863 MB / 2.464 GB, free: 83.52 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009067/6.638, allocations: 406 kB / 2.464 GB, free: 83.26 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002833/6.638, allocations: 0 / 2.464 GB, free: 83.26 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001478/6.639, allocations: 365.2 kB / 2.464 GB, free: 82.96 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002069/6.641, allocations: 0.6079 MB / 2.465 GB, free: 82.95 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002756/6.643, allocations: 1.227 MB / 2.466 GB, free: 82.27 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003975/6.647, allocations: 0.817 MB / 2.467 GB, free: 82.25 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.71e-05/6.647, allocations: 3.062 kB / 2.467 GB, free: 82.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01108/6.659, allocations: 2.252 MB / 2.469 GB, free: 82.05 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001442/6.66, allocations: 5.088 MB / 2.474 GB, free: 76.62 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.096e-05/6.66, allocations: 15.47 kB / 2.474 GB, free: 76.62 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005442/6.666, allocations: 0.8979 MB / 2.475 GB, free: 76.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007755/6.673, allocations: 462.9 kB / 2.475 GB, free: 76.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008778/6.682, allocations: 2.377 MB / 2.478 GB, free: 75.52 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01222/6.695, allocations: 397.7 kB / 2.478 GB, free: 75.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008693/6.696, allocations: 103.7 kB / 2.478 GB, free: 75.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/6.696, allocations: 7.469 kB / 2.478 GB, free: 75.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01244/6.708, allocations: 1.959 MB / 2.48 GB, free: 75.45 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-05/6.708, allocations: 13.69 kB / 2.48 GB, free: 75.45 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005632/6.714, allocations: 0.8947 MB / 2.481 GB, free: 75.42 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007558/6.721, allocations: 453.3 kB / 2.481 GB, free: 75.42 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008407/6.73, allocations: 2.368 MB / 2.484 GB, free: 74.35 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01218/6.742, allocations: 333.1 kB / 2.484 GB, free: 74.33 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009471/6.743, allocations: 106.6 kB / 2.484 GB, free: 74.33 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 24,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.001326/6.745, allocations: 155.4 kB / 2.484 GB, free: 74.22 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001563/6.746, allocations: 244.8 kB / 2.485 GB, free: 74.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01702/6.763, allocations: 1.755 MB / 2.486 GB, free: 73.99 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.863e-05/6.763, allocations: 17.56 kB / 2.486 GB, free: 73.99 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.26e-05/6.763, allocations: 3.969 kB / 2.486 GB, free: 73.99 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01431/6.778, allocations: 1.556 MB / 2.488 GB, free: 73.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02341/6.801, allocations: 6.133 MB / 2.494 GB, free: 71.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.459e-05/6.801, allocations: 6.812 kB / 2.494 GB, free: 71.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004304/6.806, allocations: 284 kB / 2.494 GB, free: 71.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00413/6.81, allocations: 0.7747 MB / 2.495 GB, free: 71.77 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004636/6.81, allocations: 38.05 kB / 2.495 GB, free: 71.77 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0067/6.817, allocations: 2.102 MB / 2.497 GB, free: 70.71 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-05/6.817, allocations: 14.59 kB / 2.497 GB, free: 70.71 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01844/6.836, allocations: 3.268 MB / 2.5 GB, free: 69.54 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003298/6.839, allocations: 0.6174 MB / 2.501 GB, free: 69.32 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001548/6.841, allocations: 18.62 kB / 2.501 GB, free: 69.32 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009834/6.85, allocations: 274.5 kB / 2.501 GB, free: 69.31 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005428/6.851, allocations: 106.7 kB / 2.501 GB, free: 69.31 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000462/6.852, allocations: 72.34 kB / 2.501 GB, free: 69.31 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.004991/6.857, allocations: 1.376 MB / 2.503 GB, free: 69.16 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01245/6.869, allocations: 1.571 MB / 2.504 GB, free: 69.04 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum1.port_b1.h_outflow,heaPum1.port_b2.h_outflow) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.005465/6.875, allocations: 1.507 MB / 2.506 GB, free: 68.64 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.011/6.886, allocations: 2.643 MB / 2.508 GB, free: 68.52 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.62e-05/6.886, allocations: 7.969 kB / 2.508 GB, free: 68.52 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002892/6.889, allocations: 0.7701 MB / 2.509 GB, free: 68.51 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0102/6.899, allocations: 1.056 MB / 2.51 GB, free: 68.48 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01665/6.916, allocations: 3.752 MB / 2.514 GB, free: 67.42 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004025/6.92, allocations: 2.039 MB / 2.516 GB, free: 66.68 MB / 0.948 GB Notification: Performance of SimCode: time 2.024e-06/6.92, allocations: 0 / 2.516 GB, free: 66.68 MB / 0.948 GB Notification: Performance of Templates: time 0.2353/7.155, allocations: 77.44 MB / 2.591 GB, free: 58.21 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)