Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.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.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.165/2.165, allocations: 284.9 MB / 292.2 MB, free: 10.71 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.001556/0.001555, allocations: 177.2 kB / 360.4 MB, free: 7.477 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.63/1.63, allocations: 205.1 MB / 0.6188 GB, free: 12.42 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.001219/0.001219, allocations: 92.73 kB / 0.7318 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.615e-06/7.704e-06, allocations: 0 / 0.8503 GB, free: 3.828 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5253/0.5254, allocations: 115.2 MB / 0.9628 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2035/0.7289, allocations: 138.6 MB / 1.098 GB, free: 2.094 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000314/0.7293, allocations: 85.25 kB / 1.098 GB, free: 2.012 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.0131/0.7424, allocations: 3.305 MB / 1.101 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.08e-05/0.7424, allocations: 8 kB / 1.101 GB, free: 14.77 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.0009033/0.7433, allocations: 0.4903 MB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.7434, allocations: 8.031 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.539e-05/0.7435, allocations: 31.66 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004302/0.744, allocations: 271.6 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.744, allocations: 5.969 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.136e-05/0.744, allocations: 12 kB / 1.102 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004235/0.7445, allocations: 124.8 kB / 1.102 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00048/0.745, allocations: 185.4 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.745, allocations: 0 / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.333e-05/0.745, allocations: 5.047 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.7451, allocations: 4.516 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001522/0.7466, allocations: 0.7663 MB / 1.103 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005386/0.7472, allocations: 156.4 kB / 1.103 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.7474, allocations: 68.86 kB / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.7474, allocations: 0 / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002038/0.7476, allocations: 98.52 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.753e-06/0.7476, allocations: 0 / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0003944/0.748, allocations: 135.7 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.7481, allocations: 89.11 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.7484, allocations: 183 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.7484, allocations: 33.58 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.052e-05/0.7485, allocations: 144.1 kB / 1.104 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.014e-05/0.7486, allocations: 43.3 kB / 1.104 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.224e-05/0.7486, allocations: 4 kB / 1.104 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.7487, allocations: 326.8 kB / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.7489, allocations: 40 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.749, allocations: 78.66 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.7492, allocations: 51.98 kB / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.7492, allocations: 0 / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003791/0.7496, allocations: 145.4 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.122e-05/0.7497, allocations: 192.6 kB / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.7497, allocations: 5.531 kB / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.7497, allocations: 4.688 kB / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003399/0.7501, allocations: 35.98 kB / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.7501, allocations: 0 / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002635/0.7504, allocations: 35.88 kB / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.7504, allocations: 4 kB / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.795e-06/0.7504, allocations: 4 kB / 1.105 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002813/0.7507, allocations: 95.86 kB / 1.105 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-06/0.7507, allocations: 10.66 kB / 1.105 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.416e-06/0.7507, allocations: 0 / 1.105 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002691/0.751, allocations: 27.98 kB / 1.105 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.751, allocations: 7.938 kB / 1.105 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.7513, allocations: 23.89 kB / 1.105 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.7513, allocations: 11.98 kB / 1.105 GB, free: 10.64 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 9.739e-05/0.7514, allocations: 104.9 kB / 1.105 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.215e-05/0.7515, allocations: 20.42 kB / 1.105 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.546e-05/0.7515, allocations: 18.78 kB / 1.105 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.7516, allocations: 4 kB / 1.105 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.7516, allocations: 0 / 1.105 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.7516, allocations: 3.984 kB / 1.105 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00073/0.7523, allocations: 486.9 kB / 1.106 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.7523, allocations: 0 / 1.106 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003395/0.7527, allocations: 31.98 kB / 1.106 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.7527, allocations: 0.75 kB / 1.106 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.7527, allocations: 0 / 1.106 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.7528, allocations: 9.188 kB / 1.106 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.7528, allocations: 3.984 kB / 1.106 GB, free: 9.93 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005546/0.7533, allocations: 307.2 kB / 1.106 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.774e-05/0.7534, allocations: 96.86 kB / 1.106 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.086e-05/0.7535, allocations: 0 / 1.106 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002776/0.7538, allocations: 24.05 kB / 1.106 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.7538, allocations: 11.89 kB / 1.106 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.7539, allocations: 4 kB / 1.106 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001919/0.7541, allocations: 156.2 kB / 1.107 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004808/0.7545, allocations: 59.69 kB / 1.107 GB, free: 9.25 MB / 0.7136 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.0001521/0.7547, allocations: 111.1 kB / 1.107 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004821/0.7552, allocations: 174.2 kB / 1.107 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.7552, allocations: 4 kB / 1.107 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.7554, allocations: 59.92 kB / 1.107 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.7558, allocations: 25.17 kB / 1.107 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009906/0.7568, allocations: 285 kB / 1.107 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004366/0.7573, allocations: 0.7736 MB / 1.108 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of SimCode: time 7.21e-07/0.7573, allocations: 0 / 1.108 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of Templates: time 0.008811/0.7661, allocations: 2.535 MB / 1.11 GB, free: 5.332 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1)