Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4.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.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4") [: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.251/2.251, allocations: 284.9 MB / 292.2 MB, free: 10.74 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.001663/0.001662, allocations: 177.2 kB / 360.4 MB, free: 7.516 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.838/1.838, allocations: 205.1 MB / 0.6188 GB, free: 12.43 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.001278/0.001277, allocations: 91.73 kB / 0.7318 GB, free: 45.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.185e-05/1.201e-05, allocations: 4 kB / 0.8502 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6303/0.6303, allocations: 115.2 MB / 0.9628 GB, free: 78.06 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.078/5.709, allocations: 2.105 GB / 3.067 GB, free: 263.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/5.709, allocations: 84.05 kB / 3.067 GB, free: 263.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 6.845/12.55, allocations: 1.452 GB / 4.52 GB, free: 121.1 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002324/12.55, allocations: 35.58 kB / 4.52 GB, free: 121.1 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.007214/12.56, allocations: 1.916 MB / 4.522 GB, free: 120.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/12.56, allocations: 11.47 kB / 4.522 GB, free: 120.5 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005445/12.57, allocations: 0.5486 MB / 4.522 GB, free: 120.5 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005378/12.57, allocations: 1.226 MB / 4.523 GB, free: 120.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001877/12.57, allocations: 265.8 kB / 4.524 GB, free: 120.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004287/12.58, allocations: 60.56 kB / 4.524 GB, free: 120.2 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002448/12.58, allocations: 0.7283 MB / 4.524 GB, free: 120.1 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002618/12.58, allocations: 1.072 MB / 4.525 GB, free: 119.9 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.014e-05/12.58, allocations: 6.188 kB / 4.525 GB, free: 119.9 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001518/12.58, allocations: 0 / 4.525 GB, free: 119.9 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.687e-05/12.58, allocations: 54.84 kB / 4.525 GB, free: 119.8 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01236/12.59, allocations: 6.529 MB / 4.532 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/12.59, allocations: 465.2 kB / 4.532 GB, free: 115.7 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004313/12.59, allocations: 193.4 kB / 4.532 GB, free: 115.7 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005673/12.6, allocations: 369.1 kB / 4.533 GB, free: 115.3 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/12.6, allocations: 38.22 kB / 4.533 GB, free: 115.2 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=33): time 3.266e-06/12.6, allocations: 0 / 4.533 GB, free: 115.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=33): time 0.002289/12.6, allocations: 0.5191 MB / 4.533 GB, free: 115.2 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/12.6, allocations: 54.91 kB / 4.533 GB, free: 115.1 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/12.6, allocations: 0.8303 MB / 4.534 GB, free: 114.9 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.00018/12.6, allocations: 33.05 kB / 4.534 GB, free: 114.9 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003772/12.6, allocations: 0.5135 MB / 4.535 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001647/12.6, allocations: 114 kB / 4.535 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.739e-05/12.6, allocations: 0 / 4.535 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.958e-05/12.6, allocations: 335 kB / 4.535 GB, free: 114.3 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005358/12.6, allocations: 195.8 kB / 4.535 GB, free: 114.3 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007629/12.6, allocations: 0.5576 MB / 4.536 GB, free: 113.9 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009766/12.6, allocations: 321 kB / 4.536 GB, free: 113.9 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/12.6, allocations: 3.844 kB / 4.536 GB, free: 113.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002274/12.61, allocations: 0.7531 MB / 4.537 GB, free: 113.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001037/12.61, allocations: 4.099 MB / 4.541 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.449e-05/12.61, allocations: 11.88 kB / 4.541 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.479e-05/12.61, allocations: 15.28 kB / 4.541 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001863/12.61, allocations: 212.9 kB / 4.541 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.578e-05/12.61, allocations: 26.94 kB / 4.541 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002662/12.61, allocations: 188.6 kB / 4.541 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002385/12.61, allocations: 45.8 kB / 4.541 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/12.61, allocations: 3.094 kB / 4.541 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001949/12.61, allocations: 0.6122 MB / 4.542 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/12.61, allocations: 11.53 kB / 4.542 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/12.61, allocations: 14.88 kB / 4.542 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/12.62, allocations: 223.7 kB / 4.542 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.281e-05/12.62, allocations: 25.81 kB / 4.542 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002327/12.62, allocations: 150.5 kB / 4.542 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002515/12.62, allocations: 40.94 kB / 4.542 GB, free: 109.5 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0003341/12.62, allocations: 133.9 kB / 4.543 GB, free: 109.4 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004273/12.62, allocations: 117.9 kB / 4.543 GB, free: 109.3 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001783/12.62, allocations: 0.5001 MB / 4.543 GB, free: 109.2 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/12.62, allocations: 3.969 kB / 4.543 GB, free: 109.2 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/12.62, allocations: 0 / 4.543 GB, free: 109.2 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/12.62, allocations: 3.75 kB / 4.543 GB, free: 109.2 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005489/12.63, allocations: 1.684 MB / 4.545 GB, free: 108.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/12.63, allocations: 6.625 kB / 4.545 GB, free: 108.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/12.63, allocations: 108.8 kB / 4.545 GB, free: 108.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.55e-05/12.63, allocations: 7.5 kB / 4.545 GB, free: 108.8 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.406e-05/12.63, allocations: 10.72 kB / 4.545 GB, free: 108.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.135e-06/12.63, allocations: 4.875 kB / 4.545 GB, free: 108.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.235e-06/12.63, allocations: 9.062 kB / 4.545 GB, free: 108.8 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001636/12.63, allocations: 0.8362 MB / 4.546 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007066/12.63, allocations: 259.7 kB / 4.546 GB, free: 108.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004297/12.63, allocations: 3.969 kB / 4.546 GB, free: 108.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002112/12.63, allocations: 111.1 kB / 4.546 GB, free: 108.1 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/12.63, allocations: 32.98 kB / 4.546 GB, free: 108.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.135e-05/12.63, allocations: 25.45 kB / 4.546 GB, free: 108.1 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.001386/12.63, allocations: 0.619 MB / 4.547 GB, free: 107.9 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004327/12.64, allocations: 0.8244 MB / 4.548 GB, free: 107.9 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.006031/12.64, allocations: 3.521 MB / 4.551 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002475/12.65, allocations: 0.8266 MB / 4.552 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-05/12.65, allocations: 0 / 4.552 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0005263/12.65, allocations: 181 kB / 4.552 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003671/12.65, allocations: 383.3 kB / 4.552 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008351/12.66, allocations: 1.673 MB / 4.554 GB, free: 106 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001624/12.66, allocations: 1.305 MB / 4.555 GB, free: 105.3 MB / 0.9636 GB Notification: Performance of SimCode: time 1.182e-06/12.66, allocations: 0 / 4.555 GB, free: 105.3 MB / 0.9636 GB Notification: Performance of Templates: time 0.09384/12.76, allocations: 36.5 MB / 4.591 GB, free: 104.7 MB / 0.9636 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1)