Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.239/1.239, allocations: 249.4 MB / 256.7 MB, free: 7.031 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 193.1 kB / 316 MB, free: 3.566 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.159/1.159, allocations: 205.2 MB / 0.5667 GB, free: 15.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008849/0.0008849, allocations: 87.06 kB / 0.671 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3695/0.3704, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.5414, allocations: 106.3 MB / 0.8847 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9788/1.52, allocations: 413.3 MB / 1.288 GB, free: 324.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001926/1.52, allocations: 97.14 kB / 1.288 GB, free: 324.7 MB / 0.8698 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 12.94/14.46, allocations: 4.493 GB / 5.781 GB, free: 59.96 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/14.46, allocations: 9.547 kB / 5.781 GB, free: 59.96 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01295/14.47, allocations: 1.879 MB / 5.783 GB, free: 59.07 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05007/14.52, allocations: 17.86 MB / 5.801 GB, free: 47.55 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000723/14.52, allocations: 400 kB / 5.801 GB, free: 47.16 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005309/14.53, allocations: 0.7635 MB / 5.802 GB, free: 46.4 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03273/14.56, allocations: 14.88 MB / 5.816 GB, free: 31.51 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04636/14.61, allocations: 16.36 MB / 5.832 GB, free: 14.43 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005657/14.61, allocations: 43.64 kB / 5.832 GB, free: 14.39 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004178/14.61, allocations: 27.94 kB / 5.832 GB, free: 14.36 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002668/14.61, allocations: 356 kB / 5.833 GB, free: 14.01 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9714/15.58, allocations: 78.25 MB / 5.909 GB, free: 103.5 MB / 0.9949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02088/15.61, allocations: 10.74 MB / 5.92 GB, free: 103.3 MB / 0.9949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009984/15.62, allocations: 5.979 MB / 5.925 GB, free: 103.2 MB / 0.9949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05668/15.67, allocations: 26.6 MB / 5.951 GB, free: 96.88 MB / 0.9949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001177/15.67, allocations: 116.2 kB / 5.952 GB, free: 96.83 MB / 0.9949 GB Notification: Performance of pre-optimization done (n=651): time 1.263e-05/15.67, allocations: 0 / 5.952 GB, free: 96.83 MB / 0.9949 GB Notification: Performance of matching and sorting (n=651): time 0.02614/15.7, allocations: 10.94 MB / 5.962 GB, free: 95.91 MB / 0.9949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.209e-05/15.7, allocations: 122 kB / 5.962 GB, free: 95.84 MB / 0.9949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02565/15.72, allocations: 10.94 MB / 5.973 GB, free: 95.23 MB / 0.9949 GB Notification: Performance of collectPreVariables (initialization): time 0.002462/15.73, allocations: 32.67 kB / 5.973 GB, free: 95.2 MB / 0.9949 GB Notification: Performance of collectInitialEqns (initialization): time 0.007048/15.73, allocations: 5.198 MB / 5.978 GB, free: 93.02 MB / 0.9949 GB Notification: Performance of collectInitialBindings (initialization): time 0.00579/15.74, allocations: 2.205 MB / 5.98 GB, free: 91.58 MB / 0.9949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002762/15.74, allocations: 3.188 kB / 5.98 GB, free: 91.58 MB / 0.9949 GB Notification: Performance of setup shared object (initialization): time 0.001311/15.74, allocations: 0.7736 MB / 5.981 GB, free: 91.25 MB / 0.9949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01/15.75, allocations: 5.603 MB / 5.986 GB, free: 91.23 MB / 0.9949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01292/15.77, allocations: 9.408 MB / 5.996 GB, free: 86.67 MB / 0.9949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02444/15.79, allocations: 10.05 MB / 6.005 GB, free: 86.57 MB / 0.9949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002163/15.79, allocations: 35.38 kB / 6.006 GB, free: 86.57 MB / 0.9949 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.04689/15.84, allocations: 19.88 MB / 6.025 GB, free: 85.67 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 0.01812/15.86, allocations: 66.65 MB / 6.09 GB, free: 64.45 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004416/15.86, allocations: 123.4 kB / 6.09 GB, free: 64.45 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01283/15.87, allocations: 3.977 MB / 6.094 GB, free: 64.31 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01081/15.88, allocations: 2.338 MB / 6.096 GB, free: 64.3 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02133/15.9, allocations: 20.99 MB / 6.117 GB, free: 68.38 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01683/15.92, allocations: 1.502 MB / 6.118 GB, free: 67.69 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00359/15.92, allocations: 0.5396 MB / 6.119 GB, free: 67.69 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/15.92, allocations: 6 kB / 6.119 GB, free: 67.69 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04698/15.97, allocations: 18.68 MB / 6.137 GB, free: 67.38 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000655/15.97, allocations: 121.2 kB / 6.137 GB, free: 67.38 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0134/15.98, allocations: 4 MB / 6.141 GB, free: 67.23 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01066/15.99, allocations: 2.315 MB / 6.143 GB, free: 67.23 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02179/16.02, allocations: 19.18 MB / 6.162 GB, free: 57.06 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01681/16.03, allocations: 1.194 MB / 6.163 GB, free: 56.6 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003417/16.04, allocations: 0.5372 MB / 6.164 GB, free: 56.6 MB / 1.057 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.005341/16.04, allocations: 454.5 kB / 6.164 GB, free: 56.29 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004985/16.05, allocations: 1.086 MB / 6.165 GB, free: 55.71 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03091/16.08, allocations: 12.05 MB / 6.177 GB, free: 55.21 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001032/16.08, allocations: 69.38 kB / 6.177 GB, free: 55.21 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-05/16.08, allocations: 3.219 kB / 6.177 GB, free: 55.21 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02351/16.1, allocations: 10.13 MB / 6.187 GB, free: 54.64 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0686/16.17, allocations: 24.98 MB / 6.211 GB, free: 47.65 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.507e-05/16.17, allocations: 13.81 kB / 6.211 GB, free: 47.65 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00585/16.18, allocations: 1.095 MB / 6.212 GB, free: 47.56 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007709/16.18, allocations: 2.452 MB / 6.215 GB, free: 46.89 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001625/16.19, allocations: 98.44 kB / 6.215 GB, free: 46.87 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.489/16.67, allocations: 18.13 MB / 6.233 GB, free: 181.7 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.174e-05/16.67, allocations: 18.5 kB / 6.233 GB, free: 181.7 MB / 1.057 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02785/16.7, allocations: 21.62 MB / 6.254 GB, free: 176.7 MB / 1.057 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03467/16.74, allocations: 28.57 MB / 6.282 GB, free: 170.9 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009268/16.75, allocations: 2.775 MB / 6.284 GB, free: 170.2 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005664/16.75, allocations: 50.59 kB / 6.284 GB, free: 170.2 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01194/16.76, allocations: 0.5814 MB / 6.285 GB, free: 170.2 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001306/16.77, allocations: 393.2 kB / 6.285 GB, free: 170.1 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001338/16.77, allocations: 276.3 kB / 6.286 GB, free: 170.1 MB / 1.057 GB Notification: Performance of sort global known variables: time 0.01653/16.78, allocations: 8.196 MB / 6.294 GB, free: 169.9 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.04/16.82, allocations: 8.167 MB / 6.302 GB, free: 169.3 MB / 1.057 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.005744/16.83, allocations: 2.043 MB / 6.304 GB, free: 168.8 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.04139/16.87, allocations: 21.25 MB / 6.324 GB, free: 167.9 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.303e-05/16.87, allocations: 8.625 kB / 6.324 GB, free: 167.9 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.009737/16.88, allocations: 5.092 MB / 6.329 GB, free: 167.6 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02834/16.91, allocations: 5.093 MB / 6.334 GB, free: 167.5 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07599/16.98, allocations: 27.75 MB / 6.361 GB, free: 162.8 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0263/17.01, allocations: 11.2 MB / 6.372 GB, free: 161.7 MB / 1.057 GB Notification: Performance of SimCode: time 1.262e-06/17.01, allocations: 3.562 kB / 6.372 GB, free: 161.7 MB / 1.057 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)