Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.546/1.546, allocations: 289.8 MB / 297.1 MB, free: 6.73 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.001448/0.001448, allocations: 177.3 kB / 366.3 MB, free: 2.039 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.608/1.608, allocations: 205.1 MB / 0.6256 GB, free: 5.883 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.0009877/0.0009877, allocations: 87.12 kB / 0.7395 GB, free: 39.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.77e-05/5.773e-05, allocations: 4 kB / 0.859 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7848/0.7849, allocations: 116.3 MB / 0.9726 GB, free: 67.97 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.022/1.807, allocations: 424.6 MB / 1.387 GB, free: 60.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/1.808, allocations: 92.64 kB / 1.387 GB, free: 60.15 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.568/5.376, allocations: 1.043 GB / 2.43 GB, free: 113.2 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.000289/5.376, allocations: 84.36 kB / 2.43 GB, free: 113.2 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.007326/5.383, allocations: 3.2 MB / 2.433 GB, free: 111.8 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/5.383, allocations: 11.72 kB / 2.433 GB, free: 111.8 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01021/5.394, allocations: 1.405 MB / 2.435 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006588/5.4, allocations: 3.33 MB / 2.438 GB, free: 111.1 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001734/5.4, allocations: 169.1 kB / 2.438 GB, free: 111 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003291/5.401, allocations: 138.5 kB / 2.438 GB, free: 111 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003684/5.404, allocations: 2.025 MB / 2.44 GB, free: 111 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00371/5.408, allocations: 2.51 MB / 2.443 GB, free: 110.5 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.724e-05/5.408, allocations: 7.594 kB / 2.443 GB, free: 110.5 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002381/5.408, allocations: 8.219 kB / 2.443 GB, free: 110.5 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.14e-05/5.409, allocations: 71.81 kB / 2.443 GB, free: 110.5 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01914/5.428, allocations: 14.12 MB / 2.457 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/5.429, allocations: 1.119 MB / 2.458 GB, free: 103.7 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008292/5.43, allocations: 0.6082 MB / 2.458 GB, free: 103.7 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001442/5.432, allocations: 1.777 MB / 2.46 GB, free: 101.7 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001217/5.433, allocations: 0.9298 MB / 2.461 GB, free: 101.4 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=118): time 3.777e-06/5.433, allocations: 0 / 2.461 GB, free: 101.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=122): time 0.01822/5.451, allocations: 10.09 MB / 2.471 GB, free: 95.4 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002102/5.451, allocations: 0.9368 MB / 2.472 GB, free: 94.28 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002533/5.454, allocations: 1.839 MB / 2.473 GB, free: 94.06 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001885/5.454, allocations: 36.36 kB / 2.474 GB, free: 94.03 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007045/5.455, allocations: 0.9717 MB / 2.474 GB, free: 93.47 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003613/5.455, allocations: 409.2 kB / 2.475 GB, free: 93.21 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/5.455, allocations: 3.188 kB / 2.475 GB, free: 93.21 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.169e-05/5.455, allocations: 373.7 kB / 2.475 GB, free: 92.9 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009614/5.456, allocations: 0.6078 MB / 2.476 GB, free: 92.9 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001285/5.458, allocations: 1.227 MB / 2.477 GB, free: 92.21 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002177/5.46, allocations: 0.8169 MB / 2.478 GB, free: 92.2 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/5.46, allocations: 3.281 kB / 2.478 GB, free: 92.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.00446/5.464, allocations: 2.245 MB / 2.48 GB, free: 92 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008008/5.465, allocations: 5.089 MB / 2.485 GB, free: 86.56 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/5.465, allocations: 14.38 kB / 2.485 GB, free: 86.56 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001824/5.467, allocations: 0.8982 MB / 2.486 GB, free: 86.54 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00243/5.469, allocations: 462.1 kB / 2.486 GB, free: 86.54 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002854/5.472, allocations: 2.372 MB / 2.489 GB, free: 85.47 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004863/5.477, allocations: 399.4 kB / 2.489 GB, free: 85.45 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002331/5.477, allocations: 113.1 kB / 2.489 GB, free: 85.45 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/5.477, allocations: 3.875 kB / 2.489 GB, free: 85.45 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004191/5.482, allocations: 1.96 MB / 2.491 GB, free: 85.39 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/5.482, allocations: 11.64 kB / 2.491 GB, free: 85.39 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00173/5.483, allocations: 0.8916 MB / 2.492 GB, free: 85.37 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002333/5.486, allocations: 445.6 kB / 2.492 GB, free: 85.37 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002804/5.489, allocations: 2.375 MB / 2.495 GB, free: 84.29 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004283/5.493, allocations: 332.8 kB / 2.495 GB, free: 84.28 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002049/5.493, allocations: 107.8 kB / 2.495 GB, free: 84.28 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.0004848/5.494, allocations: 159.2 kB / 2.495 GB, free: 84.16 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004454/5.494, allocations: 242.9 kB / 2.495 GB, free: 84.04 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005528/5.5, allocations: 1.761 MB / 2.497 GB, free: 83.94 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.966e-05/5.5, allocations: 14.31 kB / 2.497 GB, free: 83.94 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/5.5, allocations: 3.781 kB / 2.497 GB, free: 83.94 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004376/5.504, allocations: 1.56 MB / 2.499 GB, free: 83.64 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009949/5.514, allocations: 6.134 MB / 2.505 GB, free: 81.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/5.514, allocations: 3.875 kB / 2.505 GB, free: 81.75 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001782/5.516, allocations: 291.6 kB / 2.505 GB, free: 81.74 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00155/5.517, allocations: 0.7718 MB / 2.506 GB, free: 81.72 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/5.517, allocations: 34.08 kB / 2.506 GB, free: 81.72 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002498/5.52, allocations: 2.111 MB / 2.508 GB, free: 80.65 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/5.52, allocations: 9.625 kB / 2.508 GB, free: 80.65 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006675/5.527, allocations: 3.275 MB / 2.511 GB, free: 79.47 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001459/5.528, allocations: 0.6188 MB / 2.512 GB, free: 79.25 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005045/5.529, allocations: 11.09 kB / 2.512 GB, free: 79.25 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003377/5.532, allocations: 278.6 kB / 2.512 GB, free: 79.25 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/5.532, allocations: 106 kB / 2.512 GB, free: 79.24 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001451/5.532, allocations: 69.06 kB / 2.512 GB, free: 79.24 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.001982/5.534, allocations: 1.375 MB / 2.513 GB, free: 79.1 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004827/5.539, allocations: 1.573 MB / 2.515 GB, free: 78.98 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.002403/5.542, allocations: 1.504 MB / 2.516 GB, free: 78.58 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0044/5.546, allocations: 2.643 MB / 2.519 GB, free: 78.45 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/5.546, allocations: 4.562 kB / 2.519 GB, free: 78.45 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.00154/5.548, allocations: 0.7747 MB / 2.52 GB, free: 78.43 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004972/5.553, allocations: 1.058 MB / 2.521 GB, free: 78.4 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008627/5.561, allocations: 3.753 MB / 2.524 GB, free: 77.34 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001774/5.563, allocations: 2.039 MB / 2.526 GB, free: 76.6 MB / 0.9636 GB Notification: Performance of SimCode: time 7.91e-07/5.563, allocations: 0 / 2.526 GB, free: 76.6 MB / 0.9636 GB Notification: Performance of Templates: time 0.1075/5.671, allocations: 77.44 MB / 2.602 GB, free: 48.6 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)