Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.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.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.515/1.515, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.001346/0.001346, allocations: 185.3 kB / 361.1 MB, free: 7.09 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.642/1.642, allocations: 205.1 MB / 0.6195 GB, free: 10.28 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.000935/0.0009352, allocations: 95.14 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.488e-06/9.498e-06, allocations: 4 kB / 0.8511 GB, free: 2.973 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.727/0.727, allocations: 115.3 MB / 0.9637 GB, free: 78.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9/1.627, allocations: 423.6 MB / 1.377 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/1.627, allocations: 94.48 kB / 1.377 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.336/4.963, allocations: 1.043 GB / 2.42 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0006507/4.964, allocations: 84.08 kB / 2.42 GB, free: 107.4 MB / 0.9636 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.01304/4.977, allocations: 3.203 MB / 2.423 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.88e-05/4.977, allocations: 14 kB / 2.424 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01272/4.99, allocations: 1.399 MB / 2.425 GB, free: 106 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01082/5.001, allocations: 3.33 MB / 2.428 GB, free: 105.6 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003651/5.001, allocations: 173.6 kB / 2.428 GB, free: 105.5 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001052/5.002, allocations: 135.8 kB / 2.428 GB, free: 105.5 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005738/5.008, allocations: 2.022 MB / 2.43 GB, free: 105.5 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004815/5.013, allocations: 2.515 MB / 2.433 GB, free: 105 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.118e-05/5.013, allocations: 8.875 kB / 2.433 GB, free: 105 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002694/5.013, allocations: 3.969 kB / 2.433 GB, free: 105 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.475e-05/5.013, allocations: 72.33 kB / 2.433 GB, free: 105 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02596/5.039, allocations: 14.12 MB / 2.447 GB, free: 98.36 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002614/5.042, allocations: 1.12 MB / 2.448 GB, free: 98.14 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001254/5.043, allocations: 0.6166 MB / 2.448 GB, free: 98.13 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002201/5.045, allocations: 1.773 MB / 2.45 GB, free: 96.16 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001643/5.047, allocations: 0.9319 MB / 2.451 GB, free: 95.87 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=118): time 4.198e-06/5.047, allocations: 0 / 2.451 GB, free: 95.87 MB / 0.9636 GB Notification: Performance of matching and sorting (n=122): time 0.0215/5.069, allocations: 10.08 MB / 2.461 GB, free: 89.87 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002178/5.069, allocations: 0.9379 MB / 2.462 GB, free: 88.74 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003331/5.072, allocations: 1.836 MB / 2.464 GB, free: 88.52 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0004062/5.073, allocations: 39.52 kB / 2.464 GB, free: 88.49 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009143/5.074, allocations: 0.985 MB / 2.465 GB, free: 87.93 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004851/5.074, allocations: 401.2 kB / 2.465 GB, free: 87.67 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/5.074, allocations: 0 / 2.465 GB, free: 87.67 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.514e-05/5.074, allocations: 374.6 kB / 2.465 GB, free: 87.36 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/5.075, allocations: 0.6052 MB / 2.466 GB, free: 87.36 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001414/5.077, allocations: 1.232 MB / 2.467 GB, free: 86.68 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002421/5.079, allocations: 0.8193 MB / 2.468 GB, free: 86.66 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/5.079, allocations: 7.031 kB / 2.468 GB, free: 86.66 MB / 0.9636 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.005583/5.085, allocations: 2.242 MB / 2.47 GB, free: 86.46 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009752/5.086, allocations: 5.091 MB / 2.475 GB, free: 81.03 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/5.086, allocations: 18 kB / 2.475 GB, free: 81.03 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002067/5.088, allocations: 0.8907 MB / 2.476 GB, free: 81 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002834/5.091, allocations: 463 kB / 2.476 GB, free: 81 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003537/5.094, allocations: 2.372 MB / 2.479 GB, free: 79.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00621/5.101, allocations: 395.9 kB / 2.479 GB, free: 79.91 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003868/5.101, allocations: 113.8 kB / 2.479 GB, free: 79.91 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/5.101, allocations: 5.5 kB / 2.479 GB, free: 79.91 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005065/5.106, allocations: 1.957 MB / 2.481 GB, free: 79.87 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/5.106, allocations: 14.22 kB / 2.481 GB, free: 79.87 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002118/5.108, allocations: 0.8942 MB / 2.482 GB, free: 79.84 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002713/5.111, allocations: 444.1 kB / 2.482 GB, free: 79.84 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003558/5.115, allocations: 2.372 MB / 2.485 GB, free: 78.77 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005358/5.12, allocations: 332.9 kB / 2.485 GB, free: 78.75 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003803/5.12, allocations: 107.7 kB / 2.485 GB, free: 78.75 MB / 0.9636 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.0006984/5.121, allocations: 163.4 kB / 2.485 GB, free: 78.64 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007682/5.122, allocations: 242.6 kB / 2.486 GB, free: 78.52 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006657/5.129, allocations: 1.752 MB / 2.487 GB, free: 78.41 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-05/5.129, allocations: 18.03 kB / 2.487 GB, free: 78.41 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/5.129, allocations: 7.062 kB / 2.487 GB, free: 78.41 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005043/5.134, allocations: 1.552 MB / 2.489 GB, free: 78.12 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01351/5.147, allocations: 6.148 MB / 2.495 GB, free: 76.21 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/5.147, allocations: 6.125 kB / 2.495 GB, free: 76.21 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002073/5.149, allocations: 278.2 kB / 2.495 GB, free: 76.21 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001841/5.151, allocations: 0.7759 MB / 2.496 GB, free: 76.19 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001711/5.151, allocations: 39.44 kB / 2.496 GB, free: 76.19 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003142/5.155, allocations: 2.106 MB / 2.498 GB, free: 75.12 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.024e-05/5.155, allocations: 8.281 kB / 2.498 GB, free: 75.12 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008685/5.163, allocations: 3.273 MB / 2.501 GB, free: 73.95 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00245/5.166, allocations: 0.6055 MB / 2.502 GB, free: 73.74 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00092/5.167, allocations: 26.19 kB / 2.502 GB, free: 73.74 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004469/5.171, allocations: 275.2 kB / 2.502 GB, free: 73.73 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002187/5.171, allocations: 100.6 kB / 2.502 GB, free: 73.73 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002195/5.172, allocations: 74.45 kB / 2.502 GB, free: 73.73 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.00276/5.174, allocations: 1.374 MB / 2.504 GB, free: 73.58 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.008482/5.183, allocations: 1.572 MB / 2.505 GB, free: 73.46 MB / 0.9636 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.003654/5.187, allocations: 1.508 MB / 2.507 GB, free: 73.06 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.005898/5.193, allocations: 2.636 MB / 2.509 GB, free: 72.93 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-05/5.193, allocations: 7.25 kB / 2.509 GB, free: 72.93 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001798/5.194, allocations: 0.7712 MB / 2.51 GB, free: 72.92 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006809/5.201, allocations: 1.052 MB / 2.511 GB, free: 72.9 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01455/5.216, allocations: 3.757 MB / 2.515 GB, free: 71.83 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003556/5.219, allocations: 2.035 MB / 2.517 GB, free: 71.09 MB / 0.9636 GB Notification: Performance of SimCode: time 1.352e-06/5.22, allocations: 0 / 2.517 GB, free: 71.09 MB / 0.9636 GB Notification: Performance of Templates: time 0.1464/5.366, allocations: 77.45 MB / 2.592 GB, free: 67.17 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)