Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example8.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example8") [: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 7.0.1/package.mo): time 2.148/2.148, allocations: 253.1 MB / 260.4 MB, free: 7.613 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001564/0.001564, allocations: 189.2 kB / 319.6 MB, free: 3.305 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.803/1.803, allocations: 205.4 MB / 0.5704 GB, free: 15.05 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001321/0.00132, allocations: 99.25 kB / 0.6746 GB, free: 4.398 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.052e-05/1.064e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2613, allocations: 106.2 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.699/0.9604, allocations: 130.8 MB / 1.016 GB, free: 7.484 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/0.9607, allocations: 71.02 kB / 1.016 GB, free: 7.445 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.0006711/0.9614, allocations: 88.38 kB / 1.016 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.9614, allocations: 0 / 1.016 GB, free: 7.375 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002413/0.9616, allocations: 311.3 kB / 1.016 GB, free: 7.031 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.9617, allocations: 12.03 kB / 1.016 GB, free: 7.02 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.441e-05/0.9617, allocations: 3.906 kB / 1.016 GB, free: 7.016 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.9619, allocations: 163 kB / 1.016 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.9619, allocations: 4 kB / 1.016 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.9619, allocations: 0 / 1.016 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.018e-05/0.962, allocations: 3.984 kB / 1.016 GB, free: 6.809 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.159e-05/0.9621, allocations: 41.23 kB / 1.016 GB, free: 6.758 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.9621, allocations: 0 / 1.016 GB, free: 6.758 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-06/0.9621, allocations: 4 kB / 1.016 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.9622, allocations: 0 / 1.016 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/0.9623, allocations: 138 kB / 1.017 GB, free: 6.582 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.108e-05/0.9624, allocations: 40.02 kB / 1.017 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.869e-05/0.9624, allocations: 13.72 kB / 1.017 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.9625, allocations: 0 / 1.017 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.9625, allocations: 38.56 kB / 1.017 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.094e-06/0.9625, allocations: 0 / 1.017 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001496/0.9627, allocations: 39.95 kB / 1.017 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.9628, allocations: 77.11 kB / 1.017 GB, free: 6.328 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.798e-05/0.9628, allocations: 85 kB / 1.017 GB, free: 6.238 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.9628, allocations: 30.55 kB / 1.017 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.701e-05/0.9629, allocations: 88.19 kB / 1.017 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.9629, allocations: 7.844 kB / 1.017 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-06/0.9629, allocations: 0 / 1.017 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.9631, allocations: 310.8 kB / 1.017 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.214e-05/0.9631, allocations: 3.75 kB / 1.017 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.883e-05/0.9631, allocations: 13.72 kB / 1.017 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.901e-05/0.9631, allocations: 4 kB / 1.017 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.9632, allocations: 7.969 kB / 1.017 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.023e-05/0.9633, allocations: 45.56 kB / 1.017 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.9633, allocations: 4 kB / 1.017 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.9633, allocations: 0 / 1.017 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.9633, allocations: 0 / 1.017 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.169e-05/0.9634, allocations: 4 kB / 1.017 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.9634, allocations: 0 / 1.017 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.394e-05/0.9634, allocations: 0 / 1.017 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.9635, allocations: 4 kB / 1.017 GB, free: 5.699 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 8.238e-05/0.9636, allocations: 109 kB / 1.017 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.274e-05/0.9636, allocations: 0 / 1.017 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001367/0.9637, allocations: 51.45 kB / 1.018 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.9637, allocations: 0 / 1.018 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.9638, allocations: 8.5 kB / 1.018 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.9638, allocations: 0 / 1.018 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.925e-05/0.9639, allocations: 134 kB / 1.018 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.9639, allocations: 4.062 kB / 1.018 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.04e-05/0.9639, allocations: 8.562 kB / 1.018 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.964, allocations: 3.984 kB / 1.018 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.964, allocations: 4 kB / 1.018 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.964, allocations: 0 / 1.018 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.964, allocations: 4 kB / 1.018 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001072/0.9641, allocations: 83.23 kB / 1.018 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.114e-05/0.9642, allocations: 77.11 kB / 1.018 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.9642, allocations: 4 kB / 1.018 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.355e-05/0.9642, allocations: 0 / 1.018 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.501e-05/0.9643, allocations: 3.984 kB / 1.018 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.9643, allocations: 0 / 1.018 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.475e-05/0.9643, allocations: 77.72 kB / 1.018 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002428/0.9646, allocations: 4 kB / 1.018 GB, free: 5.055 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0001424/0.9647, allocations: 99.28 kB / 1.018 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.237e-05/0.9648, allocations: 7.938 kB / 1.018 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.9648, allocations: 3 kB / 1.018 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.405e-05/0.9648, allocations: 4 kB / 1.018 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001214/0.965, allocations: 6.094 kB / 1.018 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002124/0.9652, allocations: 64.7 kB / 1.018 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002809/0.9655, allocations: 0.6917 MB / 1.019 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of SimCode: time 6.52e-07/0.9655, allocations: 0 / 1.019 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of Templates: time 0.002263/0.9678, allocations: 202.4 kB / 1.019 GB, free: 3.938 MB / 0.6355 GB