Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.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.Integers.Validation.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.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.339/1.339, allocations: 289.8 MB / 297.1 MB, free: 6.707 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.0009703/0.0009703, allocations: 177.3 kB / 366.3 MB, free: 2 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.056/1.056, allocations: 205.2 MB / 0.6256 GB, free: 5.902 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.0007843/0.0007843, allocations: 86.14 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.905e-06/7.925e-06, allocations: 4 kB / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4515/0.4515, allocations: 116.3 MB / 0.9726 GB, free: 68.66 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1482/0.5998, allocations: 141.8 MB / 1.111 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/0.6001, allocations: 83.89 kB / 1.111 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02727/0.6274, allocations: 10.36 MB / 1.121 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.897e-05/0.6274, allocations: 12 kB / 1.121 GB, free: 12.32 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007127/0.6281, allocations: 0.5327 MB / 1.122 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.6282, allocations: 8.031 kB / 1.122 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.91e-05/0.6283, allocations: 31.62 kB / 1.122 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006441/0.6289, allocations: 407.5 kB / 1.122 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.629, allocations: 0 / 1.122 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.629, allocations: 12 kB / 1.122 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001294/0.6291, allocations: 55.98 kB / 1.122 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.6293, allocations: 97.56 kB / 1.122 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.6293, allocations: 0 / 1.122 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.6293, allocations: 0 / 1.122 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.6293, allocations: 9.781 kB / 1.122 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006761/0.63, allocations: 485.2 kB / 1.123 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.6302, allocations: 114.7 kB / 1.123 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.279e-05/0.6303, allocations: 44.84 kB / 1.123 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.6303, allocations: 7.984 kB / 1.123 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001331/0.6304, allocations: 105.1 kB / 1.123 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.6305, allocations: 0 / 1.123 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.000282/0.6307, allocations: 153.4 kB / 1.123 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.6308, allocations: 55.31 kB / 1.123 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004758/0.6313, allocations: 465.9 kB / 1.124 GB, free: 9.602 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.6313, allocations: 29.7 kB / 1.124 GB, free: 9.566 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.548e-05/0.6314, allocations: 120.4 kB / 1.124 GB, free: 9.445 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.428e-05/0.6314, allocations: 35.55 kB / 1.124 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.533e-05/0.6314, allocations: 4 kB / 1.124 GB, free: 9.406 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.6315, allocations: 350.8 kB / 1.124 GB, free: 9.055 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.6317, allocations: 108.5 kB / 1.124 GB, free: 8.945 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.6319, allocations: 143.4 kB / 1.125 GB, free: 8.797 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003407/0.6322, allocations: 137.5 kB / 1.125 GB, free: 8.664 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.6323, allocations: 0 / 1.125 GB, free: 8.664 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005899/0.6328, allocations: 365.5 kB / 1.125 GB, free: 8.301 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.6329, allocations: 4.938 kB / 1.125 GB, free: 8.297 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.6329, allocations: 4 kB / 1.125 GB, free: 8.293 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.6329, allocations: 3.984 kB / 1.125 GB, free: 8.289 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.6331, allocations: 47.92 kB / 1.125 GB, free: 8.242 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.6331, allocations: 3.984 kB / 1.125 GB, free: 8.238 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.6333, allocations: 15.91 kB / 1.125 GB, free: 8.223 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.704e-05/0.6333, allocations: 23.98 kB / 1.125 GB, free: 8.199 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,intLes.u1,intLes.u2,intLes.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 8.105e-05/0.6334, allocations: 108.9 kB / 1.125 GB, free: 8.086 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.492e-05/0.6335, allocations: 35.53 kB / 1.125 GB, free: 8.051 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002851/0.6338, allocations: 166.4 kB / 1.125 GB, free: 7.883 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.6338, allocations: 7.938 kB / 1.125 GB, free: 7.875 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.6338, allocations: 4 kB / 1.125 GB, free: 7.871 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.6338, allocations: 4 kB / 1.125 GB, free: 7.867 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.634, allocations: 289.8 kB / 1.126 GB, free: 7.547 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.634, allocations: 2.438 kB / 1.126 GB, free: 7.547 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.833e-05/0.6341, allocations: 15.98 kB / 1.126 GB, free: 7.531 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.6341, allocations: 0 / 1.126 GB, free: 7.531 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.6342, allocations: 7.984 kB / 1.126 GB, free: 7.523 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.6342, allocations: 4 kB / 1.126 GB, free: 7.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.6342, allocations: 0 / 1.126 GB, free: 7.52 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002284/0.6344, allocations: 176.6 kB / 1.126 GB, free: 7.328 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.6345, allocations: 128.6 kB / 1.126 GB, free: 7.184 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.019e-05/0.6346, allocations: 7.984 kB / 1.126 GB, free: 7.176 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.6347, allocations: 8 kB / 1.126 GB, free: 7.168 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.83e-05/0.6348, allocations: 19.91 kB / 1.126 GB, free: 7.148 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.6348, allocations: 8 kB / 1.126 GB, free: 7.141 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0003028/0.6351, allocations: 300.5 kB / 1.126 GB, free: 6.848 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002757/0.6354, allocations: 59.94 kB / 1.126 GB, free: 6.789 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: 9 ($whenCondition2,$whenCondition1,intLes.u1,intLes.u2,intLes.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0006053/0.636, allocations: 335.8 kB / 1.127 GB, free: 6.543 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002756/0.6363, allocations: 186.8 kB / 1.127 GB, free: 6.363 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.6363, allocations: 0 / 1.127 GB, free: 6.363 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.32e-05/0.6364, allocations: 63.97 kB / 1.127 GB, free: 6.301 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.6368, allocations: 78.59 kB / 1.127 GB, free: 6.23 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006748/0.6374, allocations: 428 kB / 1.127 GB, free: 5.785 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003776/0.6378, allocations: 0.8295 MB / 1.128 GB, free: 4.926 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/0.6378, allocations: 0 / 1.128 GB, free: 4.926 MB / 0.7292 GB Notification: Performance of Templates: time 0.006904/0.6448, allocations: 3.628 MB / 1.132 GB, free: 1.348 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1)