Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.Min,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min") [: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.691 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.0009938/0.0009938, allocations: 173.4 kB / 366.3 MB, free: 2.008 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.08/1.08, allocations: 205.1 MB / 0.6256 GB, free: 5.824 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.0008477/0.0008477, allocations: 87.55 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.923e-06/6.953e-06, allocations: 4 kB / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4338/0.4338, allocations: 116.3 MB / 0.9726 GB, free: 68.19 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1381/0.5719, allocations: 138 MB / 1.107 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001943/0.5722, allocations: 75.89 kB / 1.107 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.00415/0.5763, allocations: 1.117 MB / 1.109 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.5764, allocations: 7.938 kB / 1.109 GB, free: 9.293 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.0004888/0.5769, allocations: 387 kB / 1.109 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.5769, allocations: 8.031 kB / 1.109 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.916e-05/0.5769, allocations: 7.906 kB / 1.109 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.5771, allocations: 182.9 kB / 1.109 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.5772, allocations: 0 / 1.109 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.5772, allocations: 4 kB / 1.109 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001242/0.5773, allocations: 47.98 kB / 1.109 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.5775, allocations: 73.66 kB / 1.109 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.5775, allocations: 0.5625 kB / 1.109 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.5775, allocations: 0 / 1.109 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.5775, allocations: 3.938 kB / 1.109 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004705/0.578, allocations: 313.1 kB / 1.11 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004122/0.5784, allocations: 90.66 kB / 1.11 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.581e-05/0.5785, allocations: 32.86 kB / 1.11 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.5785, allocations: 1.406 kB / 1.11 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.5785, allocations: 38.48 kB / 1.11 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.5785, allocations: 0 / 1.11 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002227/0.5788, allocations: 87.38 kB / 1.11 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.5788, allocations: 55.41 kB / 1.11 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.115e-05/0.5789, allocations: 112.9 kB / 1.11 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.5789, allocations: 25.7 kB / 1.11 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.113e-05/0.579, allocations: 88.12 kB / 1.11 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.579, allocations: 23.66 kB / 1.11 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-06/0.579, allocations: 0 / 1.11 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.5791, allocations: 318.8 kB / 1.11 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.547e-05/0.5792, allocations: 20 kB / 1.11 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.067e-05/0.5792, allocations: 20 kB / 1.11 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.853e-05/0.5793, allocations: 19.98 kB / 1.11 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.5793, allocations: 3.938 kB / 1.11 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001596/0.5795, allocations: 86.19 kB / 1.11 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.5795, allocations: 11.98 kB / 1.11 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.5795, allocations: 2.656 kB / 1.111 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.5795, allocations: 0 / 1.111 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.5797, allocations: 31.97 kB / 1.111 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.5797, allocations: 4 kB / 1.111 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.5799, allocations: 23.89 kB / 1.111 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.5799, allocations: 0.6562 kB / 1.111 GB, free: 7.02 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 (min1.u1,min1.u2,min1.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 7.506e-05/0.58, allocations: 113 kB / 1.111 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.58, allocations: 7.906 kB / 1.111 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002187/0.5802, allocations: 93.95 kB / 1.111 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.5803, allocations: 4 kB / 1.111 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.5803, allocations: 0 / 1.111 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.5803, allocations: 0 / 1.111 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.5805, allocations: 182.9 kB / 1.111 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.5805, allocations: 4 kB / 1.111 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.5807, allocations: 27.97 kB / 1.111 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.5807, allocations: 4 kB / 1.111 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.5807, allocations: 4 kB / 1.111 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.5807, allocations: 0 / 1.111 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5807, allocations: 4 kB / 1.111 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002069/0.5809, allocations: 179.4 kB / 1.111 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.186e-05/0.581, allocations: 88.95 kB / 1.111 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.581, allocations: 0.9375 kB / 1.111 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.5812, allocations: 27.88 kB / 1.111 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.963e-05/0.5813, allocations: 19.97 kB / 1.111 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.5813, allocations: 7.938 kB / 1.111 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.701e-05/0.5813, allocations: 93.58 kB / 1.111 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000222/0.5816, allocations: 12 kB / 1.111 GB, free: 6.078 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 (min1.u1,min1.u2,min1.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.0001222/0.5817, allocations: 111.3 kB / 1.112 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001483/0.5819, allocations: 59.97 kB / 1.112 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.5819, allocations: 0 / 1.112 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.287e-05/0.5819, allocations: 35.94 kB / 1.112 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/0.5821, allocations: 11.2 kB / 1.112 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003328/0.5825, allocations: 111.4 kB / 1.112 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003155/0.5828, allocations: 0.7153 MB / 1.112 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/0.5828, allocations: 5.125 kB / 1.112 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of Templates: time 0.003435/0.5862, allocations: 1.39 MB / 1.114 GB, free: 3.629 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1)