Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.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.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") [: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.307/2.307, 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.00156/0.001559, allocations: 177.2 kB / 360.4 MB, free: 7.52 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.667/1.667, 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.001188/0.001188, allocations: 99.33 kB / 0.7318 GB, free: 45.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.659e-05/1.668e-05, allocations: 4 kB / 0.8502 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6256/0.6256, allocations: 115.2 MB / 0.9628 GB, free: 78.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9994/1.625, allocations: 408.2 MB / 1.361 GB, free: 155.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003274/1.625, allocations: 89.61 kB / 1.362 GB, free: 155.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.768/3.394, allocations: 411.7 MB / 1.764 GB, free: 229.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002447/3.394, allocations: 44.16 kB / 1.764 GB, free: 229.4 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: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.006776/3.401, allocations: 1.866 MB / 1.765 GB, free: 228.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/3.401, allocations: 9 kB / 1.765 GB, free: 228.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001532/3.402, allocations: 218.9 kB / 1.766 GB, free: 228 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007217/3.41, allocations: 2.093 MB / 1.768 GB, free: 226.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.84e-05/3.41, allocations: 43.72 kB / 1.768 GB, free: 226.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003928/3.41, allocations: 92.31 kB / 1.768 GB, free: 226.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00462/3.415, allocations: 1.632 MB / 1.769 GB, free: 226 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004673/3.419, allocations: 1.685 MB / 1.771 GB, free: 225 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-05/3.42, allocations: 8.094 kB / 1.771 GB, free: 225 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002117/3.42, allocations: 0 / 1.771 GB, free: 225 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.409e-05/3.42, allocations: 42.78 kB / 1.771 GB, free: 225 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01666/3.437, allocations: 7.204 MB / 1.778 GB, free: 218 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00264/3.439, allocations: 1.246 MB / 1.779 GB, free: 216.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001266/3.441, allocations: 0.6192 MB / 1.78 GB, free: 216.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006994/3.448, allocations: 3.445 MB / 1.783 GB, free: 212.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/3.448, allocations: 51.33 kB / 1.783 GB, free: 212.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=86): time 4.248e-06/3.448, allocations: 0 / 1.783 GB, free: 212.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=86): time 0.00392/3.452, allocations: 1.168 MB / 1.784 GB, free: 211.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/3.452, allocations: 64.19 kB / 1.785 GB, free: 211.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00251/3.454, allocations: 1.249 MB / 1.786 GB, free: 209.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002665/3.455, allocations: 25.7 kB / 1.786 GB, free: 209.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004635/3.455, allocations: 0.5959 MB / 1.786 GB, free: 209.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003871/3.455, allocations: 299.6 kB / 1.787 GB, free: 209 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/3.456, allocations: 0 / 1.787 GB, free: 209 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001215/3.456, allocations: 365.9 kB / 1.787 GB, free: 208.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001515/3.457, allocations: 0.6676 MB / 1.788 GB, free: 207.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001669/3.459, allocations: 0.9994 MB / 1.789 GB, free: 206.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004883/3.464, allocations: 1.26 MB / 1.79 GB, free: 205.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-05/3.464, allocations: 4 kB / 1.79 GB, free: 205.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.007605/3.471, allocations: 2.237 MB / 1.792 GB, free: 203.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007099/3.472, allocations: 3.482 MB / 1.795 GB, free: 199.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/3.472, allocations: 11.98 kB / 1.795 GB, free: 199.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.57e-05/3.472, allocations: 16 kB / 1.795 GB, free: 199.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002856/3.475, allocations: 339.5 kB / 1.796 GB, free: 199.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.637e-05/3.475, allocations: 23.92 kB / 1.796 GB, free: 199.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002353/3.478, allocations: 158.3 kB / 1.796 GB, free: 199 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002021/3.478, allocations: 63.98 kB / 1.796 GB, free: 199 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/3.478, allocations: 11.94 kB / 1.796 GB, free: 198.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007086/3.485, allocations: 2.058 MB / 1.798 GB, free: 196.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/3.485, allocations: 12.25 kB / 1.798 GB, free: 196.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.942e-05/3.485, allocations: 20 kB / 1.798 GB, free: 196.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002567/3.488, allocations: 335.5 kB / 1.798 GB, free: 196.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.36e-05/3.488, allocations: 21.94 kB / 1.798 GB, free: 196.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002155/3.49, allocations: 126.8 kB / 1.799 GB, free: 196.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001874/3.49, allocations: 63.98 kB / 1.799 GB, free: 196.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (176): * Single equations (assignments): 176 * 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.0003965/3.49, allocations: 139.1 kB / 1.799 GB, free: 196.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004135/3.491, allocations: 130.3 kB / 1.799 GB, free: 196.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004216/3.495, allocations: 1.311 MB / 1.8 GB, free: 194.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/3.495, allocations: 8 kB / 1.8 GB, free: 194.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/3.495, allocations: 0 / 1.8 GB, free: 194.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003081/3.498, allocations: 1.375 MB / 1.802 GB, free: 193.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00741/3.506, allocations: 2.799 MB / 1.804 GB, free: 190.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.819e-06/3.506, allocations: 96 / 1.804 GB, free: 190.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001538/3.507, allocations: 179.7 kB / 1.804 GB, free: 190.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.439e-05/3.507, allocations: 4 kB / 1.804 GB, free: 190.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.853e-05/3.507, allocations: 15.98 kB / 1.804 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.325e-06/3.507, allocations: 4 kB / 1.804 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/3.507, allocations: 7.844 kB / 1.804 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004885/3.512, allocations: 2.014 MB / 1.806 GB, free: 188.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001224/3.514, allocations: 387.2 kB / 1.807 GB, free: 187.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003619/3.514, allocations: 15.92 kB / 1.807 GB, free: 187.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001426/3.516, allocations: 39.81 kB / 1.807 GB, free: 187.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/3.516, allocations: 44.7 kB / 1.807 GB, free: 187.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/3.516, allocations: 31.98 kB / 1.807 GB, free: 187.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001929/3.518, allocations: 0.9607 MB / 1.808 GB, free: 186.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003895/3.522, allocations: 0.9504 MB / 1.809 GB, free: 185.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (indTanHex.vol[1].dynBal.U,indTanHex.vol[2].dynBal.U,indTanHex.vol[3].dynBal.U,indTanHex.cap[1].T,indTanHex.cap[2].T,indTanHex.cap[3].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001354/3.523, allocations: 495.3 kB / 1.809 GB, free: 185.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004945/3.528, allocations: 2.31 MB / 1.811 GB, free: 183 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/3.528, allocations: 3.938 kB / 1.812 GB, free: 183 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001051/3.529, allocations: 0.5025 MB / 1.812 GB, free: 182.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005225/3.534, allocations: 0.5888 MB / 1.813 GB, free: 181.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008036/3.542, allocations: 3.04 MB / 1.816 GB, free: 178.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00238/3.545, allocations: 1.844 MB / 1.817 GB, free: 176.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.233e-06/3.545, allocations: 0 / 1.817 GB, free: 176.9 MB / 0.948 GB Notification: Performance of Templates: time 0.0861/3.631, allocations: 35.05 MB / 1.852 GB, free: 142.2 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)