Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.568/1.568, allocations: 285.5 MB / 292.8 MB, free: 10.54 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.00149/0.00149, allocations: 177.3 kB / 361.1 MB, free: 7.113 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.589/1.589, allocations: 205.1 MB / 0.6195 GB, free: 11.96 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.0009432/0.0009433, allocations: 95.7 kB / 0.7326 GB, free: 44.5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.157e-06/9.257e-06, allocations: 0 / 0.8511 GB, free: 3.27 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7177/0.7177, allocations: 115.3 MB / 0.9637 GB, free: 77.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.286/5.004, allocations: 2.077 GB / 3.04 GB, free: 59.55 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/5.004, allocations: 88.59 kB / 3.04 GB, free: 59.46 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.089/7.093, allocations: 482 MB / 3.511 GB, free: 225.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.043e-05/7.093, allocations: 20.75 kB / 3.511 GB, free: 225.2 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.001997/7.095, allocations: 0.9677 MB / 3.512 GB, free: 224.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/7.095, allocations: 7.406 kB / 3.512 GB, free: 224.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/7.096, allocations: 221.3 kB / 3.512 GB, free: 224.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/7.098, allocations: 0.6252 MB / 3.513 GB, free: 224.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/7.098, allocations: 14.91 kB / 3.513 GB, free: 224.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.349e-05/7.098, allocations: 40.38 kB / 3.513 GB, free: 224.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006223/7.098, allocations: 372.7 kB / 3.513 GB, free: 224.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006349/7.099, allocations: 396.3 kB / 3.514 GB, free: 224.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/7.099, allocations: 0 / 3.514 GB, free: 224.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.472e-05/7.099, allocations: 0 / 3.514 GB, free: 224.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.841e-05/7.099, allocations: 19.02 kB / 3.514 GB, free: 224.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002542/7.102, allocations: 2.021 MB / 3.516 GB, free: 223.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004077/7.102, allocations: 303.5 kB / 3.516 GB, free: 223.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000231/7.102, allocations: 185.5 kB / 3.516 GB, free: 223.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002931/7.103, allocations: 192.8 kB / 3.516 GB, free: 223.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/7.103, allocations: 38.06 kB / 3.516 GB, free: 223.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 1.733e-06/7.103, allocations: 0 / 3.516 GB, free: 223.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.000918/7.104, allocations: 390.2 kB / 3.517 GB, free: 223.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.232e-05/7.104, allocations: 54.84 kB / 3.517 GB, free: 223.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003702/7.104, allocations: 380.4 kB / 3.517 GB, free: 223 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/7.104, allocations: 25.7 kB / 3.517 GB, free: 223 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/7.104, allocations: 232 kB / 3.517 GB, free: 222.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.356e-05/7.104, allocations: 111.9 kB / 3.517 GB, free: 222.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.588e-05/7.104, allocations: 0 / 3.517 GB, free: 222.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001088/7.104, allocations: 364.7 kB / 3.518 GB, free: 222.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/7.104, allocations: 114.7 kB / 3.518 GB, free: 222.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/7.105, allocations: 205.4 kB / 3.518 GB, free: 222.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/7.105, allocations: 146 kB / 3.518 GB, free: 222.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/7.105, allocations: 0 / 3.518 GB, free: 222.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004996/7.105, allocations: 378.3 kB / 3.519 GB, free: 222.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.266e-05/7.106, allocations: 365.8 kB / 3.519 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/7.106, allocations: 0 / 3.519 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/7.106, allocations: 6.734 kB / 3.519 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003774/7.106, allocations: 73.42 kB / 3.519 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/7.106, allocations: 7.344 kB / 3.519 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005477/7.107, allocations: 52.06 kB / 3.519 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.064e-05/7.107, allocations: 13.5 kB / 3.519 GB, free: 222 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.34e-06/7.107, allocations: 3.875 kB / 3.519 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004098/7.107, allocations: 287.8 kB / 3.519 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-06/7.107, allocations: 3.75 kB / 3.519 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.348e-06/7.107, allocations: 3.938 kB / 3.519 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000317/7.107, allocations: 80.16 kB / 3.519 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/7.107, allocations: 3.719 kB / 3.52 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000466/7.108, allocations: 51.94 kB / 3.52 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/7.108, allocations: 14.94 kB / 3.52 GB, free: 221.9 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 8.926e-05/7.108, allocations: 108.3 kB / 3.52 GB, free: 221.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.755e-05/7.108, allocations: 52.03 kB / 3.52 GB, free: 221.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005664/7.109, allocations: 364 kB / 3.52 GB, free: 221.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/7.109, allocations: 7.438 kB / 3.52 GB, free: 221.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/7.109, allocations: 0 / 3.52 GB, free: 221.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004/7.109, allocations: 393.8 kB / 3.52 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/7.11, allocations: 1.049 MB / 3.521 GB, free: 221.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/7.11, allocations: 3.844 kB / 3.521 GB, free: 221.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004498/7.111, allocations: 90.8 kB / 3.522 GB, free: 221.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/7.111, allocations: 7.5 kB / 3.522 GB, free: 221.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/7.111, allocations: 7.375 kB / 3.522 GB, free: 221.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/7.111, allocations: 3.719 kB / 3.522 GB, free: 221.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/7.111, allocations: 9.141 kB / 3.522 GB, free: 221.3 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007687/7.112, allocations: 0.7431 MB / 3.522 GB, free: 220.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002063/7.112, allocations: 175 kB / 3.522 GB, free: 220.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.459e-05/7.112, allocations: 7.531 kB / 3.522 GB, free: 220.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005149/7.113, allocations: 47.31 kB / 3.523 GB, free: 220.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.679e-05/7.113, allocations: 27.2 kB / 3.523 GB, free: 220.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/7.113, allocations: 14.44 kB / 3.523 GB, free: 220.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0002746/7.113, allocations: 293.1 kB / 3.523 GB, free: 220.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001165/7.114, allocations: 406.7 kB / 3.523 GB, free: 220.7 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.001864/7.116, allocations: 1.432 MB / 3.525 GB, free: 220.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006478/7.117, allocations: 479.8 kB / 3.525 GB, free: 220.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/7.117, allocations: 0 / 3.525 GB, free: 220.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002031/7.117, allocations: 164.3 kB / 3.525 GB, free: 220.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/7.118, allocations: 325.3 kB / 3.526 GB, free: 220.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/7.12, allocations: 0.9612 MB / 3.527 GB, free: 220.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005297/7.121, allocations: 0.9879 MB / 3.527 GB, free: 219.4 MB / 0.948 GB Notification: Performance of SimCode: time 2.8e-07/7.121, allocations: 0 / 3.527 GB, free: 219.4 MB / 0.948 GB Notification: Performance of Templates: time 0.03127/7.152, allocations: 19.11 MB / 3.546 GB, free: 219 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)