Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.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.1.4-maint.8.1.x/package.mo): time 1.378/1.378, allocations: 289.8 MB / 297.1 MB, free: 6.648 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: 1.93 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.073/1.073, allocations: 205.1 MB / 0.6256 GB, free: 5.773 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.0008549/0.0008545, allocations: 79.5 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.113e-06/7.234e-06, allocations: 0 / 0.859 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4394/0.4395, allocations: 116.3 MB / 0.9726 GB, free: 68.2 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1371/0.5766, allocations: 138 MB / 1.107 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000169/0.5768, allocations: 79.88 kB / 1.107 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.002433/0.5792, allocations: 0.6389 MB / 1.108 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.5792, allocations: 0 / 1.108 GB, free: 9.77 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000373/0.5796, allocations: 350.4 kB / 1.108 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.5796, allocations: 8.031 kB / 1.108 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.032e-05/0.5797, allocations: 7.906 kB / 1.108 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.5798, allocations: 178.9 kB / 1.109 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.5798, allocations: 0 / 1.109 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.5799, allocations: 4 kB / 1.109 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.629e-05/0.5799, allocations: 20 kB / 1.109 GB, free: 9.129 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.941e-05/0.58, allocations: 53.61 kB / 1.109 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.5801, allocations: 0 / 1.109 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.5801, allocations: 4.5 kB / 1.109 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.5801, allocations: 0 / 1.109 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003437/0.5804, allocations: 261.4 kB / 1.109 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.201e-05/0.5805, allocations: 46.55 kB / 1.109 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.592e-05/0.5806, allocations: 28.73 kB / 1.109 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.5806, allocations: 4 kB / 1.109 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.5806, allocations: 35.44 kB / 1.109 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.5806, allocations: 0 / 1.109 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001562/0.5808, allocations: 53.83 kB / 1.109 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.5808, allocations: 51.41 kB / 1.109 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.727e-05/0.5809, allocations: 104.3 kB / 1.109 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.5809, allocations: 27.58 kB / 1.109 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.257e-05/0.581, allocations: 88.05 kB / 1.109 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.581, allocations: 11.91 kB / 1.109 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.581, allocations: 0 / 1.109 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.449e-05/0.5811, allocations: 314.8 kB / 1.11 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.481e-05/0.5811, allocations: 12 kB / 1.11 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.234e-05/0.5811, allocations: 8 kB / 1.11 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.739e-05/0.5812, allocations: 11.94 kB / 1.11 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.5812, allocations: 0 / 1.11 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.456e-05/0.5813, allocations: 65.53 kB / 1.11 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.5813, allocations: 7.984 kB / 1.11 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.5813, allocations: 4 kB / 1.11 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.5813, allocations: 0 / 1.11 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.5814, allocations: 15.98 kB / 1.11 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.5815, allocations: 0 / 1.11 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.737e-05/0.5816, allocations: 19.89 kB / 1.11 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.5816, allocations: 4 kB / 1.11 GB, free: 7.812 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: 2 (intGreThr.u,intGreThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.354e-05/0.5816, allocations: 105.8 kB / 1.11 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.5817, allocations: 4.469 kB / 1.11 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.73e-05/0.5817, allocations: 12 kB / 1.11 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.5817, allocations: 0.9375 kB / 1.11 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.5817, allocations: 0 / 1.11 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.5817, allocations: 0 / 1.11 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.5819, allocations: 154.3 kB / 1.11 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.5819, allocations: 4 kB / 1.11 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.631e-05/0.582, allocations: 23.92 kB / 1.11 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.582, allocations: 0 / 1.11 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.582, allocations: 0 / 1.11 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.582, allocations: 3.906 kB / 1.11 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.582, allocations: 4 kB / 1.11 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001289/0.5822, allocations: 157.1 kB / 1.11 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/0.5822, allocations: 81.11 kB / 1.11 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.5822, allocations: 0 / 1.11 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.5823, allocations: 11.98 kB / 1.11 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/0.5824, allocations: 12.22 kB / 1.11 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.5824, allocations: 0 / 1.11 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.125e-05/0.5824, allocations: 83.28 kB / 1.11 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000206/0.5827, allocations: 15.91 kB / 1.11 GB, free: 7.066 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: 2 (intGreThr.u,intGreThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001168/0.5828, allocations: 115.2 kB / 1.11 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.912e-05/0.5829, allocations: 31.94 kB / 1.11 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.5829, allocations: 0 / 1.11 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.898e-05/0.5829, allocations: 19.98 kB / 1.111 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/0.5831, allocations: 6.078 kB / 1.111 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002422/0.5833, allocations: 83.7 kB / 1.111 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002449/0.5836, allocations: 0.7 MB / 1.111 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.5836, allocations: 0 / 1.111 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of Templates: time 0.002305/0.5859, allocations: 0.7809 MB / 1.112 GB, free: 5.312 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1)