Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.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.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") [: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.366/1.366, allocations: 289.8 MB / 297 MB, free: 6.672 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.00101/0.00101, allocations: 177.3 kB / 366.3 MB, free: 1.965 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.042/1.042, allocations: 205.1 MB / 0.6256 GB, free: 5.82 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.0008041/0.0008042, allocations: 85.45 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.558e-06/9.658e-06, allocations: 4 kB / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4986/0.4986, allocations: 116.3 MB / 0.9726 GB, free: 68.04 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1483/0.6469, allocations: 141.7 MB / 1.111 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001988/0.6472, allocations: 76.69 kB / 1.111 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.0181/0.6653, allocations: 6.622 MB / 1.118 GB, free: 72 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.989e-05/0.6653, allocations: 8 kB / 1.118 GB, free: 64 kB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006399/0.666, allocations: 0.4938 MB / 1.118 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.666, allocations: 8.031 kB / 1.118 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.908e-05/0.6661, allocations: 27.62 kB / 1.118 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005616/0.6667, allocations: 325.9 kB / 1.118 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.6667, allocations: 8.75 kB / 1.118 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.6667, allocations: 4 kB / 1.118 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001145/0.6669, allocations: 43.91 kB / 1.118 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.667, allocations: 81.66 kB / 1.118 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.667, allocations: 0 / 1.118 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.667, allocations: 0 / 1.118 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.667, allocations: 4 kB / 1.118 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006123/0.6677, allocations: 437.1 kB / 1.119 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.6678, allocations: 79.27 kB / 1.119 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.699e-05/0.6679, allocations: 24.98 kB / 1.119 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.6679, allocations: 4 kB / 1.119 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.742e-05/0.668, allocations: 63.39 kB / 1.119 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 3.557e-06/0.668, allocations: 8 kB / 1.119 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0002237/0.6683, allocations: 97.38 kB / 1.119 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.6683, allocations: 51.41 kB / 1.119 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003368/0.6686, allocations: 317.8 kB / 1.12 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.6687, allocations: 25.7 kB / 1.12 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.179e-05/0.6687, allocations: 120 kB / 1.12 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.6688, allocations: 23.73 kB / 1.12 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.908e-06/0.6688, allocations: 0 / 1.12 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.6689, allocations: 334.7 kB / 1.12 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.1e-05/0.669, allocations: 63.98 kB / 1.12 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.6691, allocations: 87.95 kB / 1.12 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.6694, allocations: 71.95 kB / 1.12 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6694, allocations: 1.688 kB / 1.12 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003717/0.6697, allocations: 214.1 kB / 1.12 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.6698, allocations: 4 kB / 1.12 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.6698, allocations: 4.062 kB / 1.12 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.6698, allocations: 0 / 1.12 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.6699, allocations: 27.98 kB / 1.12 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.6699, allocations: 1.797 kB / 1.12 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.6701, allocations: 23.83 kB / 1.12 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.6701, allocations: 7.938 kB / 1.12 GB, free: 12.82 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.ram.tab.nextTimeEvent,les.y,$PRE.lesHys.lesHys.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.4e-05/0.6702, allocations: 117.5 kB / 1.121 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.6702, allocations: 23.72 kB / 1.121 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001841/0.6704, allocations: 103.4 kB / 1.121 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.6704, allocations: 7.984 kB / 1.121 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.6704, allocations: 0 / 1.121 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.6704, allocations: 0 / 1.121 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.6706, allocations: 218 kB / 1.121 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.6706, allocations: 0 / 1.121 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.331e-05/0.6707, allocations: 7.984 kB / 1.121 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.6707, allocations: 4.656 kB / 1.121 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.6707, allocations: 4 kB / 1.121 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.6707, allocations: 3.938 kB / 1.121 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.6707, allocations: 0 / 1.121 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000169/0.6709, allocations: 125.9 kB / 1.121 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.671, allocations: 108.8 kB / 1.121 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.315e-05/0.671, allocations: 0 / 1.121 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.21e-05/0.6711, allocations: 16.73 kB / 1.121 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.6712, allocations: 7.984 kB / 1.121 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.6712, allocations: 4 kB / 1.121 GB, free: 12 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001898/0.6714, allocations: 217.1 kB / 1.121 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002559/0.6717, allocations: 47.92 kB / 1.121 GB, free: 11.74 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,les.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (lesHys.lesHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006365/0.6723, allocations: 334.3 kB / 1.122 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001802/0.6725, allocations: 95.98 kB / 1.122 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.6725, allocations: 0 / 1.122 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.211e-05/0.6726, allocations: 35.92 kB / 1.122 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.6728, allocations: 41.08 kB / 1.122 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005401/0.6734, allocations: 283.3 kB / 1.122 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003519/0.6738, allocations: 0.7823 MB / 1.123 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/0.6738, allocations: 0 / 1.123 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of Templates: time 0.005413/0.6792, allocations: 2.43 MB / 1.125 GB, free: 7.82 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1)