Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="Buildings_9_Buildings_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.983/1.983, allocations: 387.2 MB / 394.5 MB, free: 13.6 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 185.2 kB / 487 MB, free: 5.32 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 221.3 MB / 0.7819 GB, free: 1.398 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000986/0.0009861, allocations: 89.28 kB / 0.9213 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6152/0.6162, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.8923, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.013/1.905, allocations: 431.7 MB / 1.627 GB, free: 8.117 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003278/1.905, allocations: 93.56 kB / 1.627 GB, free: 8.07 MB / 1.057 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 16.8/18.7, allocations: 4.717 GB / 6.344 GB, free: 119.1 MB / 1.276 GB Notification: Performance of prepare preOptimizeDAE: time 5.978e-05/18.7, allocations: 10.16 kB / 6.344 GB, free: 119.1 MB / 1.276 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01773/18.72, allocations: 1.892 MB / 6.346 GB, free: 118.2 MB / 1.276 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06444/18.78, allocations: 18.33 MB / 6.363 GB, free: 116.5 MB / 1.276 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001354/18.79, allocations: 408.7 kB / 6.364 GB, free: 116.5 MB / 1.276 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008404/18.79, allocations: 0.7692 MB / 6.365 GB, free: 116.5 MB / 1.276 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04964/18.84, allocations: 14.87 MB / 6.379 GB, free: 116.5 MB / 1.276 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07145/18.92, allocations: 16.45 MB / 6.395 GB, free: 114.3 MB / 1.276 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001408/18.92, allocations: 44.02 kB / 6.395 GB, free: 114.3 MB / 1.276 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007582/18.92, allocations: 25.97 kB / 6.395 GB, free: 114.3 MB / 1.276 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006243/18.93, allocations: 355.1 kB / 6.396 GB, free: 114.3 MB / 1.276 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.174/19.1, allocations: 79.04 MB / 6.473 GB, free: 80.29 MB / 1.276 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02342/19.12, allocations: 10.74 MB / 6.483 GB, free: 80.09 MB / 1.276 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01338/19.14, allocations: 5.984 MB / 6.489 GB, free: 80.01 MB / 1.276 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07717/19.21, allocations: 26.74 MB / 6.515 GB, free: 73.4 MB / 1.276 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002195/19.21, allocations: 126 kB / 6.515 GB, free: 73.36 MB / 1.276 GB Notification: Performance of pre-optimization done (n=651): time 2.288e-05/19.21, allocations: 0 / 6.515 GB, free: 73.36 MB / 1.276 GB Notification: Performance of matching and sorting (n=651): time 0.04205/19.26, allocations: 10.96 MB / 6.526 GB, free: 72.43 MB / 1.276 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001626/19.26, allocations: 118.9 kB / 6.526 GB, free: 72.36 MB / 1.276 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03995/19.3, allocations: 11.06 MB / 6.537 GB, free: 71.6 MB / 1.276 GB Notification: Performance of collectPreVariables (initialization): time 0.003395/19.3, allocations: 33.39 kB / 6.537 GB, free: 71.57 MB / 1.276 GB Notification: Performance of collectInitialEqns (initialization): time 0.009668/19.31, allocations: 5.218 MB / 6.542 GB, free: 68.65 MB / 1.276 GB Notification: Performance of collectInitialBindings (initialization): time 0.008628/19.32, allocations: 2.201 MB / 6.544 GB, free: 67.21 MB / 1.276 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003208/19.32, allocations: 0 / 6.544 GB, free: 67.21 MB / 1.276 GB Notification: Performance of setup shared object (initialization): time 0.001822/19.32, allocations: 0.7782 MB / 6.545 GB, free: 66.88 MB / 1.276 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01304/19.34, allocations: 5.597 MB / 6.55 GB, free: 66.86 MB / 1.276 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02017/19.36, allocations: 9.411 MB / 6.56 GB, free: 62.3 MB / 1.276 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0279/19.38, allocations: 10.05 MB / 6.569 GB, free: 60.22 MB / 1.276 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003726/19.38, allocations: 34.09 kB / 6.569 GB, free: 60.22 MB / 1.276 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.06441/19.45, allocations: 19.89 MB / 6.589 GB, free: 54.16 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 0.02332/19.47, allocations: 67.12 MB / 6.654 GB, free: 16.07 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008497/19.47, allocations: 120.2 kB / 6.655 GB, free: 16.07 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01824/19.49, allocations: 3.98 MB / 6.658 GB, free: 15.12 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01525/19.51, allocations: 2.336 MB / 6.661 GB, free: 15.05 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03134/19.54, allocations: 20.97 MB / 6.681 GB, free: 15.82 MB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02144/19.56, allocations: 1.511 MB / 6.683 GB, free: 15.08 MB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004816/19.56, allocations: 0.5391 MB / 6.683 GB, free: 14.98 MB / 1.323 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/19.56, allocations: 3.906 kB / 6.683 GB, free: 14.98 MB / 1.323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05967/19.62, allocations: 18.68 MB / 6.701 GB, free: 8.836 MB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006499/19.63, allocations: 120.9 kB / 6.702 GB, free: 8.836 MB / 1.323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01458/19.64, allocations: 3.993 MB / 6.705 GB, free: 7.812 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01318/19.65, allocations: 2.315 MB / 6.708 GB, free: 7.566 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586/21.24, allocations: 19.18 MB / 6.726 GB, free: 251.4 MB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01754/21.26, allocations: 1.19 MB / 6.728 GB, free: 251.4 MB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004207/21.26, allocations: 0.5359 MB / 6.728 GB, free: 251.4 MB / 1.323 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.006609/21.27, allocations: 454.1 kB / 6.729 GB, free: 251.2 MB / 1.323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005634/21.27, allocations: 1.099 MB / 6.73 GB, free: 251.2 MB / 1.323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02877/21.3, allocations: 12.07 MB / 6.741 GB, free: 250.8 MB / 1.323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.007e-05/21.3, allocations: 66.5 kB / 6.742 GB, free: 250.8 MB / 1.323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.517e-05/21.3, allocations: 5.906 kB / 6.742 GB, free: 250.8 MB / 1.323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01997/21.32, allocations: 10.13 MB / 6.751 GB, free: 250.3 MB / 1.323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07175/21.39, allocations: 25.14 MB / 6.776 GB, free: 249.1 MB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.613e-05/21.39, allocations: 16.83 kB / 6.776 GB, free: 249.1 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006033/21.4, allocations: 1.105 MB / 6.777 GB, free: 249.1 MB / 1.323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007979/21.41, allocations: 2.449 MB / 6.779 GB, free: 249 MB / 1.323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001918/21.41, allocations: 100.6 kB / 6.78 GB, free: 249 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0166/21.43, allocations: 18.12 MB / 6.797 GB, free: 237.3 MB / 1.323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-05/21.43, allocations: 20.88 kB / 6.797 GB, free: 237.3 MB / 1.323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03864/21.47, allocations: 21.69 MB / 6.818 GB, free: 231.7 MB / 1.323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04795/21.51, allocations: 28.63 MB / 6.846 GB, free: 225.5 MB / 1.323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01216/21.53, allocations: 2.84 MB / 6.849 GB, free: 224.8 MB / 1.323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006308/21.53, allocations: 48.66 kB / 6.849 GB, free: 224.8 MB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01502/21.55, allocations: 0.5832 MB / 6.85 GB, free: 224.8 MB / 1.323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002686/21.55, allocations: 385.8 kB / 6.85 GB, free: 224.8 MB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002792/21.55, allocations: 291 kB / 6.85 GB, free: 224.8 MB / 1.323 GB Notification: Performance of sort global known variables: time 0.02207/21.57, allocations: 8.302 MB / 6.859 GB, free: 224.5 MB / 1.323 GB Notification: Performance of remove unused functions: time 0.05059/21.63, allocations: 8.262 MB / 6.867 GB, free: 223.6 MB / 1.323 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.007026/21.63, allocations: 2.064 MB / 6.869 GB, free: 223.1 MB / 1.323 GB Notification: Performance of simCode: created initialization part: time 0.05118/21.68, allocations: 21.26 MB / 6.889 GB, free: 222.2 MB / 1.323 GB Notification: Performance of simCode: created event and clocks part: time 3.733e-05/21.68, allocations: 9.25 kB / 6.889 GB, free: 222.2 MB / 1.323 GB Notification: Performance of simCode: created simulation system equations: time 0.01141/21.69, allocations: 5.089 MB / 6.894 GB, free: 221.9 MB / 1.323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03301/21.73, allocations: 5.102 MB / 6.899 GB, free: 221.8 MB / 1.323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08194/21.81, allocations: 27.95 MB / 6.927 GB, free: 217 MB / 1.323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0257/21.84, allocations: 11.27 MB / 6.938 GB, free: 215.9 MB / 1.323 GB Notification: Performance of SimCode: time 1.513e-06/21.84, allocations: 0 / 6.938 GB, free: 215.9 MB / 1.323 GB (rm -f Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex.fmu > Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)