Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") [: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.312/1.312, allocations: 289.8 MB / 297.1 MB, free: 6.609 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.0008942/0.0008942, allocations: 177.3 kB / 366.3 MB, free: 1.949 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.039/1.039, allocations: 205.2 MB / 0.6256 GB, free: 5.777 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.0008401/0.00084, allocations: 83.55 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.979e-06/4.999e-06, allocations: 0 / 0.859 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.428/0.428, allocations: 116.3 MB / 0.9726 GB, free: 68.11 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1361/0.5641, allocations: 137.7 MB / 1.107 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.5643, allocations: 75.95 kB / 1.107 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.002371/0.5667, allocations: 0.8183 MB / 1.108 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.5667, allocations: 4 kB / 1.108 GB, free: 9.852 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002561/0.567, allocations: 374.3 kB / 1.108 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.567, allocations: 8.031 kB / 1.108 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.772e-05/0.5671, allocations: 91.09 kB / 1.108 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.5672, allocations: 266.1 kB / 1.109 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.951e-05/0.5673, allocations: 154.5 kB / 1.109 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.671e-05/0.5673, allocations: 158.6 kB / 1.109 GB, free: 8.73 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.971e-05/0.5674, allocations: 154.5 kB / 1.109 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.054e-05/0.5674, allocations: 101 kB / 1.109 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.5675, allocations: 79.27 kB / 1.109 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.193e-05/0.5675, allocations: 154.6 kB / 1.109 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.024e-05/0.5676, allocations: 150.6 kB / 1.11 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002631/0.5678, allocations: 482.3 kB / 1.11 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.224e-05/0.5679, allocations: 169.1 kB / 1.11 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.993e-05/0.5679, allocations: 94.33 kB / 1.11 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.568, allocations: 75.28 kB / 1.11 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.568, allocations: 109.8 kB / 1.11 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.568, allocations: 0 / 1.11 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 7.172e-05/0.5681, allocations: 41.59 kB / 1.11 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.205e-05/0.5681, allocations: 51.41 kB / 1.111 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.5683, allocations: 199.1 kB / 1.111 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.5683, allocations: 25.7 kB / 1.111 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.5684, allocations: 104 kB / 1.111 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.312e-06/0.5684, allocations: 0 / 1.111 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.5684, allocations: 0 / 1.111 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.324e-05/0.5685, allocations: 326.8 kB / 1.111 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.524e-05/0.5686, allocations: 48.33 kB / 1.111 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.5687, allocations: 172.8 kB / 1.111 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004517/0.5691, allocations: 123.8 kB / 1.111 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.5692, allocations: 3.906 kB / 1.111 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006756/0.5698, allocations: 269.2 kB / 1.112 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.5699, allocations: 5.219 kB / 1.112 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.996e-06/0.5699, allocations: 8 kB / 1.112 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.5699, allocations: 7.906 kB / 1.112 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.57, allocations: 51.84 kB / 1.112 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.57, allocations: 4 kB / 1.112 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.105e-05/0.5701, allocations: 20.28 kB / 1.112 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.5702, allocations: 20 kB / 1.112 GB, free: 5.57 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 8.105e-05/0.5703, allocations: 188.1 kB / 1.112 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.161e-05/0.5703, allocations: 116.7 kB / 1.112 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.449e-05/0.5704, allocations: 121.3 kB / 1.112 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.553e-05/0.5704, allocations: 176.3 kB / 1.112 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.745e-05/0.5705, allocations: 188.2 kB / 1.113 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.206e-05/0.5706, allocations: 176.3 kB / 1.113 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/0.5707, allocations: 415.8 kB / 1.113 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.181e-05/0.5708, allocations: 108.9 kB / 1.113 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.441e-05/0.5708, allocations: 105 kB / 1.113 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-05/0.5709, allocations: 176.3 kB / 1.114 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.972e-05/0.5709, allocations: 192.1 kB / 1.114 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.112e-05/0.571, allocations: 176.3 kB / 1.114 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.552e-05/0.571, allocations: 176.3 kB / 1.114 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000107/0.5711, allocations: 320.9 kB / 1.114 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.286e-05/0.5712, allocations: 193.9 kB / 1.115 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.891e-05/0.5713, allocations: 180.2 kB / 1.115 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.905e-05/0.5714, allocations: 105 kB / 1.115 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/0.5714, allocations: 176.3 kB / 1.115 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-05/0.5714, allocations: 108.9 kB / 1.115 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.66e-05/0.5715, allocations: 155.5 kB / 1.115 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002644/0.5718, allocations: 27.94 kB / 1.115 GB, free: 1.859 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.0001381/0.572, allocations: 182.5 kB / 1.115 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000135/0.5721, allocations: 83.81 kB / 1.116 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.5721, allocations: 1.312 kB / 1.116 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.414e-06/0.5721, allocations: 3.938 kB / 1.116 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.5724, allocations: 0.5244 MB / 1.116 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002678/0.5726, allocations: 226.7 kB / 1.116 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002408/0.5729, allocations: 0.7309 MB / 1.117 GB, free: 56 kB / 0.7136 GB Notification: Performance of SimCode: time 1.492e-06/0.5729, allocations: 0 / 1.117 GB, free: 56 kB / 0.7136 GB Notification: Performance of Templates: time 0.002348/0.5753, allocations: 0.7416 MB / 1.118 GB, free: 15.35 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)