Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="Buildings_6_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 loadModel(Buildings): time 3.963/3.963, allocations: 433 MB / 440.3 MB, free: 10.78 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2503/4.214, allocations: 104.3 MB / 0.5319 GB, free: 2.324 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6049/4.819, allocations: 98.69 MB / 0.6283 GB, free: 84 kB / 0.4949 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.033/5.851, allocations: 403.9 MB / 1.023 GB, free: 7.75 MB / 0.7449 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004647/5.852, allocations: 96.44 kB / 1.023 GB, free: 7.699 MB / 0.7449 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 22.52/28.38, allocations: 4.453 GB / 5.476 GB, free: 57.7 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.991e-05/28.38, allocations: 19.92 kB / 5.476 GB, free: 57.68 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02036/28.4, allocations: 1.87 MB / 5.478 GB, free: 55.79 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09095/28.49, allocations: 17.82 MB / 5.495 GB, free: 38.03 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001017/28.49, allocations: 400 kB / 5.495 GB, free: 37.64 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006757/28.49, allocations: 0.7654 MB / 5.496 GB, free: 36.87 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05336/28.55, allocations: 14.87 MB / 5.511 GB, free: 21.99 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06286/28.61, allocations: 16.27 MB / 5.527 GB, free: 5.004 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000716/28.61, allocations: 43.59 kB / 5.527 GB, free: 4.961 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004611/28.62, allocations: 28 kB / 5.527 GB, free: 4.934 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003608/28.62, allocations: 355.9 kB / 5.527 GB, free: 4.586 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.369/29.99, allocations: 78.12 MB / 5.603 GB, free: 64.1 MB / 0.9793 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03545/30.02, allocations: 10.69 MB / 5.614 GB, free: 63.99 MB / 0.9793 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01728/30.04, allocations: 5.955 MB / 5.62 GB, free: 63.92 MB / 0.9793 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08411/30.12, allocations: 26.48 MB / 5.645 GB, free: 57.55 MB / 0.9793 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002813/30.12, allocations: 114.3 kB / 5.645 GB, free: 57.51 MB / 0.9793 GB Notification: Performance of pre-optimization done (n=648): time 2.859e-05/30.12, allocations: 0 / 5.645 GB, free: 57.51 MB / 0.9793 GB Notification: Performance of matching and sorting (n=648): time 0.04929/30.17, allocations: 10.93 MB / 5.656 GB, free: 56.59 MB / 0.9793 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.557e-05/30.17, allocations: 116.2 kB / 5.656 GB, free: 56.52 MB / 0.9793 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03676/30.21, allocations: 10.9 MB / 5.667 GB, free: 55.91 MB / 0.9793 GB Notification: Performance of collectPreVariables (initialization): time 0.002553/30.21, allocations: 29.45 kB / 5.667 GB, free: 55.88 MB / 0.9793 GB Notification: Performance of collectInitialEqns (initialization): time 0.009771/30.22, allocations: 5.206 MB / 5.672 GB, free: 53.7 MB / 0.9793 GB Notification: Performance of collectInitialBindings (initialization): time 0.007683/30.23, allocations: 2.196 MB / 5.674 GB, free: 52.27 MB / 0.9793 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002372/30.23, allocations: 0 / 5.674 GB, free: 52.27 MB / 0.9793 GB Notification: Performance of setup shared object (initialization): time 0.001266/30.23, allocations: 0.7766 MB / 5.675 GB, free: 51.94 MB / 0.9793 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01692/30.25, allocations: 5.596 MB / 5.68 GB, free: 51.91 MB / 0.9793 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02054/30.27, allocations: 9.408 MB / 5.69 GB, free: 47.35 MB / 0.9793 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04469/30.32, allocations: 10.05 MB / 5.699 GB, free: 47.25 MB / 0.9793 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002388/30.32, allocations: 38.81 kB / 5.699 GB, free: 47.25 MB / 0.9793 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.1006/30.42, allocations: 19.86 MB / 5.719 GB, free: 46.35 MB / 0.9793 GB Notification: Performance of prepare postOptimizeDAE: time 0.02969/30.45, allocations: 66.59 MB / 5.784 GB, free: 25.13 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008314/30.45, allocations: 126.4 kB / 5.784 GB, free: 25.13 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03334/30.48, allocations: 3.972 MB / 5.788 GB, free: 24.99 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02523/30.51, allocations: 2.342 MB / 5.79 GB, free: 24.99 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03679/30.54, allocations: 20.99 MB / 5.811 GB, free: 13.07 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02366/30.57, allocations: 1.504 MB / 5.812 GB, free: 12.38 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003854/30.57, allocations: 0.5396 MB / 5.813 GB, free: 12.38 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/30.57, allocations: 5.469 kB / 5.813 GB, free: 12.38 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07016/30.64, allocations: 18.68 MB / 5.831 GB, free: 12.06 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005455/30.64, allocations: 119.2 kB / 5.831 GB, free: 12.06 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02334/30.66, allocations: 3.989 MB / 5.835 GB, free: 11.92 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01972/30.68, allocations: 2.318 MB / 5.837 GB, free: 11.92 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0343/30.72, allocations: 19.17 MB / 5.856 GB, free: 17.75 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02135/30.74, allocations: 1.198 MB / 5.857 GB, free: 17.29 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004055/30.74, allocations: 0.538 MB / 5.858 GB, free: 17.29 MB / 1.042 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.005956/30.75, allocations: 451.3 kB / 5.858 GB, free: 16.97 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005099/30.76, allocations: 1.081 MB / 5.859 GB, free: 16.39 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05078/30.81, allocations: 12.15 MB / 5.871 GB, free: 15.88 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000167/30.81, allocations: 63.25 kB / 5.871 GB, free: 15.88 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-05/30.81, allocations: 7.906 kB / 5.871 GB, free: 15.88 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04049/30.85, allocations: 10.23 MB / 5.881 GB, free: 15.3 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09755/30.94, allocations: 24.79 MB / 5.905 GB, free: 6.488 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.065e-05/30.95, allocations: 10.28 kB / 5.905 GB, free: 6.488 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01161/30.96, allocations: 1.092 MB / 5.906 GB, free: 6.398 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01445/30.97, allocations: 2.445 MB / 5.909 GB, free: 5.734 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002026/30.97, allocations: 96.3 kB / 5.909 GB, free: 5.711 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03458/31.01, allocations: 18.13 MB / 5.926 GB, free: 7.441 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.592e-05/31.01, allocations: 17.06 kB / 5.926 GB, free: 7.438 MB / 1.057 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.7112/31.72, allocations: 21.54 MB / 5.947 GB, free: 161.1 MB / 1.057 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06739/31.79, allocations: 28.28 MB / 5.975 GB, free: 155.6 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0128/31.8, allocations: 2.723 MB / 5.978 GB, free: 155 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006068/31.81, allocations: 48.61 kB / 5.978 GB, free: 155 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02227/31.83, allocations: 0.5894 MB / 5.978 GB, free: 154.9 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002322/31.83, allocations: 376.8 kB / 5.979 GB, free: 154.9 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001019/31.83, allocations: 240.7 kB / 5.979 GB, free: 154.9 MB / 1.057 GB Notification: Performance of sort global known variables: time 0.0238/31.86, allocations: 8.17 MB / 5.987 GB, free: 154.6 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.05366/31.91, allocations: 8.146 MB / 5.995 GB, free: 154.1 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * 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 (558): * Single equations (assignments): 534 * 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.00679/31.92, allocations: 2.039 MB / 5.997 GB, free: 153.6 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.08117/32, allocations: 21.24 MB / 6.018 GB, free: 152.7 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.862e-05/32, allocations: 3.656 kB / 6.018 GB, free: 152.7 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.01508/32.01, allocations: 5.076 MB / 6.023 GB, free: 152.4 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06123/32.07, allocations: 5.077 MB / 6.028 GB, free: 152.3 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09974/32.17, allocations: 27.66 MB / 6.055 GB, free: 147.6 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03336/32.21, allocations: 11.18 MB / 6.066 GB, free: 146.5 MB / 1.057 GB Notification: Performance of SimCode: time 1.543e-06/32.21, allocations: 0 / 6.066 GB, free: 146.5 MB / 1.057 GB