Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.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.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.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.362/1.362, allocations: 289.8 MB / 297.1 MB, free: 6.637 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.001036/0.001036, allocations: 184 kB / 366.3 MB, free: 1.953 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.048/1.048, allocations: 205.2 MB / 0.6256 GB, free: 5.785 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.000832/0.000832, allocations: 87.59 kB / 0.7395 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.585e-06/7.615e-06, allocations: 4 kB / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3972/0.3972, allocations: 116.3 MB / 0.9726 GB, free: 68.26 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1316/0.5289, allocations: 137.9 MB / 1.107 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001649/0.5291, allocations: 77.2 kB / 1.107 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.00232/0.5314, allocations: 0.6369 MB / 1.108 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.5314, allocations: 0 / 1.108 GB, free: 9.832 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.0003702/0.5318, allocations: 354.4 kB / 1.108 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.5319, allocations: 12.03 kB / 1.108 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.772e-05/0.5319, allocations: 3.906 kB / 1.108 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.532, allocations: 182.8 kB / 1.109 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.5321, allocations: 0 / 1.109 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.5321, allocations: 4 kB / 1.109 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.572e-05/0.5322, allocations: 23.98 kB / 1.109 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.239e-05/0.5323, allocations: 49.69 kB / 1.109 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.5323, allocations: 0 / 1.109 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.5323, allocations: 5.016 kB / 1.109 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.5323, allocations: 0 / 1.109 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003472/0.5326, allocations: 265.3 kB / 1.109 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.933e-05/0.5327, allocations: 46.59 kB / 1.109 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.494e-05/0.5328, allocations: 20.77 kB / 1.109 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.5328, allocations: 0 / 1.109 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.532e-05/0.5328, allocations: 34.7 kB / 1.109 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.5328, allocations: 0 / 1.109 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.00015/0.533, allocations: 65.61 kB / 1.109 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.533, allocations: 51.41 kB / 1.109 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.356e-05/0.5331, allocations: 99.66 kB / 1.109 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.5331, allocations: 26.27 kB / 1.109 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.938e-05/0.5332, allocations: 84.05 kB / 1.109 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.5332, allocations: 15.89 kB / 1.109 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.5332, allocations: 0 / 1.109 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.051e-05/0.5333, allocations: 310.8 kB / 1.11 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.512e-05/0.5333, allocations: 16 kB / 1.11 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.127e-05/0.5333, allocations: 9.125 kB / 1.11 GB, free: 8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.667e-05/0.5334, allocations: 11.98 kB / 1.11 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5334, allocations: 4 kB / 1.11 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.499e-05/0.5335, allocations: 61.53 kB / 1.11 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.647e-06/0.5335, allocations: 4 kB / 1.11 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.5335, allocations: 0 / 1.11 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.145e-06/0.5335, allocations: 0 / 1.11 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.5337, allocations: 23.92 kB / 1.11 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.5337, allocations: 0 / 1.11 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.302e-05/0.5338, allocations: 15.89 kB / 1.11 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.5338, allocations: 4 kB / 1.11 GB, free: 7.871 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 (intLesThr.u,intLesThr.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 5.277e-05/0.5338, allocations: 104.9 kB / 1.11 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/0.5339, allocations: 4.656 kB / 1.11 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.468e-05/0.5339, allocations: 19.98 kB / 1.11 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.5339, allocations: 0 / 1.11 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.5339, allocations: 0 / 1.11 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.5339, allocations: 0 / 1.11 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.5341, allocations: 154.3 kB / 1.11 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.5341, allocations: 0 / 1.11 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.525e-05/0.5342, allocations: 15.98 kB / 1.11 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.5342, allocations: 5.312 kB / 1.11 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.5342, allocations: 0 / 1.11 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.5342, allocations: 11.89 kB / 1.11 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5342, allocations: 0 / 1.11 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001302/0.5343, allocations: 151.4 kB / 1.11 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.191e-05/0.5344, allocations: 81.34 kB / 1.11 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.5344, allocations: 0 / 1.11 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.5345, allocations: 15.98 kB / 1.11 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.677e-05/0.5346, allocations: 15.97 kB / 1.11 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-06/0.5346, allocations: 0 / 1.11 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.94e-05/0.5346, allocations: 87.27 kB / 1.11 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002237/0.5349, allocations: 11.91 kB / 1.11 GB, free: 7.117 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 (intLesThr.u,intLesThr.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.0001/0.535, allocations: 103.2 kB / 1.11 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.684e-05/0.5351, allocations: 39.92 kB / 1.11 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.82e-07/0.5351, allocations: 1.312 kB / 1.11 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.525e-05/0.5351, allocations: 19.94 kB / 1.111 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001466/0.5353, allocations: 4.516 kB / 1.111 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002237/0.5355, allocations: 82.39 kB / 1.111 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002376/0.5357, allocations: 0.6954 MB / 1.111 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.5358, allocations: 0 / 1.111 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of Templates: time 0.002213/0.538, allocations: 0.7881 MB / 1.112 GB, free: 5.359 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1)