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.LessThreshold.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.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.328/1.328, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.0009636/0.0009636, allocations: 183.3 kB / 361.1 MB, free: 7.105 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.025/1.025, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0008154/0.0008154, allocations: 89.22 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.085e-06/8.105e-06, allocations: 4 kB / 0.8511 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.4028, allocations: 115.3 MB / 0.9637 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1337/0.5366, allocations: 137 MB / 1.097 GB, free: 3.07 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001768/0.5368, allocations: 68.66 kB / 1.098 GB, free: 3.004 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.002597/0.5394, allocations: 0.6395 MB / 1.098 GB, free: 2.395 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.5394, allocations: 0 / 1.098 GB, free: 2.395 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.000368/0.5398, allocations: 353.4 kB / 1.098 GB, free: 2.008 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.5398, allocations: 8.625 kB / 1.098 GB, free: 2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.5399, allocations: 13.31 kB / 1.099 GB, free: 1.988 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.54, allocations: 167.7 kB / 1.099 GB, free: 1.785 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.54, allocations: 0 / 1.099 GB, free: 1.785 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.54, allocations: 4 kB / 1.099 GB, free: 1.781 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.472e-05/0.5401, allocations: 24.8 kB / 1.099 GB, free: 1.758 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.679e-05/0.5402, allocations: 49.69 kB / 1.099 GB, free: 1.703 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.5402, allocations: 2.656 kB / 1.099 GB, free: 1.703 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.5403, allocations: 1.266 kB / 1.099 GB, free: 1.703 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.5403, allocations: 4.828 kB / 1.099 GB, free: 1.699 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003606/0.5406, allocations: 262.9 kB / 1.099 GB, free: 1.406 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.179e-05/0.5407, allocations: 50.45 kB / 1.099 GB, free: 1.352 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.675e-05/0.5408, allocations: 20.8 kB / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.5408, allocations: 0 / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.5408, allocations: 36.45 kB / 1.099 GB, free: 1.285 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.5408, allocations: 0 / 1.099 GB, free: 1.285 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001774/0.541, allocations: 62.55 kB / 1.099 GB, free: 1.219 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.283e-05/0.541, allocations: 52 kB / 1.099 GB, free: 1.156 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.289e-05/0.5411, allocations: 101.3 kB / 1.099 GB, free: 1.055 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.5411, allocations: 25.7 kB / 1.099 GB, free: 1.023 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.331e-05/0.5412, allocations: 94.47 kB / 1.099 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.5412, allocations: 7.906 kB / 1.099 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/0.5412, allocations: 0 / 1.099 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.752e-05/0.5413, allocations: 311.6 kB / 1.1 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.684e-05/0.5413, allocations: 8.594 kB / 1.1 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.541e-05/0.5414, allocations: 19.94 kB / 1.1 GB, free: 0.582 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.695e-05/0.5414, allocations: 8.641 kB / 1.1 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.5414, allocations: 0.5 kB / 1.1 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000109/0.5415, allocations: 62.16 kB / 1.1 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.5415, allocations: 4 kB / 1.1 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.5416, allocations: 1.406 kB / 1.1 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.5416, allocations: 4.281 kB / 1.1 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.5417, allocations: 21.2 kB / 1.1 GB, free: 496 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.446e-06/0.5417, allocations: 4 kB / 1.1 GB, free: 492 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.5418, allocations: 15.89 kB / 1.1 GB, free: 476 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.5419, allocations: 0 / 1.1 GB, free: 476 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 (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 6.815e-05/0.5419, allocations: 112.9 kB / 1.1 GB, free: 356 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.542, allocations: 3.906 kB / 1.1 GB, free: 352 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.462e-05/0.542, allocations: 11.98 kB / 1.1 GB, free: 336 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.542, allocations: 4.703 kB / 1.1 GB, free: 332 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.542, allocations: 0 / 1.1 GB, free: 332 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.542, allocations: 0 / 1.1 GB, free: 332 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.5422, allocations: 146.2 kB / 1.1 GB, free: 148 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5422, allocations: 1.312 kB / 1.1 GB, free: 148 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.5423, allocations: 15.98 kB / 1.1 GB, free: 132 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.5423, allocations: 0 / 1.1 GB, free: 132 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.5423, allocations: 3.984 kB / 1.1 GB, free: 128 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.5423, allocations: 7.906 kB / 1.1 GB, free: 120 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5423, allocations: 0 / 1.1 GB, free: 120 kB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001737/0.5425, allocations: 156.2 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.317e-05/0.5425, allocations: 81.11 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.5426, allocations: 4 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.5427, allocations: 17.17 kB / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/0.5428, allocations: 7.984 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.5428, allocations: 0 / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.425e-05/0.5428, allocations: 87.27 kB / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002288/0.5431, allocations: 15.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 (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.0001112/0.5432, allocations: 103.7 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.327e-05/0.5433, allocations: 27.98 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5433, allocations: 0 / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.142e-05/0.5433, allocations: 27.94 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.5435, allocations: 4 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.0002464/0.5438, allocations: 80.64 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002446/0.544, allocations: 0.6993 MB / 1.101 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.544, allocations: 0 / 1.101 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of Templates: time 0.002365/0.5464, allocations: 0.7962 MB / 1.102 GB, free: 13.98 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1)