Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.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.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") [: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.398/2.398, allocations: 284.9 MB / 292.2 MB, free: 10.76 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.00169/0.00169, allocations: 181.2 kB / 360.4 MB, free: 7.52 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.711/1.711, 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.00131/0.001309, allocations: 93.05 kB / 0.7318 GB, free: 45.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.235e-05/1.25e-05, allocations: 4 kB / 0.8502 GB, free: 3.883 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6445/0.6445, allocations: 115.2 MB / 0.9628 GB, free: 78.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9888/1.633, allocations: 422.8 MB / 1.376 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003052/1.634, allocations: 88.72 kB / 1.376 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.977/6.61, allocations: 1.042 GB / 2.418 GB, free: 103.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005223/6.611, allocations: 77.94 kB / 2.418 GB, free: 103.5 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: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.01103/6.622, allocations: 3.204 MB / 2.421 GB, free: 102.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/6.622, allocations: 10.66 kB / 2.421 GB, free: 102.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01756/6.64, allocations: 1.3 MB / 2.422 GB, free: 102 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01137/6.651, allocations: 3.341 MB / 2.426 GB, free: 101.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002719/6.651, allocations: 169.7 kB / 2.426 GB, free: 101.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007666/6.652, allocations: 136.9 kB / 2.426 GB, free: 101.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007372/6.66, allocations: 1.97 MB / 2.428 GB, free: 101.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009458/6.669, allocations: 2.464 MB / 2.43 GB, free: 100.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.944e-05/6.669, allocations: 14.88 kB / 2.43 GB, free: 100.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004831/6.67, allocations: 5.875 kB / 2.43 GB, free: 100.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-05/6.67, allocations: 69.58 kB / 2.43 GB, free: 100.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03729/6.707, allocations: 13.76 MB / 2.444 GB, free: 94.57 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002889/6.71, allocations: 1.062 MB / 2.445 GB, free: 94.35 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001749/6.712, allocations: 0.5949 MB / 2.445 GB, free: 94.34 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002404/6.714, allocations: 1.779 MB / 2.447 GB, free: 92.38 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002469/6.717, allocations: 0.9076 MB / 2.448 GB, free: 92.09 MB / 0.948 GB Notification: Performance of pre-optimization done (n=118): time 6.132e-06/6.717, allocations: 0 / 2.448 GB, free: 92.09 MB / 0.948 GB Notification: Performance of matching and sorting (n=118): time 0.01056/6.728, allocations: 1.684 MB / 2.45 GB, free: 91.89 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000318/6.728, allocations: 0.9329 MB / 2.451 GB, free: 90.77 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005836/6.734, allocations: 1.855 MB / 2.452 GB, free: 90.54 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005577/6.734, allocations: 36.72 kB / 2.452 GB, free: 90.51 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001575/6.736, allocations: 0.9817 MB / 2.453 GB, free: 89.95 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008867/6.737, allocations: 399.9 kB / 2.454 GB, free: 89.69 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003017/6.737, allocations: 0 / 2.454 GB, free: 89.69 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001773/6.737, allocations: 368.9 kB / 2.454 GB, free: 89.38 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002204/6.74, allocations: 0.6 MB / 2.455 GB, free: 89.38 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002995/6.743, allocations: 1.196 MB / 2.456 GB, free: 88.73 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004329/6.747, allocations: 0.8197 MB / 2.457 GB, free: 88.71 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.579e-05/6.747, allocations: 3.625 kB / 2.457 GB, free: 88.71 MB / 0.948 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.0121/6.759, allocations: 2.119 MB / 2.459 GB, free: 88.52 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001429/6.761, allocations: 4.901 MB / 2.464 GB, free: 83.28 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.536e-05/6.761, allocations: 14.16 kB / 2.464 GB, free: 83.28 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003257/6.764, allocations: 0.5306 MB / 2.464 GB, free: 83.26 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007984/6.772, allocations: 0.507 MB / 2.465 GB, free: 83.26 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005302/6.778, allocations: 1.807 MB / 2.466 GB, free: 82.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01289/6.79, allocations: 467.1 kB / 2.467 GB, free: 82.11 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008587/6.791, allocations: 104.9 kB / 2.467 GB, free: 82.11 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/6.791, allocations: 7.5 kB / 2.467 GB, free: 82.11 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01149/6.803, allocations: 1.837 MB / 2.469 GB, free: 82.07 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.292e-05/6.803, allocations: 13.97 kB / 2.469 GB, free: 82.07 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002783/6.806, allocations: 0.5267 MB / 2.469 GB, free: 82.05 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00753/6.813, allocations: 497.4 kB / 2.47 GB, free: 82.05 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005236/6.819, allocations: 1.798 MB / 2.471 GB, free: 80.99 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01092/6.83, allocations: 381.1 kB / 2.472 GB, free: 80.93 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000696/6.83, allocations: 104 kB / 2.472 GB, free: 80.93 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (170): * Single equations (assignments): 167 * 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 {2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0008541/6.831, allocations: 161 kB / 2.472 GB, free: 80.81 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001208/6.833, allocations: 247.3 kB / 2.472 GB, free: 80.69 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0111/6.844, allocations: 1.721 MB / 2.474 GB, free: 80.57 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-05/6.844, allocations: 15.53 kB / 2.474 GB, free: 80.57 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/6.844, allocations: 3.25 kB / 2.474 GB, free: 80.57 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008926/6.853, allocations: 1.52 MB / 2.476 GB, free: 80.28 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02078/6.874, allocations: 6.13 MB / 2.481 GB, free: 78.33 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.929e-05/6.874, allocations: 7.812 kB / 2.481 GB, free: 78.33 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004592/6.878, allocations: 301.7 kB / 2.482 GB, free: 78.32 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002108/6.88, allocations: 0.5178 MB / 2.482 GB, free: 78.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000288/6.881, allocations: 35.22 kB / 2.482 GB, free: 78.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003467/6.884, allocations: 1.79 MB / 2.484 GB, free: 77.25 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-05/6.884, allocations: 14.12 kB / 2.484 GB, free: 77.25 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009852/6.894, allocations: 3.159 MB / 2.487 GB, free: 76.01 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00262/6.897, allocations: 0.6216 MB / 2.488 GB, free: 75.79 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00115/6.898, allocations: 13.34 kB / 2.488 GB, free: 75.79 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007017/6.905, allocations: 267 kB / 2.488 GB, free: 75.78 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004504/6.906, allocations: 100.3 kB / 2.488 GB, free: 75.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003194/6.906, allocations: 71.2 kB / 2.488 GB, free: 75.77 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.003818/6.91, allocations: 1.384 MB / 2.49 GB, free: 75.63 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.009856/6.92, allocations: 1.822 MB / 2.491 GB, free: 75.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * 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 (84): * Single equations (assignments): 78 * 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 17,2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.004297/6.924, allocations: 1.488 MB / 2.493 GB, free: 74.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00796/6.932, allocations: 2.524 MB / 2.495 GB, free: 74.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-05/6.932, allocations: 0.7188 kB / 2.495 GB, free: 74.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002637/6.935, allocations: 0.7415 MB / 2.496 GB, free: 74.79 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01039/6.945, allocations: 1.05 MB / 2.497 GB, free: 74.76 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01968/6.965, allocations: 4.077 MB / 2.501 GB, free: 73.66 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003477/6.968, allocations: 2.038 MB / 2.503 GB, free: 72.92 MB / 0.948 GB Notification: Performance of SimCode: time 1.522e-06/6.968, allocations: 2.094 kB / 2.503 GB, free: 72.92 MB / 0.948 GB Notification: Performance of Templates: time 0.2236/7.192, allocations: 74.49 MB / 2.576 GB, free: 66.77 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)