Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) [: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.0.1-maint.8.0.x/package.mo): time 1.383/1.383, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.001018/0.001018, allocations: 181.3 kB / 361.1 MB, free: 7.094 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.189/1.189, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0008263/0.0008263, allocations: 87.19 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.204/0.2048, allocations: 121.4 MB / 0.8512 GB, free: 2.898 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5185/0.7234, allocations: 115.3 MB / 0.9638 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.704/1.427, allocations: 408.4 MB / 1.363 GB, free: 158.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/1.428, allocations: 99.44 kB / 1.363 GB, free: 158.1 MB / 0.8542 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 1.115/2.543, allocations: 413.6 MB / 1.767 GB, free: 203.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/2.543, allocations: 12 kB / 1.767 GB, free: 203.5 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006691/2.543, allocations: 221.5 kB / 1.767 GB, free: 203.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003341/2.547, allocations: 2.087 MB / 1.769 GB, free: 201.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.315e-05/2.547, allocations: 51.84 kB / 1.769 GB, free: 201.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001812/2.547, allocations: 92 kB / 1.769 GB, free: 201 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002071/2.549, allocations: 1.629 MB / 1.771 GB, free: 199.4 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002079/2.551, allocations: 1.688 MB / 1.772 GB, free: 197.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.022e-05/2.551, allocations: 3.938 kB / 1.772 GB, free: 197.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/2.551, allocations: 4 kB / 1.772 GB, free: 197.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.669e-05/2.551, allocations: 36 kB / 1.772 GB, free: 197.6 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007788/2.559, allocations: 7.196 MB / 1.779 GB, free: 190.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001305/2.56, allocations: 1.24 MB / 1.78 GB, free: 189 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006343/2.561, allocations: 0.629 MB / 1.781 GB, free: 188.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003626/2.565, allocations: 3.449 MB / 1.784 GB, free: 184.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/2.565, allocations: 47.28 kB / 1.784 GB, free: 184.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=86): time 2.245e-06/2.565, allocations: 0 / 1.784 GB, free: 184.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=86): time 0.002062/2.567, allocations: 1.168 MB / 1.786 GB, free: 183.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/2.567, allocations: 60.19 kB / 1.786 GB, free: 183.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/2.568, allocations: 1.253 MB / 1.787 GB, free: 182 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 7.528e-05/2.568, allocations: 29.7 kB / 1.787 GB, free: 182 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003063/2.569, allocations: 0.592 MB / 1.788 GB, free: 181.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001928/2.569, allocations: 299.6 kB / 1.788 GB, free: 181.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.009e-05/2.569, allocations: 0 / 1.788 GB, free: 181.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.294e-05/2.569, allocations: 357.9 kB / 1.788 GB, free: 180.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007171/2.57, allocations: 0.6754 MB / 1.789 GB, free: 180.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008658/2.57, allocations: 0.9993 MB / 1.79 GB, free: 178.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002437/2.573, allocations: 1.267 MB / 1.791 GB, free: 177.7 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/2.573, allocations: 4 kB / 1.791 GB, free: 177.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.003619/2.577, allocations: 2.226 MB / 1.793 GB, free: 175.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005773/2.577, allocations: 3.48 MB / 1.797 GB, free: 171.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/2.577, allocations: 8 kB / 1.797 GB, free: 171.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/2.577, allocations: 20 kB / 1.797 GB, free: 171.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/2.578, allocations: 335.5 kB / 1.797 GB, free: 171.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/2.578, allocations: 30.03 kB / 1.797 GB, free: 171.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/2.58, allocations: 154.3 kB / 1.797 GB, free: 171.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/2.58, allocations: 65.11 kB / 1.797 GB, free: 171.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 6.052e-06/2.58, allocations: 11.94 kB / 1.797 GB, free: 171.1 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003384/2.583, allocations: 2.062 MB / 1.799 GB, free: 169 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/2.583, allocations: 8 kB / 1.799 GB, free: 169 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/2.583, allocations: 16 kB / 1.799 GB, free: 169 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/2.584, allocations: 343.4 kB / 1.8 GB, free: 168.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/2.584, allocations: 19.94 kB / 1.8 GB, free: 168.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/2.585, allocations: 123 kB / 1.8 GB, free: 168.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/2.585, allocations: 63.98 kB / 1.8 GB, free: 168.4 MB / 0.9323 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.000212/2.586, allocations: 140.5 kB / 1.8 GB, free: 168.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002274/2.586, allocations: 130.4 kB / 1.8 GB, free: 168.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002175/2.588, allocations: 1.318 MB / 1.801 GB, free: 166.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/2.588, allocations: 8 kB / 1.801 GB, free: 166.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/2.588, allocations: 0.875 kB / 1.801 GB, free: 166.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00163/2.59, allocations: 1.371 MB / 1.803 GB, free: 165.4 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003929/2.594, allocations: 2.797 MB / 1.805 GB, free: 162.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/2.594, allocations: 4.031 kB / 1.805 GB, free: 162.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007526/2.595, allocations: 175.8 kB / 1.806 GB, free: 162.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/2.595, allocations: 4 kB / 1.806 GB, free: 162.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.341e-05/2.595, allocations: 8.859 kB / 1.806 GB, free: 162.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/2.595, allocations: 7.906 kB / 1.806 GB, free: 162.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/2.595, allocations: 4 kB / 1.806 GB, free: 162.3 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002462/2.597, allocations: 2.012 MB / 1.808 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00309/2.6, allocations: 3.092 MB / 1.811 GB, free: 157.2 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006449/2.601, allocations: 391.1 kB / 1.811 GB, free: 156.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002033/2.601, allocations: 11.91 kB / 1.811 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000709/2.602, allocations: 35.89 kB / 1.811 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.649e-05/2.602, allocations: 52.56 kB / 1.811 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.475e-05/2.602, allocations: 31.97 kB / 1.811 GB, free: 156.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001035/2.603, allocations: 0.9686 MB / 1.812 GB, free: 155.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003416/2.606, allocations: 1.048 MB / 1.813 GB, free: 154.6 MB / 0.9323 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.0007579/2.607, allocations: 0.4924 MB / 1.814 GB, free: 154.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003034/2.61, allocations: 2.308 MB / 1.816 GB, free: 151.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/2.61, allocations: 0 / 1.816 GB, free: 151.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005245/2.611, allocations: 0.4987 MB / 1.816 GB, free: 151.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002894/2.614, allocations: 0.6069 MB / 1.817 GB, free: 150.8 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005675/2.619, allocations: 3.051 MB / 1.82 GB, free: 147.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001569/2.621, allocations: 1.855 MB / 1.822 GB, free: 145.8 MB / 0.9323 GB Notification: Performance of SimCode: time 1.603e-06/2.621, allocations: 0 / 1.822 GB, free: 145.8 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)