Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",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.773/3.773, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5194/4.292, allocations: 104.3 MB / 0.5319 GB, free: 12.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/4.513, allocations: 98.71 MB / 0.6283 GB, free: 9.844 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9591/5.472, allocations: 390.4 MB / 1.01 GB, free: 13.53 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003035/5.472, allocations: 93.39 kB / 1.01 GB, free: 13.48 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1560 * Number of variables: 1560 Notification: Performance of Generate backend data structure: time 10.55/16.02, allocations: 2.116 GB / 3.126 GB, free: 111.7 MB / 0.8699 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/16.02, allocations: 12.42 kB / 3.126 GB, free: 111.7 MB / 0.8699 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006316/16.03, allocations: 0.8372 MB / 3.127 GB, free: 111.3 MB / 0.8699 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02767/16.06, allocations: 7.715 MB / 3.134 GB, free: 110.5 MB / 0.8699 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004401/16.06, allocations: 195.8 kB / 3.134 GB, free: 110.5 MB / 0.8699 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002889/16.06, allocations: 359.4 kB / 3.135 GB, free: 110.5 MB / 0.8699 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02323/16.09, allocations: 6.56 MB / 3.141 GB, free: 110.5 MB / 0.8699 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02801/16.11, allocations: 7.38 MB / 3.148 GB, free: 109.6 MB / 0.8699 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003712/16.11, allocations: 16.97 kB / 3.148 GB, free: 109.6 MB / 0.8699 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002116/16.12, allocations: 10.94 kB / 3.148 GB, free: 109.6 MB / 0.8699 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000216/16.12, allocations: 183.8 kB / 3.149 GB, free: 109.6 MB / 0.8699 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07592/16.19, allocations: 32.87 MB / 3.181 GB, free: 95.53 MB / 0.8699 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01019/16.2, allocations: 4.085 MB / 3.185 GB, free: 95.48 MB / 0.8699 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007434/16.21, allocations: 3.148 MB / 3.188 GB, free: 95.43 MB / 0.8699 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001548/16.21, allocations: 0.6335 MB / 3.188 GB, free: 94.87 MB / 0.8699 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005646/16.22, allocations: 2.155 MB / 3.19 GB, free: 94.77 MB / 0.8699 GB Notification: Performance of pre-optimization done (n=324): time 7.835e-06/16.22, allocations: 0 / 3.19 GB, free: 94.77 MB / 0.8699 GB Notification: Performance of matching and sorting (n=324): time 0.0183/16.24, allocations: 4.802 MB / 3.195 GB, free: 94.39 MB / 0.8699 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.556e-05/16.24, allocations: 88.08 kB / 3.195 GB, free: 94.32 MB / 0.8699 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01502/16.25, allocations: 4.275 MB / 3.199 GB, free: 93.99 MB / 0.8699 GB Notification: Performance of collectPreVariables (initialization): time 0.0009972/16.25, allocations: 32.77 kB / 3.199 GB, free: 93.96 MB / 0.8699 GB Notification: Performance of collectInitialEqns (initialization): time 0.004441/16.26, allocations: 2.39 MB / 3.202 GB, free: 92.6 MB / 0.8699 GB Notification: Performance of collectInitialBindings (initialization): time 0.00345/16.26, allocations: 1.098 MB / 3.203 GB, free: 91.89 MB / 0.8699 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005737/16.26, allocations: 3.25 kB / 3.203 GB, free: 91.89 MB / 0.8699 GB Notification: Performance of setup shared object (initialization): time 0.0004291/16.26, allocations: 489.7 kB / 3.203 GB, free: 91.57 MB / 0.8699 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005692/16.27, allocations: 2.069 MB / 3.205 GB, free: 91.56 MB / 0.8699 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007895/16.27, allocations: 3.511 MB / 3.209 GB, free: 89.83 MB / 0.8699 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009871/16.28, allocations: 3.179 MB / 3.212 GB, free: 89.79 MB / 0.8699 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.939e-05/16.28, allocations: 11.47 kB / 3.212 GB, free: 89.79 MB / 0.8699 GB Notification: Performance of matching and sorting (n=573) (initialization): time 0.02242/16.31, allocations: 6.495 MB / 3.218 GB, free: 89.42 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/16.31, allocations: 7.016 kB / 3.218 GB, free: 89.42 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.39e-05/16.31, allocations: 47.56 kB / 3.218 GB, free: 89.42 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001531/16.31, allocations: 434.1 kB / 3.219 GB, free: 89.4 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008476/16.32, allocations: 1.029 MB / 3.22 GB, free: 89.4 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00872/16.33, allocations: 5.017 MB / 3.225 GB, free: 86.4 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009852/16.34, allocations: 0.5943 MB / 3.225 GB, free: 86.15 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001467/16.34, allocations: 214.6 kB / 3.225 GB, free: 86.11 MB / 0.8699 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 210 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (544): * Single equations (assignments): 541 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001223/16.34, allocations: 257.1 kB / 3.226 GB, free: 85.9 MB / 0.8699 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001833/16.34, allocations: 460.8 kB / 3.226 GB, free: 85.66 MB / 0.8699 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01776/16.36, allocations: 5.326 MB / 3.231 GB, free: 83.91 MB / 0.8699 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.31e-05/16.36, allocations: 31.28 kB / 3.231 GB, free: 83.91 MB / 0.8699 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.7e-05/16.36, allocations: 3.781 kB / 3.231 GB, free: 83.91 MB / 0.8699 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01277/16.37, allocations: 4.665 MB / 3.236 GB, free: 82.2 MB / 0.8699 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04138/16.41, allocations: 11.37 MB / 3.247 GB, free: 78 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.867e-05/16.41, allocations: 0 / 3.247 GB, free: 78 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006676/16.42, allocations: 0.6226 MB / 3.248 GB, free: 77.95 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001554/16.42, allocations: 369.7 kB / 3.248 GB, free: 77.86 MB / 0.8699 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009129/16.42, allocations: 48.28 kB / 3.248 GB, free: 77.85 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008349/16.43, allocations: 4.919 MB / 3.253 GB, free: 74.32 MB / 0.8699 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/16.43, allocations: 1.344 kB / 3.253 GB, free: 74.32 MB / 0.8699 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02425/16.46, allocations: 7.892 MB / 3.261 GB, free: 71.37 MB / 0.8699 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03055/16.49, allocations: 11.26 MB / 3.272 GB, free: 65.8 MB / 0.8699 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005146/16.49, allocations: 1.199 MB / 3.273 GB, free: 64.73 MB / 0.8699 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002233/16.49, allocations: 15.52 kB / 3.273 GB, free: 64.72 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007758/16.5, allocations: 323.2 kB / 3.273 GB, free: 64.52 MB / 0.8699 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001173/16.5, allocations: 173.1 kB / 3.273 GB, free: 64.42 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005982/16.5, allocations: 102.1 kB / 3.273 GB, free: 64.33 MB / 0.8699 GB Notification: Performance of sort global known variables: time 0.008844/16.51, allocations: 3.254 MB / 3.276 GB, free: 61.52 MB / 0.8699 GB Notification: Performance of remove unused functions: time 0.01428/16.53, allocations: 2.128 MB / 3.279 GB, free: 59.4 MB / 0.8699 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 20 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,HIn_flow.h_out,HOut_flow.h_out,HInEnh_flow.h_out,HOutEnh_flow.h_out,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (301): * Single equations (assignments): 296 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002695/16.53, allocations: 0.7836 MB / 3.279 GB, free: 58.82 MB / 0.8699 GB Notification: Performance of simCode: created initialization part: time 0.01325/16.54, allocations: 5.096 MB / 3.284 GB, free: 54.24 MB / 0.8699 GB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/16.54, allocations: 3.984 kB / 3.284 GB, free: 54.23 MB / 0.8699 GB Notification: Performance of simCode: created simulation system equations: time 0.006184/16.55, allocations: 2.401 MB / 3.287 GB, free: 52.06 MB / 0.8699 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0228/16.57, allocations: 2.339 MB / 3.289 GB, free: 50.45 MB / 0.8699 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0391/16.61, allocations: 11.83 MB / 3.3 GB, free: 40.63 MB / 0.8699 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01301/16.62, allocations: 5.185 MB / 3.306 GB, free: 36.66 MB / 0.8699 GB Notification: Performance of SimCode: time 1.653e-06/16.62, allocations: 0 / 3.306 GB, free: 36.66 MB / 0.8699 GB