Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.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.LessEqual,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") [: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.33/1.33, allocations: 289.8 MB / 297.1 MB, free: 12.62 MB / 242.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009849/0.000985, allocations: 185.5 kB / 366.3 MB, free: 11.96 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.001/1.001, allocations: 205.1 MB / 0.6256 GB, free: 2.031 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000789/0.000789, allocations: 93.73 kB / 0.7395 GB, free: 46.91 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 9.077e-06/9.438e-06, allocations: 4 kB / 0.859 GB, free: 7.184 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.471/0.471, allocations: 116.3 MB / 0.9726 GB, free: 81.5 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1418/0.6129, allocations: 138 MB / 1.107 GB, free: 5.977 MB / 0.7059 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002088/0.6131, allocations: 72.94 kB / 1.107 GB, free: 5.906 MB / 0.7059 GB Notification: Performance of FrontEnd: time 0.004197/0.6173, allocations: 1.139 MB / 1.109 GB, free: 4.809 MB / 0.7059 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.6174, allocations: 4 kB / 1.109 GB, free: 4.805 MB / 0.7059 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.0004964/0.6179, allocations: 386.3 kB / 1.109 GB, free: 4.383 MB / 0.7059 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.6179, allocations: 8.031 kB / 1.109 GB, free: 4.375 MB / 0.7059 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.183e-05/0.618, allocations: 7.906 kB / 1.109 GB, free: 4.367 MB / 0.7059 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.6181, allocations: 177.9 kB / 1.109 GB, free: 4.156 MB / 0.7059 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.6181, allocations: 0 / 1.109 GB, free: 4.156 MB / 0.7059 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.6181, allocations: 4 kB / 1.109 GB, free: 4.152 MB / 0.7059 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000124/0.6183, allocations: 51.98 kB / 1.109 GB, free: 4.102 MB / 0.7059 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.6184, allocations: 73.59 kB / 1.109 GB, free: 4.023 MB / 0.7059 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.6184, allocations: 0 / 1.109 GB, free: 4.023 MB / 0.7059 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.6184, allocations: 0 / 1.109 GB, free: 4.023 MB / 0.7059 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.6185, allocations: 0 / 1.109 GB, free: 4.023 MB / 0.7059 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004673/0.6189, allocations: 313.8 kB / 1.11 GB, free: 3.676 MB / 0.7059 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004166/0.6194, allocations: 99.59 kB / 1.11 GB, free: 3.57 MB / 0.7059 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.528e-05/0.6194, allocations: 28.86 kB / 1.11 GB, free: 3.539 MB / 0.7059 GB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.6194, allocations: 0 / 1.11 GB, free: 3.539 MB / 0.7059 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.6195, allocations: 34.56 kB / 1.11 GB, free: 3.496 MB / 0.7059 GB Notification: Performance of pre-optimization done (n=7): time 8.52e-07/0.6195, allocations: 0 / 1.11 GB, free: 3.496 MB / 0.7059 GB Notification: Performance of matching and sorting (n=7): time 0.0002159/0.6197, allocations: 82.38 kB / 1.11 GB, free: 3.41 MB / 0.7059 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.55e-05/0.6198, allocations: 59.41 kB / 1.11 GB, free: 3.34 MB / 0.7059 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.712e-05/0.6199, allocations: 112.9 kB / 1.11 GB, free: 3.223 MB / 0.7059 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.6199, allocations: 25.7 kB / 1.11 GB, free: 3.191 MB / 0.7059 GB Notification: Performance of collectInitialEqns (initialization): time 4.161e-05/0.6199, allocations: 88.14 kB / 1.11 GB, free: 3.102 MB / 0.7059 GB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.62, allocations: 15.66 kB / 1.11 GB, free: 3.086 MB / 0.7059 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/0.62, allocations: 3.938 kB / 1.11 GB, free: 3.082 MB / 0.7059 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.6201, allocations: 323.6 kB / 1.11 GB, free: 2.758 MB / 0.7059 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.443e-05/0.6201, allocations: 20 kB / 1.11 GB, free: 2.738 MB / 0.7059 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.84e-05/0.6202, allocations: 19.98 kB / 1.11 GB, free: 2.719 MB / 0.7059 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.436e-05/0.6202, allocations: 24 kB / 1.11 GB, free: 2.695 MB / 0.7059 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.6202, allocations: 0 / 1.11 GB, free: 2.695 MB / 0.7059 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001476/0.6204, allocations: 77.58 kB / 1.11 GB, free: 2.613 MB / 0.7059 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.6204, allocations: 8 kB / 1.11 GB, free: 2.605 MB / 0.7059 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.6204, allocations: 0 / 1.11 GB, free: 2.605 MB / 0.7059 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.327e-06/0.6204, allocations: 0.6562 kB / 1.111 GB, free: 2.605 MB / 0.7059 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.6206, allocations: 35.97 kB / 1.111 GB, free: 2.57 MB / 0.7059 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.6206, allocations: 0 / 1.111 GB, free: 2.57 MB / 0.7059 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.6208, allocations: 27.83 kB / 1.111 GB, free: 2.543 MB / 0.7059 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.6208, allocations: 6.188 kB / 1.111 GB, free: 2.539 MB / 0.7059 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (intLesEqu.u1,intLesEqu.u2,intLesEqu.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.529e-05/0.6209, allocations: 114.6 kB / 1.111 GB, free: 2.422 MB / 0.7059 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.6209, allocations: 7.906 kB / 1.111 GB, free: 2.414 MB / 0.7059 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.295e-05/0.621, allocations: 9.312 kB / 1.111 GB, free: 2.402 MB / 0.7059 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.621, allocations: 0 / 1.111 GB, free: 2.402 MB / 0.7059 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.621, allocations: 0 / 1.111 GB, free: 2.402 MB / 0.7059 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.621, allocations: 0 / 1.111 GB, free: 2.402 MB / 0.7059 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.6211, allocations: 178.6 kB / 1.111 GB, free: 2.191 MB / 0.7059 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.6212, allocations: 0 / 1.111 GB, free: 2.191 MB / 0.7059 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.6213, allocations: 35.97 kB / 1.111 GB, free: 2.156 MB / 0.7059 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.6213, allocations: 0 / 1.111 GB, free: 2.156 MB / 0.7059 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.6214, allocations: 5.172 kB / 1.111 GB, free: 2.152 MB / 0.7059 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.6214, allocations: 0 / 1.111 GB, free: 2.152 MB / 0.7059 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6214, allocations: 0.5625 kB / 1.111 GB, free: 2.152 MB / 0.7059 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001852/0.6216, allocations: 187.4 kB / 1.111 GB, free: 1.953 MB / 0.7059 GB Notification: Performance of postOpt removeConstants (simulation): time 4.448e-05/0.6216, allocations: 85.02 kB / 1.111 GB, free: 1.852 MB / 0.7059 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.6216, allocations: 0 / 1.111 GB, free: 1.852 MB / 0.7059 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.6218, allocations: 23.97 kB / 1.111 GB, free: 1.828 MB / 0.7059 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.165e-05/0.6219, allocations: 23.88 kB / 1.111 GB, free: 1.805 MB / 0.7059 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.6219, allocations: 5.844 kB / 1.111 GB, free: 1.801 MB / 0.7059 GB Notification: Performance of sort global known variables: time 4.252e-05/0.622, allocations: 94.34 kB / 1.111 GB, free: 1.711 MB / 0.7059 GB Notification: Performance of remove unused functions: time 0.000224/0.6222, allocations: 15.98 kB / 1.111 GB, free: 1.695 MB / 0.7059 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (intLesEqu.u1,intLesEqu.u2,intLesEqu.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001243/0.6223, allocations: 107.3 kB / 1.111 GB, free: 1.582 MB / 0.7059 GB Notification: Performance of simCode: created initialization part: time 0.0001343/0.6225, allocations: 51.98 kB / 1.111 GB, free: 1.531 MB / 0.7059 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.6225, allocations: 3.938 kB / 1.111 GB, free: 1.527 MB / 0.7059 GB Notification: Performance of simCode: created simulation system equations: time 7.059e-05/0.6225, allocations: 40.64 kB / 1.112 GB, free: 1.488 MB / 0.7059 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.6227, allocations: 12.66 kB / 1.112 GB, free: 1.48 MB / 0.7059 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003242/0.6231, allocations: 112.3 kB / 1.112 GB, free: 1.348 MB / 0.7059 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002822/0.6234, allocations: 0.7159 MB / 1.112 GB, free: 0.6055 MB / 0.7059 GB Notification: Performance of SimCode: time 2.1e-07/0.6234, allocations: 0 / 1.112 GB, free: 0.6055 MB / 0.7059 GB Notification: Performance of Templates: time 0.003175/0.6266, allocations: 1.392 MB / 1.114 GB, free: 15.25 MB / 0.7215 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1)