Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [: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.322/1.322, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.0009299/0.0009299, allocations: 189.2 kB / 361.1 MB, free: 7.078 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.018/1.018, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0007518/0.0007519, allocations: 97 kB / 0.7326 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.726e-06/8.746e-06, allocations: 7.938 kB / 0.8511 GB, free: 2.953 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4073, allocations: 115.3 MB / 0.9637 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1342/0.5416, allocations: 137 MB / 1.097 GB, free: 3.051 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001958/0.5418, allocations: 63.97 kB / 1.098 GB, free: 2.988 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.002571/0.5444, allocations: 0.6325 MB / 1.098 GB, free: 2.387 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.311e-06/0.5444, allocations: 0 / 1.098 GB, free: 2.387 MB / 0.698 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.0003729/0.5448, allocations: 354.7 kB / 1.098 GB, free: 2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.5449, allocations: 8.531 kB / 1.098 GB, free: 1.992 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.5449, allocations: 8.688 kB / 1.098 GB, free: 1.984 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.545, allocations: 170.9 kB / 1.099 GB, free: 1.777 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.5451, allocations: 7.344 kB / 1.099 GB, free: 1.773 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.5451, allocations: 4 kB / 1.099 GB, free: 1.77 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.879e-05/0.5452, allocations: 27.92 kB / 1.099 GB, free: 1.742 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.359e-05/0.5453, allocations: 50.61 kB / 1.099 GB, free: 1.688 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.5453, allocations: 0.9375 kB / 1.099 GB, free: 1.688 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.5453, allocations: 0.75 kB / 1.099 GB, free: 1.688 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.5453, allocations: 0 / 1.099 GB, free: 1.688 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003967/0.5457, allocations: 260.4 kB / 1.099 GB, free: 1.398 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.366e-05/0.5458, allocations: 47.83 kB / 1.099 GB, free: 1.344 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.745e-05/0.5459, allocations: 20.8 kB / 1.099 GB, free: 1.32 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.5459, allocations: 1.234 kB / 1.099 GB, free: 1.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.5459, allocations: 40.36 kB / 1.099 GB, free: 1.273 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.5459, allocations: 0 / 1.099 GB, free: 1.273 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001846/0.5461, allocations: 58.38 kB / 1.099 GB, free: 1.215 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.5462, allocations: 52.25 kB / 1.099 GB, free: 1.152 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.913e-05/0.5462, allocations: 101.6 kB / 1.099 GB, free: 1.047 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.5463, allocations: 25.7 kB / 1.099 GB, free: 1.016 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.968e-05/0.5463, allocations: 92.97 kB / 1.099 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.5463, allocations: 7.906 kB / 1.099 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-06/0.5463, allocations: 0.5312 kB / 1.099 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.975e-05/0.5464, allocations: 315.3 kB / 1.1 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.817e-05/0.5465, allocations: 8.844 kB / 1.1 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.5e-05/0.5465, allocations: 19.92 kB / 1.1 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.808e-05/0.5465, allocations: 8.688 kB / 1.1 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5466, allocations: 0 / 1.1 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001021/0.5467, allocations: 64.59 kB / 1.1 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.5467, allocations: 4 kB / 1.1 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.5467, allocations: 0 / 1.1 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.5467, allocations: 2.016 kB / 1.1 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.5468, allocations: 19.98 kB / 1.1 GB, free: 484 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.5469, allocations: 3.422 kB / 1.1 GB, free: 484 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.657e-05/0.547, allocations: 19.89 kB / 1.1 GB, free: 464 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.547, allocations: 0 / 1.1 GB, free: 464 kB / 0.698 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 (intLesEquThr.u,intLesEquThr.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 0.0001004/0.5471, allocations: 108.9 kB / 1.1 GB, free: 348 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.967e-05/0.5471, allocations: 3.906 kB / 1.1 GB, free: 344 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.5471, allocations: 7.984 kB / 1.1 GB, free: 332 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.5472, allocations: 4 kB / 1.1 GB, free: 328 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.5472, allocations: 4 kB / 1.1 GB, free: 324 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.5472, allocations: 0 / 1.1 GB, free: 324 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.5473, allocations: 152.2 kB / 1.1 GB, free: 136 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5473, allocations: 0 / 1.1 GB, free: 136 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.706e-05/0.5474, allocations: 15.98 kB / 1.1 GB, free: 120 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.5474, allocations: 0 / 1.1 GB, free: 120 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.5475, allocations: 3.984 kB / 1.1 GB, free: 116 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.5475, allocations: 3.906 kB / 1.1 GB, free: 112 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.5475, allocations: 4 kB / 1.1 GB, free: 108 kB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001454/0.5476, allocations: 155.5 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.212e-05/0.5477, allocations: 77.11 kB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.5477, allocations: 0 / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.5478, allocations: 11.98 kB / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.46e-05/0.5479, allocations: 15.98 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.5479, allocations: 4.75 kB / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.383e-05/0.5479, allocations: 83.27 kB / 1.1 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002072/0.5482, allocations: 12.84 kB / 1.101 GB, free: 15.72 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 (intLesEquThr.u,intLesEquThr.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.0001191/0.5483, allocations: 108.2 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.639e-05/0.5484, allocations: 35.92 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.5484, allocations: 0 / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.961e-05/0.5484, allocations: 16 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.5486, allocations: 8 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002742/0.5489, allocations: 83.14 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002749/0.5492, allocations: 0.6954 MB / 1.101 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.5492, allocations: 0 / 1.101 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of Templates: time 0.0024/0.5516, allocations: 0.7947 MB / 1.102 GB, free: 13.97 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1)