Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.102/2.102, allocations: 284.9 MB / 292.2 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001567/0.001567, allocations: 181.3 kB / 360.4 MB, free: 7.465 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.661/1.661, allocations: 205.1 MB / 0.6188 GB, free: 12.41 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001234/0.001233, allocations: 89.61 kB / 0.7318 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.21e-05/1.232e-05, allocations: 0 / 0.8503 GB, free: 3.809 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5753/0.5753, allocations: 115.2 MB / 0.9628 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1985/0.7739, allocations: 136.9 MB / 1.096 GB, free: 3.859 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.7742, allocations: 72.89 kB / 1.097 GB, free: 3.789 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.006614/0.7808, allocations: 1.126 MB / 1.098 GB, free: 2.711 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.7809, allocations: 4 kB / 1.098 GB, free: 2.707 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007868/0.7817, allocations: 383.3 kB / 1.098 GB, free: 2.293 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.7817, allocations: 12.02 kB / 1.098 GB, free: 2.281 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.47e-05/0.7818, allocations: 10.11 kB / 1.098 GB, free: 2.273 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.782, allocations: 172.1 kB / 1.098 GB, free: 2.066 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.782, allocations: 4.594 kB / 1.098 GB, free: 2.062 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.782, allocations: 4.656 kB / 1.098 GB, free: 2.062 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000204/0.7823, allocations: 55.92 kB / 1.098 GB, free: 2.008 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.7825, allocations: 73.31 kB / 1.098 GB, free: 1.934 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.7825, allocations: 0.5 kB / 1.098 GB, free: 1.934 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.7825, allocations: 0 / 1.098 GB, free: 1.934 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.7825, allocations: 4.5 kB / 1.098 GB, free: 1.93 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00071/0.7833, allocations: 322.6 kB / 1.099 GB, free: 1.578 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007664/0.784, allocations: 90.59 kB / 1.099 GB, free: 1.48 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.197e-05/0.7841, allocations: 24.86 kB / 1.099 GB, free: 1.453 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.7842, allocations: 0.8438 kB / 1.099 GB, free: 1.453 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.7842, allocations: 38.56 kB / 1.099 GB, free: 1.406 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.7842, allocations: 4 kB / 1.099 GB, free: 1.402 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003213/0.7846, allocations: 81.58 kB / 1.099 GB, free: 1.316 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.7846, allocations: 55.34 kB / 1.099 GB, free: 1.25 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.7847, allocations: 115.7 kB / 1.099 GB, free: 1.133 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.7848, allocations: 25.7 kB / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.706e-05/0.7849, allocations: 84.14 kB / 1.099 GB, free: 1.016 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.988e-05/0.7849, allocations: 27.64 kB / 1.099 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.125e-05/0.785, allocations: 0 / 1.099 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.7851, allocations: 318.8 kB / 1.099 GB, free: 0.668 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.813e-05/0.7852, allocations: 19.98 kB / 1.099 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.951e-05/0.7853, allocations: 22.11 kB / 1.099 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.831e-05/0.7854, allocations: 20.16 kB / 1.1 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.7854, allocations: 0 / 1.1 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000258/0.7856, allocations: 93.5 kB / 1.1 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.7857, allocations: 4 kB / 1.1 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.7857, allocations: 0 / 1.1 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.7857, allocations: 0 / 1.1 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003568/0.7861, allocations: 39.91 kB / 1.1 GB, free: 480 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.7861, allocations: 0 / 1.1 GB, free: 480 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002479/0.7864, allocations: 27.88 kB / 1.1 GB, free: 452 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.7864, allocations: 4 kB / 1.1 GB, free: 448 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: 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 9.939e-05/0.7865, allocations: 105.5 kB / 1.1 GB, free: 336 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.247e-05/0.7866, allocations: 11.91 kB / 1.1 GB, free: 324 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003211/0.7869, allocations: 96.02 kB / 1.1 GB, free: 228 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.7869, allocations: 0 / 1.1 GB, free: 228 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.7869, allocations: 4 kB / 1.1 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.7869, allocations: 0 / 1.1 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/0.7872, allocations: 178.1 kB / 1.1 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.7872, allocations: 0.8438 kB / 1.1 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003446/0.7876, allocations: 36.47 kB / 1.1 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.7876, allocations: 4 kB / 1.1 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.7876, allocations: 3.984 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.7876, allocations: 0 / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.7877, allocations: 4 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003053/0.788, allocations: 179.2 kB / 1.1 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.223e-05/0.788, allocations: 81.67 kB / 1.1 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.7881, allocations: 4 kB / 1.1 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003057/0.7884, allocations: 25.58 kB / 1.1 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.7885, allocations: 19.97 kB / 1.1 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.373e-05/0.7885, allocations: 7.984 kB / 1.1 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.235e-05/0.7886, allocations: 91.22 kB / 1.1 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003371/0.789, allocations: 12 kB / 1.1 GB, free: 15.52 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.0001721/0.7892, allocations: 121.5 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000235/0.7894, allocations: 52 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.7894, allocations: 0 / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.7896, allocations: 35.98 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.7899, allocations: 6.469 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004986/0.7904, allocations: 124.1 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004132/0.7908, allocations: 0.7153 MB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of SimCode: time 6.61e-07/0.7908, allocations: 0 / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of Templates: time 0.005159/0.796, allocations: 1.377 MB / 1.103 GB, free: 13.08 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1)