Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold") [: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.0.1-maint.8.0.x/package.mo): time 1.352/1.352, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.0009582/0.0009583, allocations: 185.2 kB / 361.1 MB, free: 7.082 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.01/1.01, allocations: 205.1 MB / 0.6195 GB, free: 10.27 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.0007426/0.0007426, allocations: 86.58 kB / 0.7326 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.667e-06/8.697e-06, allocations: 4 kB / 0.8511 GB, free: 2.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4242/0.4242, allocations: 115.3 MB / 0.9637 GB, free: 78.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1316/0.5559, allocations: 140.7 MB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000187/0.5561, allocations: 72.61 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01768/0.5738, allocations: 6.541 MB / 1.108 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.575e-05/0.5739, allocations: 4 kB / 1.108 GB, free: 8.777 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005294/0.5744, allocations: 493.7 kB / 1.108 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.5744, allocations: 12.53 kB / 1.108 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.729e-05/0.5745, allocations: 27.7 kB / 1.108 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005272/0.575, allocations: 327 kB / 1.108 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.5751, allocations: 0 / 1.108 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.5751, allocations: 12 kB / 1.108 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.599e-05/0.5752, allocations: 39.92 kB / 1.108 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.5753, allocations: 65.67 kB / 1.108 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.5753, allocations: 0 / 1.108 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.5754, allocations: 3.906 kB / 1.109 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.5754, allocations: 4 kB / 1.109 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005631/0.5759, allocations: 417.1 kB / 1.109 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.5761, allocations: 74.67 kB / 1.109 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.654e-05/0.5762, allocations: 30.23 kB / 1.109 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.5762, allocations: 0 / 1.109 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.153e-05/0.5763, allocations: 75.3 kB / 1.109 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.204e-06/0.5763, allocations: 3.984 kB / 1.109 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.000211/0.5765, allocations: 97.33 kB / 1.109 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.5766, allocations: 55.41 kB / 1.109 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003242/0.5769, allocations: 315.4 kB / 1.11 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.5769, allocations: 25.7 kB / 1.11 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.2e-05/0.577, allocations: 116 kB / 1.11 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.577, allocations: 23.73 kB / 1.11 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.387e-06/0.577, allocations: 0 / 1.11 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.5771, allocations: 338.7 kB / 1.11 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.659e-05/0.5772, allocations: 59.98 kB / 1.11 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.5774, allocations: 93.2 kB / 1.11 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/0.5776, allocations: 71.95 kB / 1.11 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.5776, allocations: 1.312 kB / 1.11 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003931/0.578, allocations: 209.3 kB / 1.11 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.578, allocations: 8 kB / 1.11 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.578, allocations: 0 / 1.11 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.578, allocations: 0 / 1.11 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.5782, allocations: 32.05 kB / 1.11 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.5782, allocations: 3.938 kB / 1.11 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.5783, allocations: 19.83 kB / 1.11 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.5784, allocations: 8 kB / 1.11 GB, free: 5.57 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: 8 ($whenCondition1,$PRE.ram.tab.nextTimeEvent,gre.y,$PRE.greHys.greHys.y,greHys.greHys.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 8.078e-05/0.5784, allocations: 108.9 kB / 1.111 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.261e-05/0.5785, allocations: 19.72 kB / 1.111 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001969/0.5787, allocations: 111.4 kB / 1.111 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.5787, allocations: 5.062 kB / 1.111 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.5787, allocations: 4 kB / 1.111 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.5787, allocations: 9.766 kB / 1.111 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.5789, allocations: 218.1 kB / 1.111 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.5789, allocations: 0 / 1.111 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.395e-05/0.5789, allocations: 7.984 kB / 1.111 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.579, allocations: 0 / 1.111 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.579, allocations: 0 / 1.111 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.579, allocations: 4.875 kB / 1.111 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.579, allocations: 4 kB / 1.111 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001666/0.5792, allocations: 130.8 kB / 1.111 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.3e-05/0.5792, allocations: 96.83 kB / 1.111 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.977e-05/0.5793, allocations: 11.98 kB / 1.111 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.092e-05/0.5794, allocations: 8 kB / 1.111 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.5794, allocations: 17.03 kB / 1.111 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.5794, allocations: 4 kB / 1.111 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001911/0.5796, allocations: 215.1 kB / 1.111 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002661/0.5799, allocations: 59.98 kB / 1.111 GB, free: 4.477 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: 5 ($whenCondition1,gre.y,greHys.greHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (greHys.greHys.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.0005835/0.5805, allocations: 315.6 kB / 1.112 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001959/0.5807, allocations: 115 kB / 1.112 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5807, allocations: 0 / 1.112 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.897e-05/0.5808, allocations: 31.98 kB / 1.112 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.5811, allocations: 46.11 kB / 1.112 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000523/0.5816, allocations: 284.2 kB / 1.112 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003349/0.5819, allocations: 0.7752 MB / 1.113 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.5819, allocations: 0 / 1.113 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of Templates: time 0.005178/0.5871, allocations: 2.47 MB / 1.115 GB, free: 0.5781 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe 2>&1)