Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.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.Exp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp") [: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.321/1.321, allocations: 289.8 MB / 297.1 MB, free: 6.652 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.0009912/0.0009912, allocations: 181.3 kB / 366.3 MB, free: 2 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.04/1.04, allocations: 205.2 MB / 0.6256 GB, free: 5.84 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.0008261/0.0008261, allocations: 84.83 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.351e-05/1.36e-05, allocations: 4 kB / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5127/0.5128, allocations: 116.3 MB / 0.9726 GB, free: 67.94 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1479/0.6607, allocations: 137.7 MB / 1.107 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002004/0.661, allocations: 67.91 kB / 1.107 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.001533/0.6625, allocations: 347.9 kB / 1.107 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.6626, allocations: 4 kB / 1.107 GB, free: 10.28 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003299/0.6629, allocations: 330.5 kB / 1.108 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.6629, allocations: 8.688 kB / 1.108 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.457e-05/0.663, allocations: 11.84 kB / 1.108 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.6631, allocations: 163.1 kB / 1.108 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.6631, allocations: 4 kB / 1.108 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.6631, allocations: 0 / 1.108 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.224e-05/0.6632, allocations: 12 kB / 1.108 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.623e-05/0.6633, allocations: 37.69 kB / 1.108 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.6633, allocations: 0.8438 kB / 1.108 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.6633, allocations: 3.906 kB / 1.108 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.6634, allocations: 0 / 1.108 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003681/0.6637, allocations: 253.4 kB / 1.108 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.894e-05/0.6638, allocations: 22.52 kB / 1.108 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.468e-05/0.6638, allocations: 12.92 kB / 1.108 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.6638, allocations: 4 kB / 1.108 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.6639, allocations: 42.5 kB / 1.108 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.6639, allocations: 0 / 1.108 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001415/0.664, allocations: 38.55 kB / 1.108 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.6641, allocations: 51.41 kB / 1.108 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.947e-05/0.6641, allocations: 89 kB / 1.109 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.6642, allocations: 29.7 kB / 1.109 GB, free: 9.012 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.547e-05/0.6642, allocations: 84.14 kB / 1.109 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.6642, allocations: 15.86 kB / 1.109 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-06/0.6642, allocations: 0 / 1.109 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.6643, allocations: 310.8 kB / 1.109 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.632e-05/0.6644, allocations: 8 kB / 1.109 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.174e-05/0.6644, allocations: 4.562 kB / 1.109 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.503e-05/0.6644, allocations: 0 / 1.109 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.6644, allocations: 0 / 1.109 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.788e-05/0.6645, allocations: 45.61 kB / 1.109 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.6645, allocations: 12.08 kB / 1.109 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.6645, allocations: 0 / 1.109 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.6645, allocations: 1.125 kB / 1.109 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.712e-05/0.6646, allocations: 15.94 kB / 1.109 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.6647, allocations: 0 / 1.109 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.61e-05/0.6647, allocations: 11.98 kB / 1.109 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.6647, allocations: 4 kB / 1.109 GB, free: 8.492 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 (2): * Single equations (assignments): 2 * 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 5.719e-05/0.6648, allocations: 104.9 kB / 1.109 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.6648, allocations: 4 kB / 1.109 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.6649, allocations: 48.94 kB / 1.109 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.665, allocations: 4 kB / 1.109 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.665, allocations: 0 / 1.109 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.665, allocations: 0 / 1.109 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.6651, allocations: 138.1 kB / 1.109 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.6651, allocations: 4.781 kB / 1.109 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.775e-05/0.6652, allocations: 8 kB / 1.109 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.6652, allocations: 0 / 1.109 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.6652, allocations: 0 / 1.109 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.6652, allocations: 3.984 kB / 1.109 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6652, allocations: 4 kB / 1.109 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001332/0.6654, allocations: 143.4 kB / 1.109 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.114e-05/0.6654, allocations: 77.11 kB / 1.11 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.6654, allocations: 8.547 kB / 1.11 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.464e-05/0.6655, allocations: 4 kB / 1.11 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.292e-05/0.6656, allocations: 4 kB / 1.11 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-06/0.6656, allocations: 4.172 kB / 1.11 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.949e-05/0.6656, allocations: 87.2 kB / 1.11 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001954/0.6658, allocations: 4 kB / 1.11 GB, free: 7.766 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 (2): * Single equations (assignments): 2 * 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.0001142/0.6659, allocations: 103.9 kB / 1.11 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.734e-05/0.666, allocations: 8 kB / 1.11 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.666, allocations: 0 / 1.11 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.969e-05/0.666, allocations: 8 kB / 1.11 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001695/0.6662, allocations: 4.75 kB / 1.11 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000204/0.6664, allocations: 63.98 kB / 1.11 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000263/0.6667, allocations: 0.688 MB / 1.11 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of SimCode: time 2.505e-06/0.6667, allocations: 4 kB / 1.11 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of Templates: time 0.001914/0.6686, allocations: 400.6 kB / 1.111 GB, free: 6.461 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe 2>&1)