Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Storage_Examples_StratifiedEnhancedInternalHex",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="IDEAS_dev_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.005461/0.005461, allocations: 181.1 kB / 7.454 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7311/0.7311, allocations: 133.5 MB / 141.4 MB, free: 15.64 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.674/1.674, allocations: 221.3 MB / 395 MB, free: 10.15 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 108.8 kB / 477.8 MB, free: 10.71 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5513/0.5523, allocations: 88.41 MB / 0.5529 GB, free: 89.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.7593, allocations: 82.31 MB / 0.6333 GB, free: 13.92 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.401/2.16, allocations: 393.6 MB / 1.018 GB, free: 240.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003489/2.16, allocations: 91.88 kB / 1.018 GB, free: 240.2 MB / 0.6823 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.99/21.15, allocations: 4.706 GB / 5.724 GB, free: 5.293 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/21.15, allocations: 12 kB / 5.724 GB, free: 5.281 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01583/21.16, allocations: 1.889 MB / 5.726 GB, free: 3.371 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.152/22.32, allocations: 18.34 MB / 5.744 GB, free: 86.5 MB / 0.8074 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001068/22.32, allocations: 403.2 kB / 5.744 GB, free: 86.5 MB / 0.8074 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008073/22.33, allocations: 0.7665 MB / 5.745 GB, free: 86.49 MB / 0.8074 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04097/22.37, allocations: 14.86 MB / 5.759 GB, free: 86.44 MB / 0.8074 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06235/22.43, allocations: 16.45 MB / 5.775 GB, free: 84.3 MB / 0.8074 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001285/22.43, allocations: 49.45 kB / 5.775 GB, free: 84.3 MB / 0.8074 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008065/22.44, allocations: 24.47 kB / 5.775 GB, free: 84.3 MB / 0.8074 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006703/22.44, allocations: 359 kB / 5.776 GB, free: 84.3 MB / 0.8074 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1821/22.62, allocations: 79.01 MB / 5.853 GB, free: 66.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02465/22.65, allocations: 10.74 MB / 5.863 GB, free: 66.12 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0123/22.66, allocations: 5.983 MB / 5.869 GB, free: 66.04 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07806/22.74, allocations: 26.72 MB / 5.895 GB, free: 59.46 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002318/22.74, allocations: 116.9 kB / 5.895 GB, free: 59.41 MB / 0.823 GB Notification: Performance of pre-optimization done (n=651): time 2.748e-05/22.74, allocations: 1.312 kB / 5.895 GB, free: 59.41 MB / 0.823 GB Notification: Performance of matching and sorting (n=651): time 0.03712/22.77, allocations: 10.96 MB / 5.906 GB, free: 58.48 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/22.77, allocations: 121.9 kB / 5.906 GB, free: 58.41 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03767/22.81, allocations: 11.07 MB / 5.917 GB, free: 57.65 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.003318/22.81, allocations: 33.59 kB / 5.917 GB, free: 57.62 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.01052/22.83, allocations: 5.214 MB / 5.922 GB, free: 54.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.008212/22.83, allocations: 2.208 MB / 5.924 GB, free: 53.26 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003366/22.84, allocations: 1.641 kB / 5.924 GB, free: 53.26 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.002403/22.84, allocations: 0.7715 MB / 5.925 GB, free: 52.93 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01491/22.85, allocations: 5.602 MB / 5.931 GB, free: 52.91 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0236/22.88, allocations: 9.406 MB / 5.94 GB, free: 48.35 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02651/22.9, allocations: 10.05 MB / 5.95 GB, free: 46.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003053/22.9, allocations: 34.16 kB / 5.95 GB, free: 46.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.05849/22.96, allocations: 19.89 MB / 5.969 GB, free: 40.34 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.6388/23.6, allocations: 67.11 MB / 6.035 GB, free: 97.36 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008362/23.6, allocations: 124 kB / 6.035 GB, free: 97.36 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01451/23.62, allocations: 3.985 MB / 6.039 GB, free: 97.24 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01209/23.63, allocations: 2.343 MB / 6.041 GB, free: 97.24 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02046/23.65, allocations: 20.97 MB / 6.061 GB, free: 85.55 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01955/23.67, allocations: 1.514 MB / 6.063 GB, free: 85.55 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003969/23.67, allocations: 0.5416 MB / 6.063 GB, free: 85.55 MB / 0.8543 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/23.67, allocations: 3.812 kB / 6.063 GB, free: 85.55 MB / 0.8543 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04773/23.72, allocations: 18.67 MB / 6.082 GB, free: 85.26 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006097/23.72, allocations: 126.2 kB / 6.082 GB, free: 85.26 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01376/23.74, allocations: 3.991 MB / 6.086 GB, free: 85.13 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01213/23.75, allocations: 2.313 MB / 6.088 GB, free: 85.13 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0224/23.77, allocations: 19.19 MB / 6.107 GB, free: 75.18 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01888/23.79, allocations: 1.19 MB / 6.108 GB, free: 75.18 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004259/23.79, allocations: 0.5368 MB / 6.108 GB, free: 75.18 MB / 0.8543 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 549 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1233): * Single equations (assignments): 1215 * 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.007642/23.8, allocations: 453.2 kB / 6.109 GB, free: 75.08 MB / 0.8543 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007237/23.81, allocations: 1.098 MB / 6.11 GB, free: 74.67 MB / 0.8543 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03991/23.85, allocations: 12.07 MB / 6.122 GB, free: 74.18 MB / 0.8543 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.89e-05/23.85, allocations: 66.19 kB / 6.122 GB, free: 74.18 MB / 0.8543 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.561e-05/23.85, allocations: 2.125 kB / 6.122 GB, free: 74.18 MB / 0.8543 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02648/23.88, allocations: 10.14 MB / 6.132 GB, free: 73.62 MB / 0.8543 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0849/23.96, allocations: 25.15 MB / 6.156 GB, free: 72.29 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.061e-05/23.96, allocations: 12.28 kB / 6.156 GB, free: 72.29 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00659/23.97, allocations: 1.099 MB / 6.157 GB, free: 72.29 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009004/23.98, allocations: 2.45 MB / 6.16 GB, free: 72.16 MB / 0.8543 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00197/23.98, allocations: 92.39 kB / 6.16 GB, free: 72.16 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01717/24, allocations: 18.13 MB / 6.177 GB, free: 60.28 MB / 0.8543 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.721e-05/24, allocations: 20.53 kB / 6.177 GB, free: 60.28 MB / 0.8543 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0441/24.04, allocations: 21.69 MB / 6.199 GB, free: 54.5 MB / 0.8543 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.05343/24.09, allocations: 28.63 MB / 6.227 GB, free: 48.29 MB / 0.8543 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01391/24.11, allocations: 2.836 MB / 6.229 GB, free: 47.5 MB / 0.8543 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007153/24.11, allocations: 47.55 kB / 6.229 GB, free: 47.5 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01636/24.13, allocations: 0.582 MB / 6.23 GB, free: 47.46 MB / 0.8543 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002635/24.13, allocations: 391 kB / 6.23 GB, free: 47.45 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002598/24.14, allocations: 289.7 kB / 6.231 GB, free: 47.45 MB / 0.8543 GB Notification: Performance of sort global known variables: time 0.02346/24.16, allocations: 8.302 MB / 6.239 GB, free: 47.12 MB / 0.8543 GB Notification: Performance of remove unused functions: time 0.05076/24.21, allocations: 8.268 MB / 6.247 GB, free: 45.98 MB / 0.8543 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 54 * 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 (561): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.006169/24.22, allocations: 2.054 MB / 6.249 GB, free: 45.48 MB / 0.8543 GB Notification: Performance of simCode: created initialization part: time 0.04418/24.26, allocations: 21.26 MB / 6.27 GB, free: 44.17 MB / 0.8543 GB Notification: Performance of simCode: created event and clocks part: time 4.113e-05/24.26, allocations: 7.906 kB / 6.27 GB, free: 44.17 MB / 0.8543 GB Notification: Performance of simCode: created simulation system equations: time 0.0105/24.27, allocations: 5.089 MB / 6.275 GB, free: 43.69 MB / 0.8543 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03433/24.31, allocations: 5.109 MB / 6.28 GB, free: 43.62 MB / 0.8543 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7/25.01, allocations: 27.95 MB / 6.307 GB, free: 118.7 MB / 0.8543 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02727/25.03, allocations: 11.27 MB / 6.318 GB, free: 117.6 MB / 0.8543 GB Notification: Performance of SimCode: time 1.272e-06/25.03, allocations: 3.75 kB / 6.318 GB, free: 117.6 MB / 0.8543 GB (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Storage_Examples_StratifiedEnhancedInternalHex_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Storage_Examples_StratifiedEnhancedInternalHex.fmu > IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)