Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_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.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_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.42/2.42, allocations: 284.9 MB / 292.2 MB, free: 10.77 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.001549/0.001548, allocations: 185.2 kB / 360.4 MB, free: 7.508 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.739/1.739, allocations: 205.1 MB / 0.6188 GB, free: 12.44 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.001244/0.001243, allocations: 91.77 kB / 0.7318 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.01e-05/2.027e-05, allocations: 4 kB / 0.8502 GB, free: 3.895 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6702/0.6702, allocations: 115.2 MB / 0.9628 GB, free: 78.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9844/1.655, allocations: 423.3 MB / 1.376 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003138/1.655, allocations: 88.39 kB / 1.376 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.834/6.489, allocations: 1.042 GB / 2.419 GB, free: 104 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005319/6.49, allocations: 78.94 kB / 2.419 GB, free: 104 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.01152/6.502, allocations: 3.209 MB / 2.422 GB, free: 102.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/6.502, allocations: 12.94 kB / 2.422 GB, free: 102.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02008/6.522, allocations: 1.41 MB / 2.423 GB, free: 102.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01229/6.534, allocations: 3.34 MB / 2.426 GB, free: 101.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003171/6.534, allocations: 172.8 kB / 2.427 GB, free: 101.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009506/6.535, allocations: 137.2 kB / 2.427 GB, free: 101.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01012/6.546, allocations: 2.031 MB / 2.429 GB, free: 101.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01202/6.558, allocations: 2.504 MB / 2.431 GB, free: 101.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001167/6.558, allocations: 10.59 kB / 2.431 GB, free: 101.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006787/6.558, allocations: 3.719 kB / 2.431 GB, free: 101.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001254/6.559, allocations: 72.98 kB / 2.431 GB, free: 101.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04706/6.606, allocations: 13.95 MB / 2.445 GB, free: 94.99 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003956/6.61, allocations: 1.128 MB / 2.446 GB, free: 94.77 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002387/6.612, allocations: 0.6413 MB / 2.447 GB, free: 94.75 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003048/6.615, allocations: 1.777 MB / 2.448 GB, free: 92.79 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003799/6.619, allocations: 0.941 MB / 2.449 GB, free: 92.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=122): time 1.331e-05/6.619, allocations: 0 / 2.449 GB, free: 92.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=122): time 0.01169/6.631, allocations: 1.686 MB / 2.451 GB, free: 92.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000346/6.631, allocations: 0.9358 MB / 2.452 GB, free: 91.18 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005707/6.637, allocations: 1.856 MB / 2.454 GB, free: 90.95 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005935/6.638, allocations: 32.02 kB / 2.454 GB, free: 90.92 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001494/6.639, allocations: 0.9803 MB / 2.455 GB, free: 90.37 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008911/6.64, allocations: 408.6 kB / 2.455 GB, free: 90.11 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002755/6.64, allocations: 0 / 2.455 GB, free: 90.11 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001492/6.641, allocations: 369.2 kB / 2.455 GB, free: 89.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002121/6.643, allocations: 0.6313 MB / 2.456 GB, free: 89.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002795/6.646, allocations: 1.228 MB / 2.457 GB, free: 89.14 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004136/6.65, allocations: 0.8324 MB / 2.458 GB, free: 89.12 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.171e-05/6.65, allocations: 3.812 kB / 2.458 GB, free: 89.12 MB / 0.948 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.02594/6.676, allocations: 2.806 MB / 2.461 GB, free: 88.92 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001137/6.677, allocations: 4.897 MB / 2.466 GB, free: 83.68 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-05/6.677, allocations: 10.5 kB / 2.466 GB, free: 83.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002973/6.68, allocations: 0.7137 MB / 2.466 GB, free: 83.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005709/6.686, allocations: 0.5016 MB / 2.467 GB, free: 83.66 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004175/6.69, allocations: 1.918 MB / 2.469 GB, free: 82.61 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01007/6.7, allocations: 492.4 kB / 2.469 GB, free: 82.52 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007555/6.701, allocations: 109.2 kB / 2.469 GB, free: 82.52 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/6.701, allocations: 2.625 kB / 2.469 GB, free: 82.52 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02491/6.726, allocations: 2.507 MB / 2.472 GB, free: 82.47 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.765e-05/6.726, allocations: 11.72 kB / 2.472 GB, free: 82.47 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002722/6.729, allocations: 0.7075 MB / 2.472 GB, free: 82.45 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005552/6.734, allocations: 494.5 kB / 2.473 GB, free: 82.45 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004162/6.739, allocations: 1.925 MB / 2.475 GB, free: 81.39 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008737/6.747, allocations: 393.2 kB / 2.475 GB, free: 81.32 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000734/6.748, allocations: 102.6 kB / 2.475 GB, free: 81.32 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 19,2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0008293/6.749, allocations: 169 kB / 2.475 GB, free: 81.21 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001061/6.75, allocations: 248.8 kB / 2.476 GB, free: 81.09 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02477/6.775, allocations: 2.319 MB / 2.478 GB, free: 80.98 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-05/6.775, allocations: 14.41 kB / 2.478 GB, free: 80.98 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/6.775, allocations: 6.562 kB / 2.478 GB, free: 80.98 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02247/6.797, allocations: 2.123 MB / 2.48 GB, free: 80.68 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03137/6.829, allocations: 6.739 MB / 2.486 GB, free: 78.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.638e-05/6.829, allocations: 6.594 kB / 2.486 GB, free: 78.73 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003795/6.833, allocations: 301.1 kB / 2.487 GB, free: 78.73 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002743/6.836, allocations: 0.6951 MB / 2.487 GB, free: 78.71 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003575/6.836, allocations: 33.77 kB / 2.487 GB, free: 78.71 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003903/6.84, allocations: 1.916 MB / 2.489 GB, free: 77.65 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.549e-05/6.84, allocations: 12.53 kB / 2.489 GB, free: 77.65 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009184/6.849, allocations: 3.268 MB / 2.493 GB, free: 76.41 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002405/6.852, allocations: 0.6294 MB / 2.493 GB, free: 76.19 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00106/6.853, allocations: 14.09 kB / 2.493 GB, free: 76.19 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007359/6.86, allocations: 282.8 kB / 2.493 GB, free: 76.18 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004242/6.861, allocations: 106.8 kB / 2.494 GB, free: 76.17 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003194/6.861, allocations: 77.53 kB / 2.494 GB, free: 76.17 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.003515/6.864, allocations: 1.389 MB / 2.495 GB, free: 76.03 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01009/6.875, allocations: 1.833 MB / 2.497 GB, free: 75.7 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 19,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.004376/6.879, allocations: 1.511 MB / 2.498 GB, free: 75.27 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008349/6.887, allocations: 2.598 MB / 2.501 GB, free: 75.16 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.968e-05/6.887, allocations: 3.594 kB / 2.501 GB, free: 75.16 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002646/6.89, allocations: 0.7764 MB / 2.502 GB, free: 75.16 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01009/6.9, allocations: 1.066 MB / 2.503 GB, free: 75.13 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01634/6.917, allocations: 3.903 MB / 2.506 GB, free: 74.03 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003531/6.92, allocations: 2.044 MB / 2.508 GB, free: 73.29 MB / 0.948 GB Notification: Performance of SimCode: time 1.543e-06/6.92, allocations: 2.156 kB / 2.508 GB, free: 73.29 MB / 0.948 GB Notification: Performance of Templates: time 0.2097/7.13, allocations: 76.86 MB / 2.583 GB, free: 64.52 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)