Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.343/1.343, allocations: 285.5 MB / 292.8 MB, free: 9.852 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.001014/0.001014, allocations: 181.2 kB / 361.1 MB, free: 388 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.046/1.046, allocations: 205.2 MB / 0.6195 GB, free: 2.926 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008064/0.0008065, allocations: 80.52 kB / 0.7325 GB, free: 1.117 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 5.801e-06/5.8e-06, allocations: 1.156 kB / 0.8511 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1563, allocations: 115.3 MB / 0.9637 GB, free: 56.39 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4358/0.5922, allocations: 136.7 MB / 1.097 GB, free: 44.08 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001811/0.5924, allocations: 74.67 kB / 1.097 GB, free: 44.08 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.002208/0.5946, allocations: 0.81 MB / 1.098 GB, free: 44.03 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.114e-06/0.5946, allocations: 3.219 kB / 1.098 GB, free: 44.03 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.0002045/0.5948, allocations: 373.7 kB / 1.098 GB, free: 43.66 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.5949, allocations: 7.625 kB / 1.098 GB, free: 43.66 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.733e-05/0.5949, allocations: 94.45 kB / 1.099 GB, free: 43.58 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.987e-05/0.595, allocations: 265.1 kB / 1.099 GB, free: 43.29 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.5951, allocations: 150.6 kB / 1.099 GB, free: 43.14 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/0.5951, allocations: 158.3 kB / 1.099 GB, free: 42.99 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 2.234e-05/0.5951, allocations: 150.6 kB / 1.099 GB, free: 42.84 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.85e-05/0.5952, allocations: 107 kB / 1.099 GB, free: 58.73 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/0.5952, allocations: 75.28 kB / 1.099 GB, free: 58.66 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.266e-05/0.5953, allocations: 154.6 kB / 1.1 GB, free: 58.51 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-05/0.5953, allocations: 157.9 kB / 1.1 GB, free: 58.36 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002428/0.5955, allocations: 482.6 kB / 1.1 GB, free: 57.91 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.986e-05/0.5956, allocations: 165.1 kB / 1.1 GB, free: 57.73 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.551e-05/0.5956, allocations: 86.58 kB / 1.1 GB, free: 57.65 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.5957, allocations: 79.22 kB / 1.1 GB, free: 57.57 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.5957, allocations: 109.7 kB / 1.101 GB, free: 57.46 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.5957, allocations: 0 / 1.101 GB, free: 57.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 6.793e-05/0.5958, allocations: 43.72 kB / 1.101 GB, free: 57.42 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.586e-05/0.5958, allocations: 51.41 kB / 1.101 GB, free: 57.36 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.596, allocations: 203.3 kB / 1.101 GB, free: 57.25 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.596, allocations: 25.7 kB / 1.101 GB, free: 57.22 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.401e-05/0.596, allocations: 101.5 kB / 1.101 GB, free: 57.13 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.282e-06/0.596, allocations: 0 / 1.101 GB, free: 57.13 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-06/0.596, allocations: 0 / 1.101 GB, free: 57.13 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.53e-05/0.5961, allocations: 326.7 kB / 1.101 GB, free: 56.82 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.869e-05/0.5962, allocations: 43.92 kB / 1.101 GB, free: 56.82 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.556e-05/0.5963, allocations: 180.3 kB / 1.101 GB, free: 56.65 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004344/0.5967, allocations: 119 kB / 1.102 GB, free: 56.64 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.5967, allocations: 3.188 kB / 1.102 GB, free: 56.64 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006506/0.5974, allocations: 267.7 kB / 1.102 GB, free: 56.57 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.5974, allocations: 3.875 kB / 1.102 GB, free: 56.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.5974, allocations: 7.266 kB / 1.102 GB, free: 56.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.5975, allocations: 11.69 kB / 1.102 GB, free: 56.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.5976, allocations: 45.19 kB / 1.102 GB, free: 56.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.5976, allocations: 16.16 kB / 1.102 GB, free: 56.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.307e-05/0.5977, allocations: 24.28 kB / 1.102 GB, free: 56.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.5977, allocations: 11.62 kB / 1.102 GB, free: 56.54 MB / 0.7292 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 9.698e-05/0.5978, allocations: 188.8 kB / 1.102 GB, free: 56.36 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.441e-05/0.5979, allocations: 120.3 kB / 1.102 GB, free: 56.24 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.916e-05/0.5979, allocations: 115.7 kB / 1.102 GB, free: 56.13 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.185e-05/0.598, allocations: 176.3 kB / 1.103 GB, free: 55.95 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-05/0.598, allocations: 180.3 kB / 1.103 GB, free: 55.77 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.542e-05/0.5981, allocations: 184 kB / 1.103 GB, free: 55.58 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.5982, allocations: 416.1 kB / 1.103 GB, free: 55.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.303e-05/0.5983, allocations: 107.5 kB / 1.103 GB, free: 55.06 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.313e-05/0.5983, allocations: 112.3 kB / 1.104 GB, free: 54.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.172e-05/0.5983, allocations: 176.3 kB / 1.104 GB, free: 54.77 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.119e-05/0.5984, allocations: 180.3 kB / 1.104 GB, free: 54.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.521e-05/0.5984, allocations: 180.2 kB / 1.104 GB, free: 54.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.621e-05/0.5985, allocations: 184 kB / 1.104 GB, free: 54.22 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.668e-05/0.5986, allocations: 314.5 kB / 1.104 GB, free: 53.9 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.5987, allocations: 193.5 kB / 1.105 GB, free: 53.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.134e-05/0.5987, allocations: 185.8 kB / 1.105 GB, free: 53.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.871e-05/0.5988, allocations: 107.1 kB / 1.105 GB, free: 53.4 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.5989, allocations: 176.3 kB / 1.105 GB, free: 53.22 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/0.5989, allocations: 101 kB / 1.105 GB, free: 53.11 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.464e-05/0.599, allocations: 152.1 kB / 1.105 GB, free: 53.04 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002972/0.5993, allocations: 42.11 kB / 1.105 GB, free: 53.02 MB / 0.7292 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.0001368/0.5994, allocations: 179.3 kB / 1.106 GB, free: 52.86 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001243/0.5996, allocations: 79.14 kB / 1.106 GB, free: 52.85 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.5996, allocations: 5.188 kB / 1.106 GB, free: 52.85 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.5996, allocations: 3.844 kB / 1.106 GB, free: 52.85 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.5998, allocations: 0.5368 MB / 1.106 GB, free: 52.31 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002388/0.6001, allocations: 218.6 kB / 1.106 GB, free: 52.15 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002484/0.6003, allocations: 0.7249 MB / 1.107 GB, free: 51.45 MB / 0.7292 GB Notification: Performance of SimCode: time 2.1e-07/0.6003, allocations: 4 kB / 1.107 GB, free: 51.45 MB / 0.7292 GB Notification: Performance of Templates: time 0.002179/0.6025, allocations: 0.7415 MB / 1.108 GB, free: 51.34 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)