Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.192/2.192, 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.001604/0.001603, allocations: 189.2 kB / 360.4 MB, free: 7.488 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.625/1.625, 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.001241/0.00124, allocations: 88.48 kB / 0.7318 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.798e-06/9.969e-06, allocations: 0 / 0.8502 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5532/0.5532, allocations: 115.2 MB / 0.9628 GB, free: 78.44 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1999/0.7531, allocations: 136.6 MB / 1.096 GB, free: 4.184 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/0.7535, allocations: 69.8 kB / 1.096 GB, free: 4.117 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.00401/0.7575, allocations: 0.8219 MB / 1.097 GB, free: 3.332 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.7575, allocations: 4.969 kB / 1.097 GB, free: 3.328 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003486/0.7579, allocations: 380.3 kB / 1.097 GB, free: 2.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.7579, allocations: 8.031 kB / 1.097 GB, free: 2.902 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.787e-05/0.758, allocations: 91.09 kB / 1.097 GB, free: 2.812 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.7582, allocations: 262.1 kB / 1.098 GB, free: 2.516 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.044e-05/0.7583, allocations: 152.2 kB / 1.098 GB, free: 2.367 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.824e-05/0.7583, allocations: 154.6 kB / 1.098 GB, free: 2.215 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.506e-05/0.7584, allocations: 155.6 kB / 1.098 GB, free: 2.062 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.363e-05/0.7585, allocations: 101 kB / 1.098 GB, free: 1.957 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.496e-05/0.7586, allocations: 79.94 kB / 1.098 GB, free: 1.879 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.079e-05/0.7586, allocations: 151.8 kB / 1.098 GB, free: 1.73 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.6e-05/0.7587, allocations: 155.7 kB / 1.099 GB, free: 1.578 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.7591, allocations: 484.8 kB / 1.099 GB, free: 1.07 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.922e-05/0.7591, allocations: 166.2 kB / 1.099 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.59e-05/0.7592, allocations: 84.95 kB / 1.099 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.7592, allocations: 75.28 kB / 1.099 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.662e-05/0.7593, allocations: 116.4 kB / 1.1 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.443e-06/0.7593, allocations: 0.5938 kB / 1.1 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 9.938e-05/0.7594, allocations: 41.55 kB / 1.1 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.7595, allocations: 52.22 kB / 1.1 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.7597, allocations: 202.5 kB / 1.1 GB, free: 316 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.7598, allocations: 26.2 kB / 1.1 GB, free: 284 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.319e-05/0.7598, allocations: 104.7 kB / 1.1 GB, free: 176 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-06/0.7599, allocations: 0 / 1.1 GB, free: 176 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.169e-05/0.7599, allocations: 0.5625 kB / 1.1 GB, free: 176 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.76, allocations: 324.6 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.7602, allocations: 44.34 kB / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/0.7604, allocations: 176 kB / 1.1 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008319/0.7612, allocations: 125 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/0.7613, allocations: 7.906 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001226/0.7625, allocations: 262.1 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.7625, allocations: 4 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.7626, allocations: 4 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/0.7626, allocations: 11.91 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000284/0.7629, allocations: 43.92 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/0.7629, allocations: 15.86 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.7631, allocations: 19.78 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.068e-05/0.7631, allocations: 18.58 kB / 1.101 GB, free: 15.07 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 0.0001452/0.7633, allocations: 197.2 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.764e-05/0.7634, allocations: 117.5 kB / 1.101 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.292e-05/0.7634, allocations: 117.4 kB / 1.101 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.824e-05/0.7635, allocations: 176.3 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.819e-05/0.7636, allocations: 176.3 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.554e-05/0.7636, allocations: 188.2 kB / 1.102 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.7639, allocations: 414 kB / 1.102 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.792e-05/0.764, allocations: 105 kB / 1.102 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.018e-05/0.764, allocations: 108.9 kB / 1.102 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.946e-05/0.7641, allocations: 181.7 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-05/0.7642, allocations: 181.6 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.169e-05/0.7642, allocations: 188.2 kB / 1.103 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-05/0.7643, allocations: 180.3 kB / 1.103 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001318/0.7644, allocations: 308.9 kB / 1.103 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.012e-05/0.7645, allocations: 197.9 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.563e-05/0.7646, allocations: 180.3 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.7648, allocations: 108.9 kB / 1.104 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.919e-05/0.7648, allocations: 176.3 kB / 1.104 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.524e-05/0.7649, allocations: 101 kB / 1.104 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001808/0.7651, allocations: 156.6 kB / 1.104 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004197/0.7655, allocations: 28.59 kB / 1.104 GB, free: 11.36 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.0001893/0.7657, allocations: 182.5 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002626/0.766, allocations: 87.77 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.766, allocations: 0 / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.973e-06/0.766, allocations: 0 / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.7664, allocations: 0.5313 MB / 1.105 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004183/0.7668, allocations: 231.4 kB / 1.105 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003355/0.7672, allocations: 0.7231 MB / 1.106 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of SimCode: time 7.01e-07/0.7672, allocations: 0 / 1.106 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of Templates: time 0.003846/0.771, allocations: 0.7388 MB / 1.107 GB, free: 8.855 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_8.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)