Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_StratifiedEnhancedInternalHex",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_StratifiedEnhancedInternalHex",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/BuildSysPro 3.5.0/package.mo): time 0.8053/0.8053, allocations: 127.4 MB / 134.6 MB, free: 4.09 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001376/0.001376, allocations: 181.3 kB / 164.4 MB, free: 6.891 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.231/2.231, allocations: 205.1 MB / 399.1 MB, free: 6.148 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009899/0.0009894, allocations: 90.95 kB / 476.3 MB, free: 8.898 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3772/0.3782, allocations: 82.88 MB / 0.546 GB, free: 42.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.5813, allocations: 76.75 MB / 0.621 GB, free: 13.85 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.188/1.769, allocations: 382 MB / 0.994 GB, free: 100.7 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/1.769, allocations: 88.02 kB / 0.9941 GB, free: 100.7 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3221 * Number of variables: 3221 Notification: Performance of Generate backend data structure: time 18.59/20.36, allocations: 4.436 GB / 5.43 GB, free: 3.594 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 8.485e-05/20.36, allocations: 8 kB / 5.43 GB, free: 3.586 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02022/20.38, allocations: 1.87 MB / 5.432 GB, free: 1.695 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.395/21.78, allocations: 19.48 MB / 5.451 GB, free: 82.61 MB / 0.7762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001631/21.78, allocations: 403.3 kB / 5.451 GB, free: 82.61 MB / 0.7762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008952/21.79, allocations: 0.7613 MB / 5.452 GB, free: 82.61 MB / 0.7762 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0534/21.84, allocations: 14.75 MB / 5.467 GB, free: 82.55 MB / 0.7762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07395/21.91, allocations: 16.24 MB / 5.482 GB, free: 80.41 MB / 0.7762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001518/21.92, allocations: 47.47 kB / 5.482 GB, free: 80.41 MB / 0.7762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00739/21.92, allocations: 21 kB / 5.482 GB, free: 80.41 MB / 0.7762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005342/21.92, allocations: 360 kB / 5.483 GB, free: 80.41 MB / 0.7762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1731/22.1, allocations: 78.8 MB / 5.56 GB, free: 61.36 MB / 0.7918 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02838/22.12, allocations: 10.53 MB / 5.57 GB, free: 61.23 MB / 0.7918 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01449/22.14, allocations: 5.856 MB / 5.576 GB, free: 61.16 MB / 0.7918 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07417/22.21, allocations: 25.88 MB / 5.601 GB, free: 54.97 MB / 0.7918 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/22.21, allocations: 113 kB / 5.601 GB, free: 54.92 MB / 0.7918 GB Notification: Performance of pre-optimization done (n=644): time 1.052e-05/22.21, allocations: 0.9375 kB / 5.601 GB, free: 54.92 MB / 0.7918 GB Notification: Performance of matching and sorting (n=644): time 0.04098/22.25, allocations: 11.02 MB / 5.612 GB, free: 53.99 MB / 0.7918 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/22.25, allocations: 118.5 kB / 5.612 GB, free: 53.92 MB / 0.7918 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03344/22.29, allocations: 10.76 MB / 5.623 GB, free: 53.21 MB / 0.7918 GB Notification: Performance of collectPreVariables (initialization): time 0.003671/22.29, allocations: 29.27 kB / 5.623 GB, free: 53.18 MB / 0.7918 GB Notification: Performance of collectInitialEqns (initialization): time 0.009397/22.3, allocations: 5.217 MB / 5.628 GB, free: 50.24 MB / 0.7918 GB Notification: Performance of collectInitialBindings (initialization): time 0.006877/22.31, allocations: 2.182 MB / 5.63 GB, free: 48.82 MB / 0.7918 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002764/22.31, allocations: 0 / 5.63 GB, free: 48.82 MB / 0.7918 GB Notification: Performance of setup shared object (initialization): time 0.001819/22.31, allocations: 0.774 MB / 5.631 GB, free: 48.49 MB / 0.7918 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01252/22.33, allocations: 5.509 MB / 5.636 GB, free: 48.46 MB / 0.7918 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01688/22.34, allocations: 9.406 MB / 5.645 GB, free: 43.77 MB / 0.7918 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02713/22.37, allocations: 9.975 MB / 5.655 GB, free: 43.05 MB / 0.7918 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003803/22.37, allocations: 36.31 kB / 5.655 GB, free: 43.05 MB / 0.7918 GB Notification: Performance of matching and sorting (n=1465) (initialization): time 0.05729/22.43, allocations: 19.72 MB / 5.674 GB, free: 37.06 MB / 0.7918 GB Notification: Performance of prepare postOptimizeDAE: time 0.5923/23.02, allocations: 68.78 MB / 5.741 GB, free: 56.5 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006451/23.02, allocations: 122.4 kB / 5.741 GB, free: 56.5 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01405/23.03, allocations: 3.97 MB / 5.745 GB, free: 56.39 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01476/23.05, allocations: 2.612 MB / 5.748 GB, free: 56.39 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02794/23.08, allocations: 21.26 MB / 5.769 GB, free: 60.69 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01859/23.1, allocations: 1.479 MB / 5.77 GB, free: 60.69 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004766/23.1, allocations: 0.5529 MB / 5.771 GB, free: 60.69 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/23.1, allocations: 6.219 kB / 5.771 GB, free: 60.69 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05309/23.15, allocations: 18.47 MB / 5.789 GB, free: 60.41 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007127/23.15, allocations: 130.3 kB / 5.789 GB, free: 60.41 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0142/23.17, allocations: 3.978 MB / 5.793 GB, free: 60.28 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01259/23.18, allocations: 2.313 MB / 5.795 GB, free: 60.28 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02335/23.21, allocations: 19.17 MB / 5.814 GB, free: 66.32 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02054/23.23, allocations: 1.16 MB / 5.815 GB, free: 66.32 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005153/23.23, allocations: 0.5434 MB / 5.815 GB, free: 66.32 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 567 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1231): * Single equations (assignments): 1213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 12 {2 16,2 16,2 16,2 16,2 16,2 16,2 17,2 17,2 17,2 17,2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.005949/23.24, allocations: 451.1 kB / 5.816 GB, free: 66.21 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005748/23.24, allocations: 1.072 MB / 5.817 GB, free: 65.66 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03876/23.28, allocations: 11.99 MB / 5.828 GB, free: 65.17 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001182/23.28, allocations: 66.34 kB / 5.829 GB, free: 65.17 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.911e-05/23.28, allocations: 6.906 kB / 5.829 GB, free: 65.17 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02465/23.31, allocations: 10.1 MB / 5.838 GB, free: 64.61 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07478/23.38, allocations: 24.49 MB / 5.862 GB, free: 63.35 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.628e-05/23.38, allocations: 14.81 kB / 5.862 GB, free: 63.35 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009428/23.39, allocations: 1.376 MB / 5.864 GB, free: 63.35 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008529/23.4, allocations: 2.431 MB / 5.866 GB, free: 63.22 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002432/23.4, allocations: 97.33 kB / 5.866 GB, free: 63.22 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02491/23.43, allocations: 21.03 MB / 5.887 GB, free: 49.34 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.589e-05/23.43, allocations: 24.02 kB / 5.887 GB, free: 49.34 MB / 0.8387 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04109/23.47, allocations: 20.94 MB / 5.907 GB, free: 60.2 MB / 0.8543 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.05526/23.52, allocations: 27.79 MB / 5.934 GB, free: 54.63 MB / 0.8543 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01219/23.54, allocations: 2.724 MB / 5.937 GB, free: 53.86 MB / 0.8543 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005654/23.54, allocations: 48.97 kB / 5.937 GB, free: 53.86 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01366/23.55, allocations: 0.5671 MB / 5.938 GB, free: 53.81 MB / 0.8543 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002242/23.56, allocations: 383.7 kB / 5.938 GB, free: 53.8 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001311/23.56, allocations: 245.4 kB / 5.938 GB, free: 53.8 MB / 0.8543 GB Notification: Performance of sort global known variables: time 0.02238/23.58, allocations: 8.063 MB / 5.946 GB, free: 53.51 MB / 0.8543 GB Notification: Performance of remove unused functions: time 0.05479/23.64, allocations: 8.077 MB / 5.954 GB, free: 52.37 MB / 0.8543 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 30 (tanSte.vol[1].dynBal.U,tanSte.vol[2].dynBal.U,tanSte.vol[3].dynBal.U,tanSte.vol[4].dynBal.U,tanDyn.vol[1].dynBal.U,tanDyn.vol[2].dynBal.U,tanDyn.vol[3].dynBal.U,tanDyn.vol[4].dynBal.U,tanDyn.indTanHex.vol[1].dynBal.U,tanDyn.indTanHex.vol[2].dynBal.U,tanDyn.indTanHex.vol[3].dynBal.U,tanDyn.indTanHex.vol[4].dynBal.U,tanDyn.indTanHex.vol[5].dynBal.U,tanDyn.indTanHex.vol[6].dynBal.U,tanDyn.indTanHex.cap[1].T,tanDyn.indTanHex.cap[2].T,tanDyn.indTanHex.cap[3].T,tanDyn.indTanHex.cap[4].T,tanDyn.indTanHex.cap[5].T,tanDyn.indTanHex.cap[6].T,tanDynSol.vol[1].dynBal.U,tanDynSol.vol[2].dynBal.U,tanDynSol.vol[3].dynBal.U,tanDynSol.vol[4].dynBal.U,tanDynSol.indTanHex.cap[1].T,tanDynSol.indTanHex.cap[2].T,tanDynSol.indTanHex.cap[3].T,tanDynSol.indTanHex.cap[4].T,tanDynSol.indTanHex.cap[5].T,tanDynSol.indTanHex.cap[6].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (552): * Single equations (assignments): 530 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 12 {2 16,2 16,2 16,2 16,2 16,2 16,1 5,1 5,1 5,1 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.006818/23.64, allocations: 2.079 MB / 5.956 GB, free: 51.87 MB / 0.8543 GB Notification: Performance of simCode: created initialization part: time 0.05353/23.7, allocations: 21.33 MB / 5.977 GB, free: 50.36 MB / 0.8543 GB Notification: Performance of simCode: created event and clocks part: time 2.903e-05/23.7, allocations: 8.219 kB / 5.977 GB, free: 50.36 MB / 0.8543 GB Notification: Performance of simCode: created simulation system equations: time 0.01368/23.71, allocations: 5.434 MB / 5.982 GB, free: 49.89 MB / 0.8543 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03411/23.74, allocations: 5.05 MB / 5.987 GB, free: 49.81 MB / 0.8543 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07885/23.82, allocations: 27.58 MB / 6.014 GB, free: 41.51 MB / 0.8543 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0254/23.85, allocations: 11.15 MB / 6.025 GB, free: 35.36 MB / 0.8543 GB Notification: Performance of SimCode: time 1.583e-06/23.85, allocations: 0 / 6.025 GB, free: 35.36 MB / 0.8543 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_StratifiedEnhancedInternalHex_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_StratifiedEnhancedInternalHex.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)