Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4") translateModel(BuildingSystems.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.9643/0.9643, allocations: 141.8 MB / 149.1 MB, free: 1.543 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 181.2 kB / 181.9 MB, free: 0.9375 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 221.4 MB / 436 MB, free: 5.762 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 92.61 kB / 0.507 GB, free: 2.434 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001814/0.001814, allocations: 283.5 kB / 0.5884 GB, free: 47.38 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 9.348e-06/9.508e-06, allocations: 4 kB / 0.6759 GB, free: 5.746 MB / 458.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.487/0.487, allocations: 82.77 MB / 0.7567 GB, free: 24.87 MB / 458.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.736/4.223, allocations: 1.911 GB / 2.668 GB, free: 83.4 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002131/4.223, allocations: 85.23 kB / 2.668 GB, free: 83.32 MB / 0.6982 GB Notification: Performance of FrontEnd: time 5.446/9.669, allocations: 1.471 GB / 4.139 GB, free: 90.43 MB / 0.745 GB Notification: Performance of Transformations before backend: time 0.000255/9.669, allocations: 45.7 kB / 4.139 GB, free: 90.43 MB / 0.745 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.007487/9.677, allocations: 1.901 MB / 4.141 GB, free: 89.83 MB / 0.745 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/9.677, allocations: 8.406 kB / 4.141 GB, free: 89.83 MB / 0.745 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003838/9.68, allocations: 0.548 MB / 4.141 GB, free: 89.75 MB / 0.745 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004524/9.685, allocations: 1.244 MB / 4.143 GB, free: 89.44 MB / 0.745 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009625/9.686, allocations: 264.5 kB / 4.143 GB, free: 89.44 MB / 0.745 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003866/9.686, allocations: 61.69 kB / 4.143 GB, free: 89.44 MB / 0.745 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001972/9.688, allocations: 0.7265 MB / 4.144 GB, free: 89.43 MB / 0.745 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00241/9.691, allocations: 1.07 MB / 4.145 GB, free: 89.14 MB / 0.745 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.503e-05/9.691, allocations: 5.781 kB / 4.145 GB, free: 89.14 MB / 0.745 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001486/9.691, allocations: 3.781 kB / 4.145 GB, free: 89.14 MB / 0.745 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-05/9.691, allocations: 38.16 kB / 4.145 GB, free: 89.14 MB / 0.745 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009292/9.7, allocations: 6.549 MB / 4.151 GB, free: 85.09 MB / 0.745 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007743/9.701, allocations: 457.1 kB / 4.152 GB, free: 84.97 MB / 0.745 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003229/9.702, allocations: 187.3 kB / 4.152 GB, free: 84.96 MB / 0.745 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004544/9.702, allocations: 373.9 kB / 4.152 GB, free: 84.59 MB / 0.745 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/9.702, allocations: 38.38 kB / 4.152 GB, free: 84.55 MB / 0.745 GB Notification: Performance of pre-optimization done (n=33): time 3.186e-06/9.702, allocations: 2.625 kB / 4.152 GB, free: 84.55 MB / 0.745 GB Notification: Performance of matching and sorting (n=33): time 0.001742/9.704, allocations: 0.5305 MB / 4.153 GB, free: 84.45 MB / 0.745 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/9.704, allocations: 51.41 kB / 4.153 GB, free: 84.39 MB / 0.745 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001543/9.705, allocations: 0.8253 MB / 4.153 GB, free: 84.25 MB / 0.745 GB Notification: Performance of collectPreVariables (initialization): time 0.0001127/9.706, allocations: 25.7 kB / 4.154 GB, free: 84.21 MB / 0.745 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003821/9.706, allocations: 0.5229 MB / 4.154 GB, free: 83.97 MB / 0.745 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/9.706, allocations: 121.7 kB / 4.154 GB, free: 83.91 MB / 0.745 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/9.706, allocations: 0 / 4.154 GB, free: 83.91 MB / 0.745 GB Notification: Performance of setup shared object (initialization): time 7.678e-05/9.706, allocations: 324.4 kB / 4.154 GB, free: 83.61 MB / 0.745 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003135/9.707, allocations: 198.9 kB / 4.155 GB, free: 83.61 MB / 0.745 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005164/9.707, allocations: 0.5571 MB / 4.155 GB, free: 83.15 MB / 0.745 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005823/9.708, allocations: 311.2 kB / 4.155 GB, free: 83.15 MB / 0.745 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/9.708, allocations: 0 / 4.155 GB, free: 83.15 MB / 0.745 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001543/9.709, allocations: 0.7584 MB / 4.156 GB, free: 83.05 MB / 0.745 GB Notification: Performance of prepare postOptimizeDAE: time 0.00104/9.71, allocations: 4.093 MB / 4.16 GB, free: 78.8 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.33e-05/9.71, allocations: 12.25 kB / 4.16 GB, free: 78.8 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.856e-05/9.71, allocations: 14.66 kB / 4.16 GB, free: 78.8 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009334/9.711, allocations: 223.5 kB / 4.16 GB, free: 78.8 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.471e-05/9.711, allocations: 27.58 kB / 4.16 GB, free: 78.8 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/9.713, allocations: 184.2 kB / 4.161 GB, free: 78.78 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/9.713, allocations: 42.3 kB / 4.161 GB, free: 78.78 MB / 0.745 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/9.713, allocations: 10 kB / 4.161 GB, free: 78.78 MB / 0.745 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001159/9.714, allocations: 0.6209 MB / 4.161 GB, free: 78.77 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/9.714, allocations: 12.67 kB / 4.161 GB, free: 78.77 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/9.714, allocations: 21.84 kB / 4.161 GB, free: 78.77 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008462/9.715, allocations: 215.7 kB / 4.162 GB, free: 78.77 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-05/9.715, allocations: 20.22 kB / 4.162 GB, free: 78.77 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/9.717, allocations: 152.6 kB / 4.162 GB, free: 78.76 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/9.717, allocations: 42.23 kB / 4.162 GB, free: 78.76 MB / 0.745 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.0002666/9.717, allocations: 129.3 kB / 4.162 GB, free: 78.65 MB / 0.745 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003671/9.717, allocations: 112.8 kB / 4.162 GB, free: 78.59 MB / 0.745 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/9.719, allocations: 0.5089 MB / 4.162 GB, free: 78.52 MB / 0.745 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/9.719, allocations: 3.594 kB / 4.162 GB, free: 78.52 MB / 0.745 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/9.719, allocations: 0 / 4.162 GB, free: 78.52 MB / 0.745 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/9.719, allocations: 0 / 4.162 GB, free: 78.52 MB / 0.745 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003852/9.723, allocations: 1.685 MB / 4.164 GB, free: 78.06 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/9.723, allocations: 7.281 kB / 4.164 GB, free: 78.06 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000551/9.723, allocations: 108.7 kB / 4.164 GB, free: 78.06 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.376e-05/9.723, allocations: 14.5 kB / 4.164 GB, free: 78.06 MB / 0.745 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.601e-05/9.723, allocations: 3.531 kB / 4.164 GB, free: 78.06 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.659e-06/9.723, allocations: 9.969 kB / 4.164 GB, free: 78.06 MB / 0.745 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/9.723, allocations: 7.094 kB / 4.164 GB, free: 78.06 MB / 0.745 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001072/9.724, allocations: 0.8361 MB / 4.165 GB, free: 77.5 MB / 0.745 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000626/9.725, allocations: 264.9 kB / 4.165 GB, free: 77.35 MB / 0.745 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004499/9.725, allocations: 3.844 kB / 4.165 GB, free: 77.35 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/9.727, allocations: 114.5 kB / 4.165 GB, free: 77.35 MB / 0.745 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.19e-05/9.727, allocations: 28.66 kB / 4.165 GB, free: 77.35 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.537e-05/9.727, allocations: 21.22 kB / 4.166 GB, free: 77.35 MB / 0.745 GB Notification: Performance of sort global known variables: time 0.001071/9.728, allocations: 0.6275 MB / 4.166 GB, free: 77.24 MB / 0.745 GB Notification: Performance of remove unused functions: time 0.003767/9.732, allocations: 0.823 MB / 4.167 GB, free: 77.18 MB / 0.745 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.005543/9.737, allocations: 3.51 MB / 4.17 GB, free: 75.87 MB / 0.745 GB Notification: Performance of simCode: created initialization part: time 0.001783/9.739, allocations: 0.8268 MB / 4.171 GB, free: 75.86 MB / 0.745 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/9.739, allocations: 3.812 kB / 4.171 GB, free: 75.86 MB / 0.745 GB Notification: Performance of simCode: created simulation system equations: time 0.0003233/9.739, allocations: 188.6 kB / 4.171 GB, free: 75.85 MB / 0.745 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/9.742, allocations: 373.1 kB / 4.172 GB, free: 75.84 MB / 0.745 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005875/9.748, allocations: 1.67 MB / 4.173 GB, free: 75.3 MB / 0.745 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001505/9.749, allocations: 1.305 MB / 4.175 GB, free: 74.58 MB / 0.745 GB Notification: Performance of SimCode: time 1.573e-06/9.749, allocations: 0 / 4.175 GB, free: 74.58 MB / 0.745 GB Notification: Performance of Templates: time 0.06984/9.819, allocations: 36.57 MB / 4.21 GB, free: 73.35 MB / 0.745 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe 2>&1)