Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Delays.Examples.Delay.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.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.565/1.565, allocations: 289.8 MB / 297.1 MB, free: 6.625 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.001212/0.001212, allocations: 181.3 kB / 366.3 MB, free: 1.973 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.618/1.618, allocations: 205.1 MB / 0.6256 GB, free: 7.441 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.001065/0.001065, allocations: 84.84 kB / 0.7395 GB, free: 39.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.216e-06/8.246e-06, allocations: 4 kB / 0.859 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7259/0.7259, allocations: 116.3 MB / 0.9725 GB, free: 76.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.21/4.936, allocations: 2.078 GB / 3.05 GB, free: 26.56 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/4.936, allocations: 89.88 kB / 3.05 GB, free: 26.48 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.021/6.957, allocations: 482 MB / 3.521 GB, free: 232.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.759e-05/6.958, allocations: 23.55 kB / 3.521 GB, free: 232.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.001817/6.959, allocations: 0.9563 MB / 3.522 GB, free: 232.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/6.959, allocations: 13.59 kB / 3.522 GB, free: 232.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001456/6.961, allocations: 219.4 kB / 3.522 GB, free: 232.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/6.962, allocations: 0.6333 MB / 3.523 GB, free: 232 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/6.962, allocations: 14.81 kB / 3.523 GB, free: 232 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.791e-05/6.962, allocations: 26.97 kB / 3.523 GB, free: 232 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006232/6.963, allocations: 373.4 kB / 3.523 GB, free: 232 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006314/6.963, allocations: 404.8 kB / 3.524 GB, free: 231.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/6.964, allocations: 3.438 kB / 3.524 GB, free: 231.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.209e-05/6.964, allocations: 0 / 3.524 GB, free: 231.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.628e-05/6.964, allocations: 16.66 kB / 3.524 GB, free: 231.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002441/6.966, allocations: 2.011 MB / 3.526 GB, free: 231 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003952/6.966, allocations: 300.3 kB / 3.526 GB, free: 230.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/6.967, allocations: 193.7 kB / 3.526 GB, free: 230.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002789/6.967, allocations: 190.1 kB / 3.526 GB, free: 230.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/6.967, allocations: 45.5 kB / 3.526 GB, free: 230.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 1.984e-06/6.967, allocations: 0 / 3.526 GB, free: 230.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.000943/6.968, allocations: 384 kB / 3.527 GB, free: 230.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/6.968, allocations: 60.56 kB / 3.527 GB, free: 230.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003741/6.968, allocations: 372.2 kB / 3.527 GB, free: 230.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/6.968, allocations: 31.92 kB / 3.527 GB, free: 230.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/6.969, allocations: 230.8 kB / 3.527 GB, free: 230.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.338e-05/6.969, allocations: 113.7 kB / 3.527 GB, free: 230.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.54e-05/6.969, allocations: 0 / 3.527 GB, free: 230.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001021/6.969, allocations: 364.2 kB / 3.528 GB, free: 229.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/6.969, allocations: 112.5 kB / 3.528 GB, free: 229.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/6.969, allocations: 206.5 kB / 3.528 GB, free: 229.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/6.969, allocations: 148.9 kB / 3.528 GB, free: 229.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/6.969, allocations: 3.906 kB / 3.528 GB, free: 229.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004843/6.97, allocations: 374.8 kB / 3.528 GB, free: 229.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.328e-05/6.97, allocations: 364.5 kB / 3.529 GB, free: 229.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/6.97, allocations: 0 / 3.529 GB, free: 229.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/6.97, allocations: 3.969 kB / 3.529 GB, free: 229.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003683/6.97, allocations: 79.17 kB / 3.529 GB, free: 229.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/6.97, allocations: 0 / 3.529 GB, free: 229.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000573/6.971, allocations: 55.78 kB / 3.529 GB, free: 229.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-05/6.971, allocations: 10.91 kB / 3.529 GB, free: 229.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.4e-06/6.971, allocations: 3.969 kB / 3.529 GB, free: 229.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004008/6.971, allocations: 284.6 kB / 3.529 GB, free: 229.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/6.971, allocations: 10.75 kB / 3.529 GB, free: 229.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.158e-06/6.971, allocations: 3.219 kB / 3.529 GB, free: 229.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003235/6.972, allocations: 74.86 kB / 3.529 GB, free: 229.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/6.972, allocations: 3.969 kB / 3.529 GB, free: 229.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004744/6.972, allocations: 57.03 kB / 3.529 GB, free: 229.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/6.972, allocations: 15.09 kB / 3.529 GB, free: 229.4 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 9.446e-05/6.972, allocations: 113 kB / 3.53 GB, free: 229.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.992e-05/6.972, allocations: 58.06 kB / 3.53 GB, free: 229.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005493/6.973, allocations: 363.5 kB / 3.53 GB, free: 229.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/6.973, allocations: 3.312 kB / 3.53 GB, free: 229.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/6.973, allocations: 3.812 kB / 3.53 GB, free: 229.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003872/6.973, allocations: 382.6 kB / 3.53 GB, free: 229 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/6.975, allocations: 1.055 MB / 3.531 GB, free: 228.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/6.975, allocations: 3.375 kB / 3.531 GB, free: 228.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004327/6.975, allocations: 94.61 kB / 3.531 GB, free: 228.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/6.975, allocations: 3.875 kB / 3.531 GB, free: 228.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/6.975, allocations: 3.969 kB / 3.531 GB, free: 228.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/6.975, allocations: 3.969 kB / 3.531 GB, free: 228.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/6.975, allocations: 3.469 kB / 3.531 GB, free: 228.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007524/6.976, allocations: 0.7471 MB / 3.532 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001937/6.976, allocations: 176 kB / 3.532 GB, free: 228.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.078e-05/6.976, allocations: 3.938 kB / 3.532 GB, free: 228.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005086/6.977, allocations: 47.75 kB / 3.532 GB, free: 228.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.313e-05/6.977, allocations: 21.72 kB / 3.532 GB, free: 228.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.953e-05/6.977, allocations: 22.09 kB / 3.532 GB, free: 228.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0002919/6.977, allocations: 287.3 kB / 3.533 GB, free: 228.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001123/6.978, allocations: 413.7 kB / 3.533 GB, free: 228.1 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.001841/6.98, allocations: 1.433 MB / 3.534 GB, free: 227.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000896/6.981, allocations: 480.5 kB / 3.535 GB, free: 227.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/6.981, allocations: 1.062 kB / 3.535 GB, free: 227.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003226/6.982, allocations: 162.5 kB / 3.535 GB, free: 227.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001779/6.983, allocations: 329.7 kB / 3.535 GB, free: 227.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/6.986, allocations: 0.9611 MB / 3.536 GB, free: 227.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005498/6.986, allocations: 0.9991 MB / 3.537 GB, free: 226.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.102e-06/6.986, allocations: 0 / 3.537 GB, free: 226.8 MB / 0.948 GB Notification: Performance of Templates: time 0.03227/7.018, allocations: 19.09 MB / 3.556 GB, free: 226.4 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_8_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_8_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)