Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.375/2.375, allocations: 284.8 MB / 292.1 MB, free: 10.79 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.001576/0.001575, allocations: 165.4 kB / 360.3 MB, free: 7.574 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.765/1.765, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.001219/0.001218, allocations: 92.5 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2858/0.2871, allocations: 121.4 MB / 0.8502 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6404/0.9274, allocations: 115.2 MB / 0.9627 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.028/1.955, allocations: 419.7 MB / 1.373 GB, free: 148.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003112/1.955, allocations: 87.09 kB / 1.373 GB, free: 148.6 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: 3221 * Number of variables: 3221 Notification: Performance of Generate backend data structure: time 23/24.96, allocations: 4.617 GB / 5.99 GB, free: 78.36 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/24.96, allocations: 12.83 kB / 5.99 GB, free: 78.36 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01516/24.97, allocations: 1.881 MB / 5.991 GB, free: 77.46 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07262/25.05, allocations: 17.93 MB / 6.009 GB, free: 75.41 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001194/25.05, allocations: 402.4 kB / 6.009 GB, free: 75.41 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007233/25.05, allocations: 0.7592 MB / 6.01 GB, free: 75.4 MB / 1.057 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05703/25.11, allocations: 14.87 MB / 6.025 GB, free: 71.54 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06699/25.18, allocations: 16.45 MB / 6.041 GB, free: 60.48 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001021/25.18, allocations: 39.66 kB / 6.041 GB, free: 60.44 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005597/25.18, allocations: 29.62 kB / 6.041 GB, free: 60.41 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004107/25.18, allocations: 360.6 kB / 6.041 GB, free: 60.07 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1962/25.38, allocations: 78.96 MB / 6.118 GB, free: 60 kB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 1.072/26.45, allocations: 10.75 MB / 6.129 GB, free: 197.4 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01647/26.47, allocations: 5.972 MB / 6.135 GB, free: 197.4 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08437/26.55, allocations: 26.75 MB / 6.161 GB, free: 191.3 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000165/26.55, allocations: 121.9 kB / 6.161 GB, free: 191.3 MB / 1.073 GB Notification: Performance of pre-optimization done (n=651): time 1.107e-05/26.55, allocations: 0 / 6.161 GB, free: 191.3 MB / 1.073 GB Notification: Performance of matching and sorting (n=651): time 0.04521/26.6, allocations: 10.95 MB / 6.171 GB, free: 191 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.982e-05/26.6, allocations: 123.5 kB / 6.172 GB, free: 190.9 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03578/26.64, allocations: 10.93 MB / 6.182 GB, free: 190.4 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.002649/26.64, allocations: 31.64 kB / 6.182 GB, free: 190.4 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.009233/26.65, allocations: 5.2 MB / 6.187 GB, free: 188.4 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.008859/26.66, allocations: 2.203 MB / 6.189 GB, free: 186.9 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002898/26.66, allocations: 0 / 6.189 GB, free: 186.9 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.002343/26.66, allocations: 0.7713 MB / 6.19 GB, free: 186.6 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02072/26.68, allocations: 5.605 MB / 6.196 GB, free: 186.6 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01998/26.7, allocations: 9.406 MB / 6.205 GB, free: 182 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03987/26.74, allocations: 10.05 MB / 6.215 GB, free: 181.9 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002093/26.74, allocations: 38.47 kB / 6.215 GB, free: 181.9 MB / 1.073 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.07933/26.82, allocations: 19.87 MB / 6.234 GB, free: 181 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.01429/26.84, allocations: 66.66 MB / 6.299 GB, free: 111.8 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006458/26.84, allocations: 118.5 kB / 6.299 GB, free: 111.8 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0243/26.86, allocations: 3.979 MB / 6.303 GB, free: 111.7 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02038/26.88, allocations: 2.337 MB / 6.306 GB, free: 111.7 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03416/26.92, allocations: 20.99 MB / 6.326 GB, free: 99.73 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02314/26.94, allocations: 1.503 MB / 6.328 GB, free: 99.05 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003885/26.94, allocations: 0.5406 MB / 6.328 GB, free: 99.05 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/26.94, allocations: 3.438 kB / 6.328 GB, free: 99.05 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07243/27.02, allocations: 18.68 MB / 6.346 GB, free: 98.73 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000661/27.02, allocations: 119.6 kB / 6.346 GB, free: 98.73 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02921/27.05, allocations: 4.001 MB / 6.35 GB, free: 98.59 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0231/27.07, allocations: 2.312 MB / 6.353 GB, free: 98.59 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03331/27.1, allocations: 19.18 MB / 6.371 GB, free: 88.42 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0217/27.12, allocations: 1.194 MB / 6.372 GB, free: 87.96 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004093/27.13, allocations: 0.5338 MB / 6.373 GB, free: 87.96 MB / 1.073 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.006147/27.13, allocations: 453.3 kB / 6.373 GB, free: 87.78 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006274/27.14, allocations: 1.085 MB / 6.374 GB, free: 87.2 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05511/27.2, allocations: 12.06 MB / 6.386 GB, free: 86.7 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000158/27.2, allocations: 68.25 kB / 6.386 GB, free: 86.7 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.374e-05/27.2, allocations: 3.812 kB / 6.386 GB, free: 86.7 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03589/27.23, allocations: 10.13 MB / 6.396 GB, free: 86.14 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1267/27.36, allocations: 25.11 MB / 6.421 GB, free: 84.78 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.935e-05/27.36, allocations: 11.86 kB / 6.421 GB, free: 84.78 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01139/27.37, allocations: 1.107 MB / 6.422 GB, free: 84.77 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0143/27.39, allocations: 2.461 MB / 6.424 GB, free: 84.64 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001843/27.39, allocations: 98.95 kB / 6.424 GB, free: 84.64 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02477/27.41, allocations: 18.11 MB / 6.442 GB, free: 72.74 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.317e-05/27.41, allocations: 25.47 kB / 6.442 GB, free: 72.73 MB / 1.073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05753/27.47, allocations: 21.63 MB / 6.463 GB, free: 67.15 MB / 1.073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.07159/27.54, allocations: 28.58 MB / 6.491 GB, free: 53 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01237/27.55, allocations: 2.828 MB / 6.494 GB, free: 51.45 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005551/27.56, allocations: 50.58 kB / 6.494 GB, free: 51.44 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01706/27.58, allocations: 0.5778 MB / 6.494 GB, free: 51.4 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002188/27.58, allocations: 389 kB / 6.495 GB, free: 51.33 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001478/27.58, allocations: 288.9 kB / 6.495 GB, free: 51.27 MB / 1.073 GB Notification: Performance of sort global known variables: time 0.0248/27.6, allocations: 8.199 MB / 6.503 GB, free: 48.25 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.05327/27.66, allocations: 8.262 MB / 6.511 GB, free: 42.35 MB / 1.073 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.00664/27.66, allocations: 2.048 MB / 6.513 GB, free: 40.88 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.05929/27.72, allocations: 21.26 MB / 6.534 GB, free: 22.04 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 3.044e-05/27.72, allocations: 8.781 kB / 6.534 GB, free: 22.03 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.01449/27.74, allocations: 5.086 MB / 6.539 GB, free: 17.5 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04656/27.79, allocations: 5.126 MB / 6.544 GB, free: 13.99 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6866/28.47, allocations: 28.92 MB / 6.572 GB, free: 173.5 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03621/28.51, allocations: 11.22 MB / 6.583 GB, free: 172.4 MB / 1.073 GB Notification: Performance of SimCode: time 2.344e-06/28.51, allocations: 0 / 6.583 GB, free: 172.4 MB / 1.073 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex.fmu > Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)