Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.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.Continuous.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.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.0.1-maint.8.0.x/package.mo): time 1.343/1.343, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.001026/0.001026, allocations: 189.2 kB / 361.1 MB, free: 7.07 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.001/1.001, allocations: 205.1 MB / 0.6195 GB, free: 11.9 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.0007307/0.0007307, allocations: 92.25 kB / 0.7326 GB, free: 44.46 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.957e-06/8.987e-06, allocations: 4 kB / 0.8511 GB, free: 3.188 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.417/0.4171, allocations: 115.3 MB / 0.9637 GB, free: 77.57 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1316/0.5487, allocations: 136.7 MB / 1.097 GB, free: 3.309 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001706/0.5489, allocations: 68.84 kB / 1.097 GB, free: 3.242 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.001915/0.5508, allocations: 0.5157 MB / 1.098 GB, free: 2.762 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.5508, allocations: 0 / 1.098 GB, free: 2.762 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003793/0.5512, allocations: 359.6 kB / 1.098 GB, free: 2.371 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.5513, allocations: 9.5 kB / 1.098 GB, free: 2.363 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/0.5513, allocations: 7.906 kB / 1.098 GB, free: 2.355 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.5514, allocations: 167 kB / 1.098 GB, free: 2.152 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.5514, allocations: 0 / 1.098 GB, free: 2.152 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.5515, allocations: 4.438 kB / 1.098 GB, free: 2.148 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.594e-05/0.5515, allocations: 21.16 kB / 1.098 GB, free: 2.129 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.686e-05/0.5516, allocations: 43.19 kB / 1.098 GB, free: 2.082 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.5516, allocations: 0 / 1.098 GB, free: 2.082 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.5516, allocations: 0 / 1.098 GB, free: 2.082 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.5517, allocations: 0 / 1.098 GB, free: 2.082 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004701/0.5521, allocations: 294.5 kB / 1.099 GB, free: 1.758 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.427e-05/0.5522, allocations: 36.23 kB / 1.099 GB, free: 1.715 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.341e-05/0.5522, allocations: 19.98 kB / 1.099 GB, free: 1.695 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.5523, allocations: 0 / 1.099 GB, free: 1.695 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.5523, allocations: 30.56 kB / 1.099 GB, free: 1.656 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.5523, allocations: 0 / 1.099 GB, free: 1.656 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001462/0.5525, allocations: 53.69 kB / 1.099 GB, free: 1.598 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.5525, allocations: 55.41 kB / 1.099 GB, free: 1.531 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.173e-05/0.5526, allocations: 97 kB / 1.099 GB, free: 1.43 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.5526, allocations: 29.7 kB / 1.099 GB, free: 1.395 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.554e-05/0.5526, allocations: 80.14 kB / 1.099 GB, free: 1.312 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.5526, allocations: 15.8 kB / 1.099 GB, free: 1.297 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-06/0.5527, allocations: 1.781 kB / 1.099 GB, free: 1.297 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.086e-05/0.5527, allocations: 314.8 kB / 1.099 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.386e-05/0.5528, allocations: 8 kB / 1.099 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.864e-05/0.5528, allocations: 15.94 kB / 1.099 GB, free: 0.957 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.134e-05/0.5528, allocations: 8 kB / 1.099 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-06/0.5528, allocations: 0 / 1.099 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.193e-05/0.5529, allocations: 54.48 kB / 1.099 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.846e-06/0.5529, allocations: 4 kB / 1.099 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.5529, allocations: 0 / 1.099 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.553, allocations: 1.688 kB / 1.099 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.5531, allocations: 31.91 kB / 1.099 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.5531, allocations: 0 / 1.099 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.5532, allocations: 19.98 kB / 1.099 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.5532, allocations: 6.578 kB / 1.099 GB, free: 0.832 MB / 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.131e-05/0.5533, allocations: 101 kB / 1.1 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.5533, allocations: 11.91 kB / 1.1 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.5534, allocations: 61.61 kB / 1.1 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.5535, allocations: 0.6562 kB / 1.1 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.5535, allocations: 0 / 1.1 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.5535, allocations: 2.438 kB / 1.1 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/0.5536, allocations: 146.1 kB / 1.1 GB, free: 476 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.5536, allocations: 0 / 1.1 GB, free: 476 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.5537, allocations: 23.98 kB / 1.1 GB, free: 452 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.5537, allocations: 0 / 1.1 GB, free: 452 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.5538, allocations: 5.062 kB / 1.1 GB, free: 448 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.5538, allocations: 0 / 1.1 GB, free: 448 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5538, allocations: 0 / 1.1 GB, free: 448 kB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001126/0.5539, allocations: 156.1 kB / 1.1 GB, free: 276 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.912e-05/0.5539, allocations: 85 kB / 1.1 GB, free: 172 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.5539, allocations: 0 / 1.1 GB, free: 172 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.5541, allocations: 19.98 kB / 1.1 GB, free: 152 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/0.5541, allocations: 10.52 kB / 1.1 GB, free: 144 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.5541, allocations: 0 / 1.1 GB, free: 144 kB / 0.698 GB Notification: Performance of sort global known variables: time 4.006e-05/0.5542, allocations: 83.27 kB / 1.1 GB, free: 60 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001949/0.5544, allocations: 11.94 kB / 1.1 GB, free: 48 kB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001043/0.5545, allocations: 103.1 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.857e-05/0.5546, allocations: 20 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.5546, allocations: 0 / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.918e-05/0.5546, allocations: 16 kB / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001644/0.5548, allocations: 15.84 kB / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002022/0.555, allocations: 73.27 kB / 1.1 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002694/0.5553, allocations: 0.6993 MB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.5553, allocations: 0 / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of Templates: time 0.002035/0.5573, allocations: 0.6045 MB / 1.102 GB, free: 14.5 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1)