Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.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.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay") [: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.343/2.343, allocations: 284.9 MB / 292.2 MB, free: 10.7 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.001674/0.001673, allocations: 181.3 kB / 360.4 MB, free: 7.465 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.797/1.797, allocations: 205.1 MB / 0.6188 GB, free: 12.51 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00129/0.001289, allocations: 91.7 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.037e-05/1.051e-05, allocations: 0 / 0.8502 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6537/0.6537, allocations: 115.2 MB / 0.9628 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.591/5.245, allocations: 2.077 GB / 3.039 GB, free: 41.81 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/5.245, allocations: 91.92 kB / 3.039 GB, free: 41.77 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.396/7.641, allocations: 482 MB / 3.51 GB, free: 228.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.981e-05/7.641, allocations: 18.84 kB / 3.51 GB, free: 228.8 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002533/7.644, allocations: 0.9718 MB / 3.511 GB, free: 228.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/7.644, allocations: 9.969 kB / 3.511 GB, free: 228.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002132/7.646, allocations: 222.6 kB / 3.511 GB, free: 228.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002108/7.648, allocations: 0.6281 MB / 3.512 GB, free: 228 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.07e-05/7.648, allocations: 13.47 kB / 3.512 GB, free: 228 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/7.649, allocations: 30.22 kB / 3.512 GB, free: 228 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001116/7.65, allocations: 372.6 kB / 3.512 GB, free: 228 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/7.651, allocations: 407.7 kB / 3.513 GB, free: 228 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/7.651, allocations: 3.781 kB / 3.513 GB, free: 228 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.724e-05/7.651, allocations: 0 / 3.513 GB, free: 228 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.074e-05/7.651, allocations: 14.75 kB / 3.513 GB, free: 228 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004373/7.655, allocations: 2.018 MB / 3.515 GB, free: 227 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007003/7.656, allocations: 301.8 kB / 3.515 GB, free: 227 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003962/7.657, allocations: 194.3 kB / 3.515 GB, free: 227 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003834/7.657, allocations: 191.1 kB / 3.515 GB, free: 226.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/7.657, allocations: 37.84 kB / 3.515 GB, free: 226.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 2.865e-06/7.657, allocations: 0 / 3.515 GB, free: 226.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.001624/7.659, allocations: 393.4 kB / 3.516 GB, free: 226.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/7.659, allocations: 58.97 kB / 3.516 GB, free: 226.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007116/7.659, allocations: 377 kB / 3.516 GB, free: 226.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.846e-05/7.66, allocations: 25.7 kB / 3.516 GB, free: 226.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/7.66, allocations: 232.4 kB / 3.516 GB, free: 226.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/7.66, allocations: 114.7 kB / 3.516 GB, free: 226.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.549e-05/7.66, allocations: 0 / 3.516 GB, free: 226.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.00011/7.66, allocations: 358.2 kB / 3.517 GB, free: 226 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/7.66, allocations: 113.4 kB / 3.517 GB, free: 226 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000371/7.661, allocations: 203.4 kB / 3.517 GB, free: 225.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003739/7.661, allocations: 149.5 kB / 3.517 GB, free: 225.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/7.661, allocations: 0 / 3.517 GB, free: 225.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009469/7.662, allocations: 370.9 kB / 3.518 GB, free: 225.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.417e-05/7.662, allocations: 364.8 kB / 3.518 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/7.662, allocations: 0 / 3.518 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-05/7.662, allocations: 7.406 kB / 3.518 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007242/7.663, allocations: 75.47 kB / 3.518 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/7.663, allocations: 7.375 kB / 3.518 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/7.664, allocations: 55.72 kB / 3.518 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-05/7.664, allocations: 15.75 kB / 3.518 GB, free: 225.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/7.664, allocations: 3.906 kB / 3.518 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007428/7.665, allocations: 287 kB / 3.518 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/7.665, allocations: 0 / 3.518 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/7.665, allocations: 3.969 kB / 3.518 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006305/7.666, allocations: 76.11 kB / 3.518 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/7.666, allocations: 0 / 3.518 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/7.667, allocations: 58.94 kB / 3.519 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-05/7.667, allocations: 15.22 kB / 3.519 GB, free: 225.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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 0.0001649/7.667, allocations: 111.3 kB / 3.519 GB, free: 225.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/7.667, allocations: 54.22 kB / 3.519 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009928/7.668, allocations: 367.7 kB / 3.519 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/7.668, allocations: 3.875 kB / 3.519 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/7.668, allocations: 0 / 3.519 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006504/7.669, allocations: 385.8 kB / 3.519 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002602/7.672, allocations: 1.052 MB / 3.52 GB, free: 224.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.303e-06/7.672, allocations: 6.969 kB / 3.52 GB, free: 224.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008812/7.672, allocations: 83.97 kB / 3.521 GB, free: 224.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.827e-06/7.673, allocations: 0 / 3.521 GB, free: 224.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.289e-05/7.673, allocations: 10.09 kB / 3.521 GB, free: 224.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.706e-06/7.673, allocations: 10.56 kB / 3.521 GB, free: 224.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/7.673, allocations: 7.125 kB / 3.521 GB, free: 224.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001396/7.674, allocations: 0.7446 MB / 3.521 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004397/7.674, allocations: 170.5 kB / 3.521 GB, free: 224.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/7.675, allocations: 9.094 kB / 3.521 GB, free: 224.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/7.676, allocations: 43.59 kB / 3.521 GB, free: 224.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.135e-05/7.676, allocations: 26.83 kB / 3.522 GB, free: 224.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.462e-05/7.676, allocations: 14.12 kB / 3.522 GB, free: 224.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004904/7.676, allocations: 296.7 kB / 3.522 GB, free: 224.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001599/7.678, allocations: 410.2 kB / 3.522 GB, free: 224.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.U,del.dynBal.m,del.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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.002401/7.68, allocations: 1.435 MB / 3.524 GB, free: 223.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001293/7.682, allocations: 480.9 kB / 3.524 GB, free: 223.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/7.682, allocations: 0 / 3.524 GB, free: 223.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003935/7.682, allocations: 158.8 kB / 3.524 GB, free: 223.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003224/7.685, allocations: 328 kB / 3.525 GB, free: 223.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002795/7.688, allocations: 0.9548 MB / 3.525 GB, free: 223.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007659/7.689, allocations: 0.9947 MB / 3.526 GB, free: 222.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.282e-06/7.689, allocations: 0 / 3.526 GB, free: 222.9 MB / 0.948 GB Notification: Performance of Templates: time 0.04897/7.738, allocations: 19.09 MB / 3.545 GB, free: 222.6 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)