Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.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.OBC.CDL.Continuous.Validation.Min,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") [: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.339/1.339, allocations: 289.8 MB / 297.1 MB, free: 6.668 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.0009302/0.0009301, allocations: 165.4 kB / 366.3 MB, free: 1.992 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.111/1.111, allocations: 205.1 MB / 0.6256 GB, free: 5.828 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.0007831/0.0007829, allocations: 87.3 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.105e-05/1.107e-05, allocations: 4 kB / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4167/0.4168, allocations: 116.3 MB / 0.9726 GB, free: 68.86 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1373/0.5541, allocations: 137.7 MB / 1.107 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001787/0.5543, allocations: 75.88 kB / 1.107 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.001997/0.5563, allocations: 0.5176 MB / 1.108 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.5563, allocations: 0 / 1.108 GB, free: 10.23 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003689/0.5567, allocations: 366.4 kB / 1.108 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.5567, allocations: 8.031 kB / 1.108 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.5568, allocations: 3.906 kB / 1.108 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.5569, allocations: 167 kB / 1.108 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.5569, allocations: 0 / 1.108 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.557, allocations: 5.219 kB / 1.108 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.832e-05/0.5571, allocations: 20 kB / 1.108 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.706e-05/0.5572, allocations: 45.62 kB / 1.108 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.5572, allocations: 0 / 1.108 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.5572, allocations: 0 / 1.108 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.5572, allocations: 4 kB / 1.108 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004851/0.5577, allocations: 281.3 kB / 1.108 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.371e-05/0.5578, allocations: 38.58 kB / 1.109 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.872e-05/0.5578, allocations: 16.94 kB / 1.109 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.5578, allocations: 0 / 1.109 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.5579, allocations: 38.5 kB / 1.109 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.5579, allocations: 0 / 1.109 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.000175/0.5581, allocations: 49.61 kB / 1.109 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.5581, allocations: 52.16 kB / 1.109 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.033e-05/0.5582, allocations: 107.2 kB / 1.109 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.5582, allocations: 25.7 kB / 1.109 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.791e-05/0.5583, allocations: 80.14 kB / 1.109 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.5583, allocations: 11.81 kB / 1.109 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/0.5583, allocations: 0 / 1.109 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.5584, allocations: 318.8 kB / 1.109 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.288e-05/0.5585, allocations: 8 kB / 1.109 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.81e-05/0.5585, allocations: 5.125 kB / 1.109 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.616e-05/0.5585, allocations: 16.12 kB / 1.109 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5585, allocations: 4 kB / 1.109 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.499e-05/0.5586, allocations: 57.53 kB / 1.109 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.5586, allocations: 4 kB / 1.109 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.5587, allocations: 0 / 1.109 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.5587, allocations: 7.938 kB / 1.109 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.5588, allocations: 23.98 kB / 1.109 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.5588, allocations: 0 / 1.109 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.931e-05/0.5589, allocations: 19.97 kB / 1.109 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.006e-06/0.559, allocations: 0 / 1.109 GB, free: 8.289 MB / 0.7136 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 7.718e-05/0.559, allocations: 109 kB / 1.109 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.5591, allocations: 4.469 kB / 1.109 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001327/0.5592, allocations: 53.69 kB / 1.109 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.5592, allocations: 4 kB / 1.109 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.5592, allocations: 0 / 1.109 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.5592, allocations: 7.922 kB / 1.109 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.5594, allocations: 150.1 kB / 1.11 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.5594, allocations: 0.75 kB / 1.11 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.5595, allocations: 23.98 kB / 1.11 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.5595, allocations: 0 / 1.11 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.5595, allocations: 0 / 1.11 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.5595, allocations: 4 kB / 1.11 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5595, allocations: 0 / 1.11 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001374/0.5597, allocations: 151.5 kB / 1.11 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.439e-05/0.5597, allocations: 81.02 kB / 1.11 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.5597, allocations: 4.938 kB / 1.11 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.5599, allocations: 19.97 kB / 1.11 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.5599, allocations: 4 kB / 1.11 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.5599, allocations: 4 kB / 1.11 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.93e-05/0.56, allocations: 87.27 kB / 1.11 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001938/0.5602, allocations: 7.938 kB / 1.11 GB, free: 7.492 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 (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.0001011/0.5603, allocations: 103.2 kB / 1.11 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.605e-05/0.5604, allocations: 20 kB / 1.11 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5604, allocations: 0 / 1.11 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.936e-05/0.5604, allocations: 12 kB / 1.11 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001703/0.5606, allocations: 16.83 kB / 1.11 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002089/0.5608, allocations: 75.77 kB / 1.11 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002782/0.5611, allocations: 0.6992 MB / 1.111 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.5611, allocations: 0 / 1.111 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of Templates: time 0.00209/0.5632, allocations: 0.6094 MB / 1.112 GB, free: 5.945 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Min -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1)