Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example4.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.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.611/1.611, allocations: 289.8 MB / 297.1 MB, free: 6.66 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.001083/0.001083, allocations: 173.3 kB / 366.3 MB, free: 1.957 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.525/1.525, allocations: 205.1 MB / 0.6256 GB, free: 5.789 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.0009099/0.0009096, allocations: 86.23 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.252e-06/6.292e-06, allocations: 0 / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6932/0.6932, allocations: 116.3 MB / 0.9726 GB, free: 68.18 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.154/5.848, allocations: 2.106 GB / 3.078 GB, free: 352.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000404/5.848, allocations: 93.22 kB / 3.078 GB, free: 352.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.256/11.1, allocations: 1.452 GB / 4.531 GB, free: 128.4 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0001237/11.1, allocations: 33.31 kB / 4.531 GB, free: 128.4 MB / 0.9792 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.005529/11.11, allocations: 1.916 MB / 4.532 GB, free: 128 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/11.11, allocations: 10.03 kB / 4.532 GB, free: 128 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003314/11.11, allocations: 0.5486 MB / 4.533 GB, free: 127.9 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003393/11.12, allocations: 1.23 MB / 4.534 GB, free: 127.6 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009042/11.12, allocations: 262.2 kB / 4.534 GB, free: 127.6 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/11.12, allocations: 59.28 kB / 4.534 GB, free: 127.6 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001541/11.12, allocations: 0.73 MB / 4.535 GB, free: 127.6 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/11.12, allocations: 1.067 MB / 4.536 GB, free: 127.3 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.985e-05/11.12, allocations: 8.031 kB / 4.536 GB, free: 127.3 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.942e-05/11.12, allocations: 7.094 kB / 4.536 GB, free: 127.3 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.385e-05/11.12, allocations: 47.44 kB / 4.536 GB, free: 127.3 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007755/11.13, allocations: 6.526 MB / 4.543 GB, free: 123.3 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00072/11.13, allocations: 468.1 kB / 4.543 GB, free: 123.1 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002443/11.13, allocations: 185.2 kB / 4.543 GB, free: 123.1 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004349/11.13, allocations: 367.9 kB / 4.544 GB, free: 122.8 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/11.13, allocations: 45.81 kB / 4.544 GB, free: 122.7 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=33): time 5.1e-06/11.13, allocations: 0 / 4.544 GB, free: 122.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=33): time 0.001432/11.13, allocations: 0.5199 MB / 4.544 GB, free: 122.6 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/11.13, allocations: 56.19 kB / 4.544 GB, free: 122.6 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/11.13, allocations: 0.8297 MB / 4.545 GB, free: 122.4 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 5.522e-05/11.13, allocations: 25.7 kB / 4.545 GB, free: 122.4 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003191/11.13, allocations: 0.5194 MB / 4.546 GB, free: 122.1 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 9.969e-05/11.13, allocations: 119.7 kB / 4.546 GB, free: 122.1 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/11.13, allocations: 0 / 4.546 GB, free: 122.1 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.752e-05/11.13, allocations: 329.6 kB / 4.546 GB, free: 121.8 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002948/11.13, allocations: 193.8 kB / 4.546 GB, free: 121.8 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005189/11.13, allocations: 0.5623 MB / 4.547 GB, free: 121.3 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005318/11.14, allocations: 320.8 kB / 4.547 GB, free: 121.3 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.964e-06/11.14, allocations: 3.938 kB / 4.547 GB, free: 121.3 MB / 0.9792 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001228/11.14, allocations: 0.7572 MB / 4.548 GB, free: 121.2 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001106/11.14, allocations: 4.084 MB / 4.552 GB, free: 117 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/11.14, allocations: 14.5 kB / 4.552 GB, free: 117 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.179e-05/11.14, allocations: 14.53 kB / 4.552 GB, free: 117 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009086/11.14, allocations: 218.1 kB / 4.552 GB, free: 117 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-05/11.14, allocations: 23.69 kB / 4.552 GB, free: 117 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/11.14, allocations: 190.1 kB / 4.552 GB, free: 116.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/11.14, allocations: 45.03 kB / 4.552 GB, free: 116.9 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 8.636e-06/11.14, allocations: 4.5 kB / 4.552 GB, free: 116.9 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001059/11.14, allocations: 0.6181 MB / 4.553 GB, free: 116.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/11.14, allocations: 10.28 kB / 4.553 GB, free: 116.9 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/11.14, allocations: 16.69 kB / 4.553 GB, free: 116.9 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007935/11.14, allocations: 213 kB / 4.553 GB, free: 116.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/11.14, allocations: 24.44 kB / 4.553 GB, free: 116.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/11.14, allocations: 157.3 kB / 4.553 GB, free: 116.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.129e-05/11.14, allocations: 46.86 kB / 4.553 GB, free: 116.9 MB / 0.9792 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.0002113/11.14, allocations: 128.7 kB / 4.553 GB, free: 116.8 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/11.14, allocations: 113.8 kB / 4.554 GB, free: 116.8 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/11.14, allocations: 0.5021 MB / 4.554 GB, free: 116.7 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/11.14, allocations: 3.969 kB / 4.554 GB, free: 116.7 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/11.14, allocations: 3.844 kB / 4.554 GB, free: 116.7 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.331e-06/11.14, allocations: 0 / 4.554 GB, free: 116.7 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002855/11.15, allocations: 1.684 MB / 4.556 GB, free: 116.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/11.15, allocations: 10.92 kB / 4.556 GB, free: 116.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005241/11.15, allocations: 105.9 kB / 4.556 GB, free: 116.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/11.15, allocations: 10.81 kB / 4.556 GB, free: 116.2 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.682e-05/11.15, allocations: 10.83 kB / 4.556 GB, free: 116.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.715e-06/11.15, allocations: 6.562 kB / 4.556 GB, free: 116.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/11.15, allocations: 4.844 kB / 4.556 GB, free: 116.2 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008745/11.15, allocations: 0.8485 MB / 4.557 GB, free: 115.7 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003717/11.15, allocations: 263.6 kB / 4.557 GB, free: 115.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002443/11.15, allocations: 9.656 kB / 4.557 GB, free: 115.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009577/11.15, allocations: 109.8 kB / 4.557 GB, free: 115.5 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.807e-05/11.15, allocations: 24.14 kB / 4.557 GB, free: 115.5 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-05/11.15, allocations: 24.77 kB / 4.557 GB, free: 115.5 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.0007759/11.15, allocations: 0.6192 MB / 4.558 GB, free: 115.4 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.003025/11.15, allocations: 0.8248 MB / 4.559 GB, free: 115.4 MB / 0.9792 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.004957/11.16, allocations: 3.513 MB / 4.562 GB, free: 114.1 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001602/11.16, allocations: 0.829 MB / 4.563 GB, free: 114 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 7.004e-06/11.16, allocations: 3.594 kB / 4.563 GB, free: 114 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002799/11.16, allocations: 184.9 kB / 4.563 GB, free: 114 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002047/11.16, allocations: 370.4 kB / 4.563 GB, free: 114 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004798/11.17, allocations: 1.679 MB / 4.565 GB, free: 113.5 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009068/11.17, allocations: 1.302 MB / 4.566 GB, free: 112.8 MB / 0.9792 GB Notification: Performance of SimCode: time 1.022e-06/11.17, allocations: 3.594 kB / 4.566 GB, free: 112.8 MB / 0.9792 GB Notification: Performance of Templates: time 0.06288/11.23, allocations: 36.51 MB / 4.602 GB, free: 112.1 MB / 0.9792 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example4.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1)