Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.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.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") [: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.349/1.349, allocations: 289.8 MB / 297.1 MB, free: 6.691 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.0009706/0.0009707, allocations: 181.3 kB / 366.3 MB, free: 2.012 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.027/1.027, allocations: 205.2 MB / 0.6256 GB, free: 5.836 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.0008254/0.0008251, allocations: 81.64 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.036e-05/1.069e-05, allocations: 4 kB / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.477/0.4771, allocations: 116.3 MB / 0.9726 GB, free: 68.88 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1563/0.6334, allocations: 141.7 MB / 1.111 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/0.6337, allocations: 79.89 kB / 1.111 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01745/0.6511, allocations: 6.534 MB / 1.117 GB, free: 308 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.674e-05/0.6512, allocations: 4 kB / 1.117 GB, free: 304 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005426/0.6517, allocations: 497.7 kB / 1.118 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.6518, allocations: 12.03 kB / 1.118 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.004e-05/0.6518, allocations: 19.72 kB / 1.118 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005215/0.6524, allocations: 327 kB / 1.118 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.6524, allocations: 4 kB / 1.118 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.6524, allocations: 11.98 kB / 1.118 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000101/0.6525, allocations: 36.55 kB / 1.118 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.6526, allocations: 81.59 kB / 1.118 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.6527, allocations: 0 / 1.118 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.6527, allocations: 3.906 kB / 1.118 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.6527, allocations: 4 kB / 1.118 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005632/0.6533, allocations: 401.2 kB / 1.119 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.6534, allocations: 87.27 kB / 1.119 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.747e-05/0.6535, allocations: 28.97 kB / 1.119 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.6535, allocations: 3.984 kB / 1.119 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.916e-05/0.6536, allocations: 71.3 kB / 1.119 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.6536, allocations: 0 / 1.119 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0002045/0.6538, allocations: 93.34 kB / 1.119 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.6539, allocations: 59.41 kB / 1.119 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003104/0.6542, allocations: 320 kB / 1.119 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.6542, allocations: 29.7 kB / 1.119 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.914e-05/0.6543, allocations: 108 kB / 1.12 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.6543, allocations: 19.75 kB / 1.12 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.979e-06/0.6544, allocations: 0 / 1.12 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.6545, allocations: 342.7 kB / 1.12 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.824e-05/0.6546, allocations: 61.77 kB / 1.12 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.6547, allocations: 86.55 kB / 1.12 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000211/0.6549, allocations: 75.94 kB / 1.12 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.6549, allocations: 0 / 1.12 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003547/0.6553, allocations: 209.3 kB / 1.12 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.6553, allocations: 9.094 kB / 1.12 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.6553, allocations: 0 / 1.12 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.6553, allocations: 0 / 1.12 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.6554, allocations: 28.05 kB / 1.12 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.6554, allocations: 1.484 kB / 1.12 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.6556, allocations: 19.83 kB / 1.12 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.616e-05/0.6556, allocations: 8 kB / 1.12 GB, free: 13.09 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.55e-05/0.6557, allocations: 124.1 kB / 1.12 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.6557, allocations: 19.72 kB / 1.12 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001834/0.6559, allocations: 111.4 kB / 1.121 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.6559, allocations: 4 kB / 1.121 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.6559, allocations: 0 / 1.121 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.6559, allocations: 3.906 kB / 1.121 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.6561, allocations: 218.1 kB / 1.121 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.6561, allocations: 0.75 kB / 1.121 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.214e-05/0.6562, allocations: 7.938 kB / 1.121 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.6562, allocations: 0 / 1.121 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.6562, allocations: 4 kB / 1.121 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.6562, allocations: 0 / 1.121 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.6562, allocations: 8 kB / 1.121 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001532/0.6564, allocations: 126.8 kB / 1.121 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.31e-05/0.6564, allocations: 104.8 kB / 1.121 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4e-05/0.6565, allocations: 4.562 kB / 1.121 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.517e-05/0.6566, allocations: 11.98 kB / 1.121 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.6566, allocations: 11.98 kB / 1.121 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.6567, allocations: 11.98 kB / 1.121 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001808/0.6568, allocations: 219.1 kB / 1.121 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000233/0.6571, allocations: 40.06 kB / 1.121 GB, free: 12 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.0006407/0.6577, allocations: 338 kB / 1.122 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001865/0.6579, allocations: 107.9 kB / 1.122 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.6579, allocations: 0 / 1.122 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.963e-05/0.658, allocations: 28 kB / 1.122 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.6583, allocations: 44.86 kB / 1.122 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004981/0.6588, allocations: 282.4 kB / 1.122 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003568/0.6591, allocations: 0.7822 MB / 1.123 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of SimCode: time 2.61e-07/0.6592, allocations: 0 / 1.123 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of Templates: time 0.005286/0.6644, allocations: 2.452 MB / 1.125 GB, free: 8.051 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1)