Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.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.Log,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Log,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Log") [: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.342/1.342, allocations: 289.8 MB / 297.1 MB, free: 6.723 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.0009564/0.0009562, allocations: 185.3 kB / 366.3 MB, free: 1.988 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.114/1.114, allocations: 205.2 MB / 0.6256 GB, free: 5.812 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.0008535/0.0008533, allocations: 91.09 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.158e-06/9.188e-06, allocations: 4 kB / 0.859 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4263/0.4264, allocations: 116.3 MB / 0.9726 GB, free: 68.31 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1377/0.5641, allocations: 137.7 MB / 1.107 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001833/0.5643, allocations: 80.56 kB / 1.107 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.001379/0.5657, allocations: 346.2 kB / 1.107 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.5657, allocations: 0 / 1.107 GB, free: 10.34 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.0003003/0.566, allocations: 330.5 kB / 1.108 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.566, allocations: 12.03 kB / 1.108 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.591e-05/0.5661, allocations: 7.906 kB / 1.108 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.5662, allocations: 169.6 kB / 1.108 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.5662, allocations: 0 / 1.108 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.5662, allocations: 4 kB / 1.108 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.656e-05/0.5663, allocations: 4 kB / 1.108 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.022e-05/0.5663, allocations: 33.7 kB / 1.108 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.5664, allocations: 3.938 kB / 1.108 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.5664, allocations: 3.906 kB / 1.108 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.5664, allocations: 4 kB / 1.108 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003356/0.5667, allocations: 249.5 kB / 1.108 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.247e-05/0.5668, allocations: 26.58 kB / 1.108 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.141e-05/0.5668, allocations: 8.922 kB / 1.108 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.5668, allocations: 0 / 1.108 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.5669, allocations: 38.45 kB / 1.108 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.5669, allocations: 0 / 1.108 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001306/0.567, allocations: 45.62 kB / 1.108 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/0.567, allocations: 55.41 kB / 1.108 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.589e-05/0.5671, allocations: 97.03 kB / 1.109 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.5671, allocations: 25.7 kB / 1.109 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.471e-05/0.5671, allocations: 80.14 kB / 1.109 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.253e-05/0.5672, allocations: 3.906 kB / 1.109 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-06/0.5672, allocations: 0 / 1.109 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.5673, allocations: 318.8 kB / 1.109 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.185e-05/0.5673, allocations: 4 kB / 1.109 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.249e-05/0.5673, allocations: 8 kB / 1.109 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.852e-05/0.5673, allocations: 8.062 kB / 1.109 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.5674, allocations: 0 / 1.109 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.158e-05/0.5674, allocations: 41.61 kB / 1.109 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.946e-06/0.5674, allocations: 6.625 kB / 1.109 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.5674, allocations: 1.875 kB / 1.109 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.5675, allocations: 0 / 1.109 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.5676, allocations: 23.86 kB / 1.109 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.5676, allocations: 0 / 1.109 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.518e-05/0.5676, allocations: 16.02 kB / 1.109 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-06/0.5677, allocations: 0 / 1.109 GB, free: 8.547 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.411e-05/0.5677, allocations: 104.9 kB / 1.109 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.5677, allocations: 0 / 1.109 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.072e-05/0.5678, allocations: 45 kB / 1.109 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.5678, allocations: 4.031 kB / 1.109 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.5679, allocations: 4 kB / 1.109 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.5679, allocations: 0 / 1.109 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.568, allocations: 138.1 kB / 1.109 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.568, allocations: 0 / 1.109 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.584e-05/0.5681, allocations: 11.98 kB / 1.109 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.5681, allocations: 0 / 1.109 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/0.5681, allocations: 4 kB / 1.109 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.5681, allocations: 4 kB / 1.109 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5681, allocations: 7.938 kB / 1.109 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.557e-05/0.5682, allocations: 135.5 kB / 1.109 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.763e-05/0.5682, allocations: 77.11 kB / 1.11 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.5682, allocations: 4 kB / 1.11 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.634e-05/0.5683, allocations: 12.02 kB / 1.11 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.984e-05/0.5684, allocations: 4 kB / 1.11 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-06/0.5684, allocations: 4 kB / 1.11 GB, free: 7.91 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.675e-05/0.5684, allocations: 83.19 kB / 1.11 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001886/0.5686, allocations: 0 / 1.11 GB, free: 7.828 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.0001063/0.5687, allocations: 104.2 kB / 1.11 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.228e-05/0.5688, allocations: 12 kB / 1.11 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5688, allocations: 0 / 1.11 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.837e-05/0.5688, allocations: 12 kB / 1.11 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.569, allocations: 8.562 kB / 1.11 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001783/0.5692, allocations: 51.92 kB / 1.11 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002262/0.5694, allocations: 0.685 MB / 1.111 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of SimCode: time 9.016e-06/0.5694, allocations: 4 kB / 1.111 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of Templates: time 0.001783/0.5712, allocations: 414.6 kB / 1.111 GB, free: 6.516 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Log -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe 2>&1)