Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.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.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") [: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.183/2.183, allocations: 284.9 MB / 292.2 MB, free: 9.906 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.00158/0.001579, allocations: 179.5 kB / 360.4 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.681/1.681, allocations: 205.2 MB / 0.6188 GB, free: 3.352 MB / 442.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001197/0.001197, allocations: 87.67 kB / 0.7318 GB, free: 1.812 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 1.257e-05/1.263e-05, allocations: 4.219 kB / 0.8503 GB, free: 149.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1896, allocations: 115.3 MB / 0.9628 GB, free: 56.97 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2435/0.4332, allocations: 136.6 MB / 1.096 GB, free: 192 kB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/0.4335, allocations: 67.95 kB / 1.096 GB, free: 124 kB / 0.7136 GB Notification: Performance of FrontEnd: time 0.3511/0.7846, allocations: 356.7 kB / 1.097 GB, free: 140.7 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.186e-06/0.7846, allocations: 5.031 kB / 1.097 GB, free: 140.7 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.0003544/0.785, allocations: 332.8 kB / 1.097 GB, free: 140.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.7851, allocations: 9.859 kB / 1.097 GB, free: 140.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.662e-05/0.7851, allocations: 4.938 kB / 1.097 GB, free: 140.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.972e-05/0.7852, allocations: 162.3 kB / 1.097 GB, free: 140.1 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.7852, allocations: 0.5625 kB / 1.097 GB, free: 140.1 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.7853, allocations: 1.906 kB / 1.097 GB, free: 140.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.942e-05/0.7853, allocations: 12.61 kB / 1.097 GB, free: 140.1 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.391e-05/0.7854, allocations: 34.39 kB / 1.097 GB, free: 140.1 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.7854, allocations: 1.531 kB / 1.097 GB, free: 140.1 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.7855, allocations: 2.938 kB / 1.097 GB, free: 140.1 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.7855, allocations: 8.438 kB / 1.097 GB, free: 140.1 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004234/0.7859, allocations: 240.7 kB / 1.097 GB, free: 139.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.572e-05/0.786, allocations: 28.5 kB / 1.097 GB, free: 139.8 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.445e-05/0.786, allocations: 10.08 kB / 1.097 GB, free: 139.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.7861, allocations: 0.5312 kB / 1.097 GB, free: 139.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.7861, allocations: 33.28 kB / 1.097 GB, free: 139.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.7861, allocations: 0 / 1.097 GB, free: 139.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001666/0.7863, allocations: 47.77 kB / 1.098 GB, free: 139.7 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.979e-05/0.7863, allocations: 52.03 kB / 1.098 GB, free: 139.7 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.019e-05/0.7864, allocations: 100.7 kB / 1.098 GB, free: 139.6 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.7864, allocations: 25.7 kB / 1.098 GB, free: 139.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.328e-05/0.7864, allocations: 83.22 kB / 1.098 GB, free: 139.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.7865, allocations: 10.03 kB / 1.098 GB, free: 139.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.7865, allocations: 0 / 1.098 GB, free: 139.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.326e-05/0.7865, allocations: 314.4 kB / 1.098 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.321e-05/0.7866, allocations: 5.156 kB / 1.098 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.191e-05/0.7866, allocations: 8.125 kB / 1.098 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.661e-05/0.7866, allocations: 8.938 kB / 1.098 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.7867, allocations: 0.5625 kB / 1.098 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001074/0.7868, allocations: 43.7 kB / 1.098 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.7868, allocations: 5.312 kB / 1.098 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.7868, allocations: 4.625 kB / 1.098 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.7868, allocations: 0.5 kB / 1.098 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.787, allocations: 15.91 kB / 1.098 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.787, allocations: 4.531 kB / 1.098 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.7871, allocations: 13.38 kB / 1.098 GB, free: 139.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.7871, allocations: 1.656 kB / 1.098 GB, free: 139.1 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 4.715e-05/0.7872, allocations: 101.6 kB / 1.098 GB, free: 139 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.582e-05/0.7872, allocations: 8.688 kB / 1.098 GB, free: 139 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.7874, allocations: 46.48 kB / 1.098 GB, free: 138.9 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.7874, allocations: 0.5 kB / 1.098 GB, free: 138.9 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.7874, allocations: 0.5625 kB / 1.098 GB, free: 138.9 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.7874, allocations: 1.203 kB / 1.098 GB, free: 138.9 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.7876, allocations: 138.5 kB / 1.098 GB, free: 138.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.7876, allocations: 0.5 kB / 1.098 GB, free: 138.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.7877, allocations: 11.58 kB / 1.098 GB, free: 138.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.7877, allocations: 1.016 kB / 1.098 GB, free: 138.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.7877, allocations: 8.469 kB / 1.098 GB, free: 138.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.7878, allocations: 1.453 kB / 1.098 GB, free: 138.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.7878, allocations: 0.5 kB / 1.098 GB, free: 138.8 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001135/0.7879, allocations: 137.1 kB / 1.099 GB, free: 138.6 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.174e-05/0.7879, allocations: 78.69 kB / 1.099 GB, free: 138.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.7879, allocations: 1.422 kB / 1.099 GB, free: 138.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.7881, allocations: 13.52 kB / 1.099 GB, free: 138.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/0.7882, allocations: 2.719 kB / 1.099 GB, free: 138.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.7882, allocations: 1.672 kB / 1.099 GB, free: 138.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.837e-05/0.7882, allocations: 80.62 kB / 1.099 GB, free: 138.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002925/0.7885, allocations: 3.281 kB / 1.099 GB, free: 138.5 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.000128/0.7886, allocations: 104 kB / 1.099 GB, free: 138.4 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.78e-05/0.7888, allocations: 20.03 kB / 1.099 GB, free: 138.4 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7888, allocations: 0 / 1.099 GB, free: 138.4 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.592e-05/0.7888, allocations: 7.25 kB / 1.099 GB, free: 138.4 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.789, allocations: 4.266 kB / 1.099 GB, free: 138.4 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002133/0.7893, allocations: 55.8 kB / 1.099 GB, free: 138.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.7894, allocations: 0.6871 MB / 1.1 GB, free: 137.6 MB / 0.7136 GB Notification: Performance of SimCode: time 6.31e-07/0.7894, allocations: 4.969 kB / 1.1 GB, free: 137.6 MB / 0.7136 GB Notification: Performance of Templates: time 0.00264/0.7921, allocations: 400.9 kB / 1.1 GB, free: 137.6 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1)