Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.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.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") [: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.326/1.326, allocations: 289.8 MB / 297.1 MB, free: 6.641 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.0009686/0.0009686, allocations: 185.3 kB / 366.3 MB, free: 1.961 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9704/0.9704, allocations: 205.1 MB / 0.6256 GB, free: 5.789 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.0008414/0.0008414, allocations: 93.64 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.556e-06/8.576e-06, allocations: 0 / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3759, allocations: 116.3 MB / 0.9726 GB, free: 68.25 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1316/0.5075, allocations: 139.8 MB / 1.109 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.5078, allocations: 85.47 kB / 1.109 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.00788/0.5157, allocations: 3.317 MB / 1.112 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.257e-05/0.5157, allocations: 4 kB / 1.112 GB, free: 5.293 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0005586/0.5163, allocations: 0.495 MB / 1.113 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.5163, allocations: 8.031 kB / 1.113 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.677e-05/0.5164, allocations: 23.72 kB / 1.113 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.5167, allocations: 267.6 kB / 1.113 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.5167, allocations: 8 kB / 1.113 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.08e-05/0.5167, allocations: 8 kB / 1.113 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002325/0.517, allocations: 129.5 kB / 1.113 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.5173, allocations: 196.8 kB / 1.113 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.5173, allocations: 0 / 1.113 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.5173, allocations: 0 / 1.113 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.168e-06/0.5173, allocations: 4 kB / 1.113 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009363/0.5183, allocations: 0.7671 MB / 1.114 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003241/0.5186, allocations: 155.6 kB / 1.114 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.5187, allocations: 64.86 kB / 1.114 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.5187, allocations: 4 kB / 1.114 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001255/0.5189, allocations: 99.38 kB / 1.115 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.5189, allocations: 0.9375 kB / 1.115 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0002427/0.5191, allocations: 137.6 kB / 1.115 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.5192, allocations: 81.11 kB / 1.115 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.5193, allocations: 182 kB / 1.115 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.5194, allocations: 29.64 kB / 1.115 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/0.5194, allocations: 144.2 kB / 1.115 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.5195, allocations: 47.3 kB / 1.115 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.283e-06/0.5195, allocations: 0 / 1.115 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.5196, allocations: 326.8 kB / 1.115 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.553e-05/0.5197, allocations: 40 kB / 1.115 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.693e-05/0.5198, allocations: 76.36 kB / 1.116 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.596e-05/0.5198, allocations: 43.98 kB / 1.116 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.5199, allocations: 4.031 kB / 1.116 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002241/0.5201, allocations: 159 kB / 1.116 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.579e-05/0.5202, allocations: 181.9 kB / 1.116 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.5202, allocations: 0 / 1.116 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.5202, allocations: 4 kB / 1.116 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.5204, allocations: 40 kB / 1.116 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.5204, allocations: 4 kB / 1.116 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.5205, allocations: 27.89 kB / 1.116 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.5206, allocations: 4.656 kB / 1.116 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.019e-06/0.5206, allocations: 7.938 kB / 1.116 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001737/0.5207, allocations: 95.92 kB / 1.116 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-06/0.5207, allocations: 0 / 1.116 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-06/0.5208, allocations: 0 / 1.116 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.5209, allocations: 43.94 kB / 1.116 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-06/0.5209, allocations: 0 / 1.116 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.521, allocations: 20.73 kB / 1.116 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.521, allocations: 4 kB / 1.116 GB, free: 1.164 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.55e-05/0.5211, allocations: 118.3 kB / 1.116 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.5211, allocations: 19.72 kB / 1.116 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.794e-05/0.5212, allocations: 21.45 kB / 1.116 GB, free: 1 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.5212, allocations: 0 / 1.116 GB, free: 1 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.5212, allocations: 0 / 1.116 GB, free: 1 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.5212, allocations: 0 / 1.116 GB, free: 1 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004161/0.5216, allocations: 488.1 kB / 1.117 GB, free: 492 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5217, allocations: 0.75 kB / 1.117 GB, free: 492 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.5218, allocations: 39.97 kB / 1.117 GB, free: 452 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.5219, allocations: 0 / 1.117 GB, free: 452 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.5219, allocations: 4 kB / 1.117 GB, free: 448 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.5219, allocations: 3.938 kB / 1.117 GB, free: 444 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.5219, allocations: 0 / 1.117 GB, free: 444 kB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003298/0.5222, allocations: 316.7 kB / 1.117 GB, free: 112 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.563e-05/0.5223, allocations: 92.86 kB / 1.117 GB, free: 0 / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.5223, allocations: 1.688 kB / 1.117 GB, free: 0 / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.5225, allocations: 20.03 kB / 1.117 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.5225, allocations: 15.83 kB / 1.117 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.5225, allocations: 8.062 kB / 1.117 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.000112/0.5227, allocations: 147 kB / 1.117 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003068/0.523, allocations: 63.69 kB / 1.117 GB, free: 15.75 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conBoiRet.conPID.I.y) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001188/0.5231, allocations: 114 kB / 1.118 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000256/0.5234, allocations: 164.9 kB / 1.118 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.5234, allocations: 0 / 1.118 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.565e-05/0.5235, allocations: 55.98 kB / 1.118 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.5237, allocations: 35.95 kB / 1.118 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005766/0.5243, allocations: 280.1 kB / 1.118 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003269/0.5246, allocations: 0.7731 MB / 1.119 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/0.5247, allocations: 0 / 1.119 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of Templates: time 0.004895/0.5296, allocations: 2.532 MB / 1.121 GB, free: 11.82 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1)