Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.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.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") [: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.341/1.341, 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.0009992/0.0009991, allocations: 177.3 kB / 366.3 MB, free: 1.957 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.109/1.109, allocations: 205.1 MB / 0.6256 GB, free: 5.809 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.0008407/0.0008407, allocations: 94.86 kB / 0.7396 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.077e-06/9.227e-06, allocations: 4 kB / 0.859 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4223/0.4223, allocations: 116.3 MB / 0.9726 GB, free: 68.69 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1348/0.5571, allocations: 137.7 MB / 1.107 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001827/0.5573, allocations: 67.91 kB / 1.107 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.001945/0.5593, allocations: 0.5143 MB / 1.108 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.5593, allocations: 4 kB / 1.108 GB, free: 10.3 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003693/0.5597, allocations: 363.3 kB / 1.108 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.5597, allocations: 8.031 kB / 1.108 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.748e-05/0.5598, allocations: 3.906 kB / 1.108 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.975e-05/0.5599, allocations: 172.7 kB / 1.108 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.5599, allocations: 0 / 1.108 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.5599, allocations: 4.844 kB / 1.108 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.638e-05/0.56, allocations: 19.94 kB / 1.108 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.232e-05/0.5601, allocations: 45.69 kB / 1.108 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.5601, allocations: 0 / 1.108 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-06/0.5601, allocations: 0 / 1.108 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.5601, allocations: 4 kB / 1.108 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004375/0.5605, allocations: 289.3 kB / 1.108 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.182e-05/0.5606, allocations: 26.58 kB / 1.109 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.001e-05/0.5607, allocations: 20.8 kB / 1.109 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.5607, allocations: 0.8438 kB / 1.109 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.5607, allocations: 38.56 kB / 1.109 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.5607, allocations: 0 / 1.109 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001435/0.5609, allocations: 57.67 kB / 1.109 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.5609, allocations: 51.41 kB / 1.109 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.578e-05/0.561, allocations: 97 kB / 1.109 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.561, allocations: 25.7 kB / 1.109 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.787e-05/0.561, allocations: 88.12 kB / 1.109 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.561, allocations: 11.81 kB / 1.109 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.5611, allocations: 1.5 kB / 1.109 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.39e-05/0.5611, allocations: 314.8 kB / 1.109 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.094e-05/0.5612, allocations: 8 kB / 1.109 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.968e-05/0.5612, allocations: 12 kB / 1.109 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.307e-05/0.5612, allocations: 7.984 kB / 1.109 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.5612, allocations: 3.938 kB / 1.109 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.43e-05/0.5613, allocations: 49.61 kB / 1.109 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.5613, allocations: 8 kB / 1.109 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.5613, allocations: 4 kB / 1.109 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.5614, allocations: 7.922 kB / 1.109 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.5615, allocations: 19.98 kB / 1.109 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.5615, allocations: 0 / 1.109 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.22e-05/0.5616, allocations: 19.98 kB / 1.109 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.5616, allocations: 4 kB / 1.109 GB, free: 8.359 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.917e-05/0.5617, allocations: 101 kB / 1.109 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.5617, allocations: 7.906 kB / 1.109 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.5618, allocations: 67.58 kB / 1.109 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.5619, allocations: 0 / 1.109 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.5619, allocations: 0 / 1.109 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.5619, allocations: 0 / 1.109 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.562, allocations: 154.1 kB / 1.11 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.562, allocations: 0 / 1.11 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.5621, allocations: 27.97 kB / 1.11 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.5621, allocations: 0 / 1.11 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.5621, allocations: 0 / 1.11 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.5622, allocations: 0 / 1.11 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.5622, allocations: 0 / 1.11 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001139/0.5623, allocations: 147.5 kB / 1.11 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.863e-05/0.5623, allocations: 81.02 kB / 1.11 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.5623, allocations: 8 kB / 1.11 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.5625, allocations: 15.98 kB / 1.11 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.113e-05/0.5625, allocations: 3.984 kB / 1.11 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.5625, allocations: 7.938 kB / 1.11 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.193e-05/0.5626, allocations: 89 kB / 1.11 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002059/0.5628, allocations: 7.938 kB / 1.11 GB, free: 7.562 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001075/0.5629, allocations: 99.25 kB / 1.11 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.948e-05/0.563, allocations: 23.98 kB / 1.11 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.563, allocations: 1.219 kB / 1.11 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.076e-05/0.563, allocations: 12 kB / 1.11 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.5632, allocations: 7.906 kB / 1.11 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002207/0.5634, allocations: 83.7 kB / 1.11 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002548/0.5637, allocations: 0.6954 MB / 1.111 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of SimCode: time 3.31e-07/0.5637, allocations: 0 / 1.111 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of Templates: time 0.002035/0.5657, allocations: 0.617 MB / 1.112 GB, free: 5.992 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1)