Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max") [: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.377/1.377, allocations: 289.8 MB / 297.1 MB, free: 6.633 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.001277/0.001277, allocations: 181.3 kB / 366.3 MB, free: 1.938 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.079/1.079, allocations: 205.1 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.0008594/0.0008594, allocations: 89.25 kB / 0.7395 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.855e-06/7.945e-06, allocations: 4 kB / 0.859 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4309/0.4309, allocations: 116.3 MB / 0.9726 GB, free: 68.43 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1387/0.5696, allocations: 138 MB / 1.107 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001734/0.5698, allocations: 76.38 kB / 1.107 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.004003/0.5739, allocations: 1.125 MB / 1.109 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.5739, allocations: 7.938 kB / 1.109 GB, free: 9.246 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004493/0.5743, allocations: 387.1 kB / 1.109 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.5744, allocations: 8.031 kB / 1.109 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.327e-05/0.5744, allocations: 7.906 kB / 1.109 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.5746, allocations: 182.9 kB / 1.109 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.5746, allocations: 4 kB / 1.109 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.5746, allocations: 4 kB / 1.109 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001155/0.5747, allocations: 44.64 kB / 1.109 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.5748, allocations: 69.66 kB / 1.109 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.5749, allocations: 0 / 1.109 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.5749, allocations: 0 / 1.109 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.5749, allocations: 7.938 kB / 1.109 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004488/0.5753, allocations: 313.1 kB / 1.11 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004028/0.5758, allocations: 90.66 kB / 1.11 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.221e-05/0.5758, allocations: 25.58 kB / 1.11 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.5758, allocations: 7.922 kB / 1.11 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.5759, allocations: 38.56 kB / 1.11 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.5759, allocations: 0 / 1.11 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002091/0.5761, allocations: 81.58 kB / 1.11 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.5761, allocations: 55.41 kB / 1.11 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.367e-05/0.5762, allocations: 113.6 kB / 1.11 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.5762, allocations: 25.7 kB / 1.11 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.5763, allocations: 88.12 kB / 1.11 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.5763, allocations: 19.66 kB / 1.11 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.174e-06/0.5763, allocations: 0 / 1.11 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.5764, allocations: 326.8 kB / 1.11 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.159e-05/0.5765, allocations: 16 kB / 1.11 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.839e-05/0.5765, allocations: 20 kB / 1.11 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.767e-05/0.5766, allocations: 28.64 kB / 1.11 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5766, allocations: 3.938 kB / 1.11 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001462/0.5768, allocations: 85.52 kB / 1.11 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.5768, allocations: 4 kB / 1.11 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.5768, allocations: 0 / 1.11 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.968e-06/0.5768, allocations: 3.984 kB / 1.111 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.577, allocations: 39.97 kB / 1.111 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.577, allocations: 0 / 1.111 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.5772, allocations: 23.89 kB / 1.111 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.5772, allocations: 4 kB / 1.111 GB, free: 6.969 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: 3 (max1.u1,max1.u2,max1.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 5.935e-05/0.5772, allocations: 101 kB / 1.111 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.327e-05/0.5773, allocations: 7.906 kB / 1.111 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001896/0.5775, allocations: 106 kB / 1.111 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.5775, allocations: 0 / 1.111 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.5775, allocations: 0 / 1.111 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.5775, allocations: 3.984 kB / 1.111 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.5777, allocations: 170.1 kB / 1.111 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.5777, allocations: 0 / 1.111 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/0.5779, allocations: 40.7 kB / 1.111 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.5779, allocations: 0 / 1.111 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.5779, allocations: 0 / 1.111 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.5779, allocations: 4 kB / 1.111 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.5779, allocations: 4 kB / 1.111 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001705/0.5781, allocations: 187.4 kB / 1.111 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.045e-05/0.5781, allocations: 81.02 kB / 1.111 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.5781, allocations: 4 kB / 1.111 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.5783, allocations: 28.53 kB / 1.111 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.385e-05/0.5784, allocations: 11.98 kB / 1.111 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.5784, allocations: 11.92 kB / 1.111 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.282e-05/0.5785, allocations: 93.58 kB / 1.111 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002236/0.5787, allocations: 20 kB / 1.111 GB, free: 6.027 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: 3 (max1.u1,max1.u2,max1.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.0001064/0.5788, allocations: 107.3 kB / 1.112 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001301/0.5789, allocations: 51.98 kB / 1.112 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.5789, allocations: 4.5 kB / 1.112 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.008e-05/0.579, allocations: 37.88 kB / 1.112 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.5792, allocations: 11.48 kB / 1.112 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003109/0.5795, allocations: 119.4 kB / 1.112 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002821/0.5798, allocations: 0.7114 MB / 1.112 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.5798, allocations: 0 / 1.112 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of Templates: time 0.002994/0.5828, allocations: 1.388 MB / 1.114 GB, free: 3.586 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1)