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.MultiMax.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.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") [: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.332/1.332, allocations: 285.5 MB / 292.8 MB, free: 10.52 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.000891/0.000891, allocations: 189.2 kB / 361.1 MB, free: 7.098 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.042/1.042, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.000754/0.0007541, allocations: 92.95 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.518e-06/9.528e-06, allocations: 4 kB / 0.8511 GB, free: 2.973 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4327/0.4327, allocations: 115.3 MB / 0.9637 GB, free: 78.03 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1361/0.5688, allocations: 136.4 MB / 1.097 GB, free: 3.617 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001749/0.5691, allocations: 63.95 kB / 1.097 GB, free: 3.555 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.00145/0.5705, allocations: 382.3 kB / 1.097 GB, free: 3.195 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.929e-06/0.5705, allocations: 4 kB / 1.097 GB, free: 3.191 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002416/0.5708, allocations: 332.4 kB / 1.098 GB, free: 2.824 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.5708, allocations: 11.75 kB / 1.098 GB, free: 2.816 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.498e-05/0.5709, allocations: 7.906 kB / 1.098 GB, free: 2.809 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.5711, allocations: 175.1 kB / 1.098 GB, free: 2.598 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.5711, allocations: 4.562 kB / 1.098 GB, free: 2.594 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.5711, allocations: 0 / 1.098 GB, free: 2.594 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.223e-05/0.5712, allocations: 43.97 kB / 1.098 GB, free: 2.551 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.5713, allocations: 79.42 kB / 1.098 GB, free: 2.469 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.5713, allocations: 0 / 1.098 GB, free: 2.469 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.5713, allocations: 1.266 kB / 1.098 GB, free: 2.469 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.5714, allocations: 5.688 kB / 1.098 GB, free: 2.465 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003951/0.5718, allocations: 450.7 kB / 1.098 GB, free: 1.988 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.167e-05/0.5718, allocations: 166.1 kB / 1.099 GB, free: 1.816 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.506e-05/0.5719, allocations: 80.7 kB / 1.099 GB, free: 1.734 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.5719, allocations: 76.06 kB / 1.099 GB, free: 1.66 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.5719, allocations: 112.2 kB / 1.099 GB, free: 1.543 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.383e-06/0.5719, allocations: 0.5 kB / 1.099 GB, free: 1.543 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.765e-05/0.572, allocations: 41.53 kB / 1.099 GB, free: 1.496 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.086e-05/0.572, allocations: 52 kB / 1.099 GB, free: 1.434 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.075e-05/0.5721, allocations: 109.9 kB / 1.099 GB, free: 1.32 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.5721, allocations: 29.27 kB / 1.099 GB, free: 1.289 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.019e-05/0.5722, allocations: 96.03 kB / 1.099 GB, free: 1.191 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.5722, allocations: 0 / 1.099 GB, free: 1.191 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-06/0.5722, allocations: 0 / 1.099 GB, free: 1.191 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.806e-05/0.5723, allocations: 322.8 kB / 1.099 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.415e-05/0.5723, allocations: 6.469 kB / 1.099 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.108e-05/0.5723, allocations: 7.984 kB / 1.099 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.538e-05/0.5724, allocations: 11.98 kB / 1.099 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5724, allocations: 3.906 kB / 1.099 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001049/0.5725, allocations: 49.69 kB / 1.099 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.5725, allocations: 4 kB / 1.1 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.5725, allocations: 0 / 1.1 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.5725, allocations: 4.844 kB / 1.1 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.032e-05/0.5726, allocations: 4 kB / 1.1 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.5726, allocations: 4.406 kB / 1.1 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.244e-05/0.5726, allocations: 4.594 kB / 1.1 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.5726, allocations: 112 / 1.1 GB, free: 0.7695 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 (1): * Single equations (assignments): 1 * 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.873e-05/0.5727, allocations: 186.2 kB / 1.1 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.789e-05/0.5728, allocations: 109.9 kB / 1.1 GB, free: 480 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.282e-05/0.5728, allocations: 105.3 kB / 1.1 GB, free: 368 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.883e-05/0.5729, allocations: 184.7 kB / 1.1 GB, free: 176 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.106e-05/0.573, allocations: 177 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.997e-05/0.573, allocations: 182.3 kB / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.5732, allocations: 399.1 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.731e-05/0.5732, allocations: 101 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.121e-05/0.5733, allocations: 109.5 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.777e-05/0.5733, allocations: 180.9 kB / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.393e-05/0.5734, allocations: 177 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.456e-05/0.5734, allocations: 178.5 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.937e-05/0.5735, allocations: 189.1 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001037/0.5736, allocations: 311.3 kB / 1.102 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.096e-05/0.5737, allocations: 190.1 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.146e-05/0.5737, allocations: 182.3 kB / 1.102 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.41e-05/0.5738, allocations: 105.6 kB / 1.102 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.305e-05/0.5739, allocations: 185.4 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.047e-05/0.5739, allocations: 101.5 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.961e-05/0.574, allocations: 99.88 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002175/0.5742, allocations: 16.38 kB / 1.103 GB, free: 13.19 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0001189/0.5743, allocations: 175.1 kB / 1.103 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.475e-05/0.5744, allocations: 20.08 kB / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.5744, allocations: 0 / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.328e-06/0.5744, allocations: 3.938 kB / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.5747, allocations: 0.5168 MB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002372/0.5749, allocations: 160 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000239/0.5752, allocations: 0.7036 MB / 1.104 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/0.5752, allocations: 0 / 1.104 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of Templates: time 0.00174/0.5769, allocations: 311.6 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1)