Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.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.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") [: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.673/1.673, allocations: 289.8 MB / 297.1 MB, free: 6.625 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.001322/0.001322, allocations: 185.2 kB / 366.3 MB, free: 1.938 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.75/1.75, allocations: 205.1 MB / 0.6256 GB, free: 5.855 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.0009578/0.0009579, allocations: 92 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.285e-06/8.306e-06, allocations: 0 / 0.859 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7486/0.7486, allocations: 116.3 MB / 0.9726 GB, free: 68.35 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.699/5.447, allocations: 2.074 GB / 3.046 GB, free: 353.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/5.448, allocations: 87.22 kB / 3.046 GB, free: 353.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.1398/5.587, allocations: 65 MB / 3.11 GB, free: 323.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.203e-05/5.587, allocations: 20 kB / 3.11 GB, free: 323.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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.00179/5.589, allocations: 1.124 MB / 3.111 GB, free: 322.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/5.589, allocations: 11.97 kB / 3.111 GB, free: 322.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008985/5.59, allocations: 210.5 kB / 3.111 GB, free: 321.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008492/5.591, allocations: 0.6311 MB / 3.112 GB, free: 321.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/5.591, allocations: 24 kB / 3.112 GB, free: 321.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.211e-05/5.591, allocations: 44 kB / 3.112 GB, free: 321.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001224/5.592, allocations: 0.9874 MB / 3.113 GB, free: 320.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009379/5.593, allocations: 0.7232 MB / 3.113 GB, free: 319.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/5.593, allocations: 0 / 3.113 GB, free: 319.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.244e-05/5.593, allocations: 4 kB / 3.113 GB, free: 319.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/5.593, allocations: 23.84 kB / 3.113 GB, free: 319.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00308/5.597, allocations: 2.335 MB / 3.116 GB, free: 317 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008141/5.597, allocations: 0.657 MB / 3.116 GB, free: 316.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003014/5.598, allocations: 250.8 kB / 3.117 GB, free: 316.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001922/5.598, allocations: 113 kB / 3.117 GB, free: 315.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004646/5.598, allocations: 386 kB / 3.117 GB, free: 315.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 3.066e-06/5.598, allocations: 0 / 3.117 GB, free: 315.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.001557/5.6, allocations: 0.6676 MB / 3.118 GB, free: 314.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/5.6, allocations: 240 kB / 3.118 GB, free: 314.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005885/5.601, allocations: 0.5464 MB / 3.119 GB, free: 314 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.634e-05/5.601, allocations: 29.7 kB / 3.119 GB, free: 314 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/5.601, allocations: 308.2 kB / 3.119 GB, free: 313.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/5.601, allocations: 232.4 kB / 3.119 GB, free: 313.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/5.601, allocations: 0 / 3.119 GB, free: 313.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.828e-05/5.601, allocations: 378.8 kB / 3.119 GB, free: 313.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002632/5.601, allocations: 197.3 kB / 3.12 GB, free: 312.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003188/5.602, allocations: 302.4 kB / 3.12 GB, free: 312.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004392/5.602, allocations: 254.9 kB / 3.12 GB, free: 312.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/5.602, allocations: 4 kB / 3.12 GB, free: 312.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001363/5.604, allocations: 0.6794 MB / 3.121 GB, free: 311.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/5.604, allocations: 4 kB / 3.121 GB, free: 311.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/5.604, allocations: 0 / 3.121 GB, free: 311.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006055/5.604, allocations: 84.84 kB / 3.121 GB, free: 311.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005878/5.605, allocations: 143.8 kB / 3.121 GB, free: 311.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/5.606, allocations: 1.457 MB / 3.122 GB, free: 309.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000643/5.607, allocations: 71.5 kB / 3.123 GB, free: 309.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.037e-05/5.607, allocations: 32.25 kB / 3.123 GB, free: 309.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001464/5.607, allocations: 120.8 kB / 3.123 GB, free: 309.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/5.607, allocations: 79.05 kB / 3.123 GB, free: 309.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001992/5.609, allocations: 0.9369 MB / 3.124 GB, free: 308.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/5.609, allocations: 11.98 kB / 3.124 GB, free: 308.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/5.609, allocations: 0 / 3.124 GB, free: 308.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/5.609, allocations: 3.984 kB / 3.124 GB, free: 308.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000822/5.61, allocations: 0.7769 MB / 3.124 GB, free: 307.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/5.61, allocations: 0 / 3.124 GB, free: 307.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005792/5.611, allocations: 147.8 kB / 3.125 GB, free: 307.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005016/5.611, allocations: 88.77 kB / 3.125 GB, free: 307.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-05/5.611, allocations: 11.98 kB / 3.125 GB, free: 307.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00142/5.613, allocations: 1.492 MB / 3.126 GB, free: 305.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/5.613, allocations: 0 / 3.126 GB, free: 305.9 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001463/5.614, allocations: 0.7762 MB / 3.127 GB, free: 305.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003939/5.615, allocations: 283.8 kB / 3.127 GB, free: 304.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/5.615, allocations: 0 / 3.127 GB, free: 304.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005528/5.615, allocations: 63.94 kB / 3.127 GB, free: 304.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/5.616, allocations: 52.7 kB / 3.127 GB, free: 304.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.483e-05/5.616, allocations: 27.98 kB / 3.127 GB, free: 304.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.000482/5.616, allocations: 447 kB / 3.128 GB, free: 304.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000972/5.617, allocations: 318.9 kB / 3.128 GB, free: 303.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001365/5.618, allocations: 1.062 MB / 3.129 GB, free: 303 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001048/5.62, allocations: 0.6586 MB / 3.13 GB, free: 302.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/5.62, allocations: 4 kB / 3.13 GB, free: 302.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005774/5.62, allocations: 444.6 kB / 3.13 GB, free: 301.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/5.621, allocations: 233.1 kB / 3.13 GB, free: 301.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003765/5.625, allocations: 1.38 MB / 3.132 GB, free: 300.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007195/5.626, allocations: 1.14 MB / 3.133 GB, free: 299.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.052e-06/5.626, allocations: 0 / 3.133 GB, free: 299.1 MB / 0.948 GB Notification: Performance of Templates: time 0.02422/5.65, allocations: 17.04 MB / 3.149 GB, free: 282.1 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)