Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="Buildings_8_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.495/1.495, allocations: 289.8 MB / 297.1 MB, free: 6.719 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.001112/0.001112, allocations: 173.3 kB / 366.3 MB, free: 2.031 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.507/1.507, allocations: 205.1 MB / 0.6256 GB, free: 5.855 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.00111/0.00111, allocations: 87.14 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2859/0.287, allocations: 122.4 MB / 0.8591 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7284/1.015, allocations: 116.3 MB / 0.9726 GB, free: 68.17 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9946/2.01, allocations: 420.8 MB / 1.384 GB, free: 64.17 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/2.01, allocations: 92.44 kB / 1.384 GB, free: 64.12 MB / 0.823 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.9/18.91, allocations: 4.617 GB / 6.001 GB, free: 93.07 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/18.91, allocations: 10.12 kB / 6.001 GB, free: 93.07 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01656/18.92, allocations: 1.88 MB / 6.002 GB, free: 92.18 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0592/18.98, allocations: 17.92 MB / 6.02 GB, free: 90.3 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001027/18.99, allocations: 404.2 kB / 6.02 GB, free: 90.3 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00764/18.99, allocations: 0.7667 MB / 6.021 GB, free: 90.3 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04634/19.04, allocations: 14.86 MB / 6.036 GB, free: 90.24 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06666/19.11, allocations: 16.46 MB / 6.052 GB, free: 84.97 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001221/19.11, allocations: 45.75 kB / 6.052 GB, free: 84.95 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008245/19.12, allocations: 28.88 kB / 6.052 GB, free: 84.95 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000931/19.12, allocations: 360.5 kB / 6.052 GB, free: 84.93 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1719/19.29, allocations: 78.97 MB / 6.129 GB, free: 18.51 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02187/19.31, allocations: 10.75 MB / 6.14 GB, free: 7.84 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01117/19.32, allocations: 5.988 MB / 6.146 GB, free: 1.836 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.206/20.53, allocations: 26.73 MB / 6.172 GB, free: 176.1 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001623/20.53, allocations: 122.8 kB / 6.172 GB, free: 176.1 MB / 1.073 GB Notification: Performance of pre-optimization done (n=651): time 1.159e-05/20.53, allocations: 1.406 kB / 6.172 GB, free: 176.1 MB / 1.073 GB Notification: Performance of matching and sorting (n=651): time 0.03052/20.56, allocations: 10.95 MB / 6.182 GB, free: 175.8 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/20.56, allocations: 122.3 kB / 6.183 GB, free: 175.7 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0297/20.59, allocations: 10.94 MB / 6.193 GB, free: 175.2 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.002902/20.59, allocations: 29.42 kB / 6.193 GB, free: 175.2 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.008028/20.6, allocations: 5.204 MB / 6.198 GB, free: 173.1 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.006922/20.61, allocations: 2.2 MB / 6.201 GB, free: 171.7 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001875/20.61, allocations: 0 / 6.201 GB, free: 171.7 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.001025/20.61, allocations: 0.7739 MB / 6.201 GB, free: 171.4 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01174/20.62, allocations: 5.598 MB / 6.207 GB, free: 171.3 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.018/20.64, allocations: 9.408 MB / 6.216 GB, free: 166.8 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02454/20.66, allocations: 10.06 MB / 6.226 GB, free: 166.7 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002477/20.66, allocations: 33.06 kB / 6.226 GB, free: 166.7 MB / 1.073 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.05565/20.72, allocations: 19.87 MB / 6.245 GB, free: 165.8 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.01801/20.74, allocations: 66.66 MB / 6.31 GB, free: 96.58 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005776/20.74, allocations: 118.9 kB / 6.31 GB, free: 96.58 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01349/20.75, allocations: 3.986 MB / 6.314 GB, free: 96.44 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0113/20.76, allocations: 2.341 MB / 6.317 GB, free: 96.44 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02039/20.78, allocations: 20.99 MB / 6.337 GB, free: 84.53 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01766/20.8, allocations: 1.51 MB / 6.339 GB, free: 83.84 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004055/20.81, allocations: 0.5358 MB / 6.339 GB, free: 83.84 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/20.81, allocations: 3.719 kB / 6.339 GB, free: 83.84 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05035/20.86, allocations: 18.67 MB / 6.357 GB, free: 83.54 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005729/20.86, allocations: 121.7 kB / 6.357 GB, free: 83.54 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01338/20.87, allocations: 3.996 MB / 6.361 GB, free: 83.39 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01107/20.88, allocations: 2.312 MB / 6.364 GB, free: 83.39 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0199/20.9, allocations: 19.18 MB / 6.382 GB, free: 73.23 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01737/20.92, allocations: 1.195 MB / 6.383 GB, free: 72.77 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003899/20.92, allocations: 0.5365 MB / 6.384 GB, free: 72.77 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.004748/20.93, allocations: 451.8 kB / 6.384 GB, free: 72.58 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004387/20.93, allocations: 1.093 MB / 6.386 GB, free: 72 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03031/20.96, allocations: 12.06 MB / 6.397 GB, free: 71.51 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-05/20.96, allocations: 68.16 kB / 6.397 GB, free: 71.51 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.974e-05/20.96, allocations: 5.719 kB / 6.397 GB, free: 71.51 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02173/20.98, allocations: 10.13 MB / 6.407 GB, free: 70.95 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07556/21.06, allocations: 25.1 MB / 6.432 GB, free: 69.59 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.047e-05/21.06, allocations: 13.38 kB / 6.432 GB, free: 69.59 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006126/21.07, allocations: 1.098 MB / 6.433 GB, free: 69.55 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008323/21.07, allocations: 2.456 MB / 6.435 GB, free: 69.41 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001841/21.08, allocations: 94.91 kB / 6.435 GB, free: 69.41 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01563/21.09, allocations: 18.14 MB / 6.453 GB, free: 57.47 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.425e-05/21.09, allocations: 18.62 kB / 6.453 GB, free: 57.46 MB / 1.073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03772/21.13, allocations: 21.62 MB / 6.474 GB, free: 51.89 MB / 1.073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.05089/21.18, allocations: 28.57 MB / 6.502 GB, free: 42.7 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0127/21.19, allocations: 2.826 MB / 6.505 GB, free: 41.14 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007468/21.2, allocations: 50.98 kB / 6.505 GB, free: 41.14 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01591/21.22, allocations: 0.5813 MB / 6.505 GB, free: 41.09 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00302/21.22, allocations: 383.3 kB / 6.506 GB, free: 41.02 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00285/21.22, allocations: 289.7 kB / 6.506 GB, free: 40.97 MB / 1.073 GB Notification: Performance of sort global known variables: time 0.02307/21.25, allocations: 8.203 MB / 6.514 GB, free: 37.94 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.06121/21.31, allocations: 8.266 MB / 6.522 GB, free: 35.93 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.007289/21.31, allocations: 2.048 MB / 6.524 GB, free: 35.32 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.05151/21.37, allocations: 21.26 MB / 6.545 GB, free: 27.67 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 2.683e-05/21.37, allocations: 10.09 kB / 6.545 GB, free: 27.67 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.01126/21.38, allocations: 5.087 MB / 6.55 GB, free: 25.57 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0351/21.41, allocations: 5.125 MB / 6.555 GB, free: 22.05 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7846/22.2, allocations: 27.83 MB / 6.582 GB, free: 157.1 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02876/22.23, allocations: 11.21 MB / 6.593 GB, free: 156 MB / 1.073 GB Notification: Performance of SimCode: time 1.192e-06/22.23, allocations: 0 / 6.593 GB, free: 156 MB / 1.073 GB (rm -f Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex.fmu > Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)