Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization",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(ModelicaTest): time 1.992/1.992, allocations: 209.3 MB / 216.3 MB, free: 6.812 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3141/2.306, allocations: 51.05 MB / 267.3 MB, free: 5.152 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/2.416, allocations: 48.69 MB / 316 MB, free: 4.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.151/3.568, allocations: 394.8 MB / 0.6941 GB, free: 108.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003227/3.568, allocations: 87.48 kB / 0.6942 GB, free: 108.1 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.9678/4.536, allocations: 191.6 MB / 0.8813 GB, free: 84.83 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/4.536, allocations: 8.344 kB / 0.8813 GB, free: 84.83 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/4.537, allocations: 122.4 kB / 0.8814 GB, free: 84.77 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003318/4.54, allocations: 0.7908 MB / 0.8822 GB, free: 84.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001682/4.54, allocations: 98.39 kB / 0.8822 GB, free: 84.12 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003062/4.541, allocations: 38 kB / 0.8823 GB, free: 84.12 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003324/4.544, allocations: 1.095 MB / 0.8833 GB, free: 83.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003621/4.548, allocations: 1.123 MB / 0.8844 GB, free: 82.97 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.411e-05/4.548, allocations: 8.109 kB / 0.8845 GB, free: 82.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001991/4.548, allocations: 6.094 kB / 0.8845 GB, free: 82.96 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001429/4.548, allocations: 81.78 kB / 0.8845 GB, free: 82.93 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02035/4.569, allocations: 4.648 MB / 0.8891 GB, free: 79.41 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/4.57, allocations: 466.5 kB / 0.8895 GB, free: 79.18 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/4.571, allocations: 409.9 kB / 0.8899 GB, free: 78.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005628/4.577, allocations: 2.54 MB / 0.8924 GB, free: 76.76 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/4.577, allocations: 42.47 kB / 0.8924 GB, free: 76.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=50): time 3.546e-06/4.577, allocations: 0 / 0.8924 GB, free: 76.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=55): time 0.0169/4.594, allocations: 3.038 MB / 0.8954 GB, free: 75.04 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/4.594, allocations: 165.6 kB / 0.8956 GB, free: 74.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001541/4.596, allocations: 0.62 MB / 0.8962 GB, free: 74.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000316/4.596, allocations: 25.7 kB / 0.8962 GB, free: 74.46 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003525/4.596, allocations: 403.2 kB / 0.8966 GB, free: 74.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003822/4.597, allocations: 187.8 kB / 0.8968 GB, free: 73.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/4.597, allocations: 0 / 0.8968 GB, free: 73.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002077/4.597, allocations: 396.1 kB / 0.8971 GB, free: 73.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/4.598, allocations: 417.8 kB / 0.8975 GB, free: 73.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/4.6, allocations: 0.7273 MB / 0.8982 GB, free: 72.29 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01529/4.615, allocations: 1.684 MB / 0.8999 GB, free: 70.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-05/4.615, allocations: 4 kB / 0.8999 GB, free: 70.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01667/4.632, allocations: 2.625 MB / 0.9025 GB, free: 67.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001115/4.633, allocations: 3.652 MB / 0.906 GB, free: 64.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.461e-05/4.633, allocations: 8 kB / 0.906 GB, free: 64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002645/4.636, allocations: 431.9 kB / 0.9064 GB, free: 63.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0022/4.638, allocations: 195.6 kB / 0.9066 GB, free: 63.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007224/4.645, allocations: 3.16 MB / 0.9097 GB, free: 60.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002037/4.647, allocations: 44 kB / 0.9098 GB, free: 60.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000176/4.647, allocations: 51.89 kB / 0.9098 GB, free: 59.97 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/4.647, allocations: 4 kB / 0.9098 GB, free: 59.97 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01585/4.663, allocations: 2.175 MB / 0.9119 GB, free: 57.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-05/4.663, allocations: 8 kB / 0.9119 GB, free: 57.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001355/4.665, allocations: 298.3 kB / 0.9122 GB, free: 57.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002188/4.667, allocations: 199.6 kB / 0.9124 GB, free: 57.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004235/4.671, allocations: 2.672 MB / 0.915 GB, free: 54.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002656/4.674, allocations: 43.91 kB / 0.9151 GB, free: 54.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003948/4.674, allocations: 47.98 kB / 0.9151 GB, free: 54.35 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (vol1.inFlow[1],vol1.inFlow[2],vol1.regularFlow[2],vol1.regularFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 5,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0007242/4.675, allocations: 128.7 kB / 0.9152 GB, free: 54.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004649/4.676, allocations: 82.97 kB / 0.9153 GB, free: 54.13 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007532/4.683, allocations: 1.575 MB / 0.9168 GB, free: 52.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.35e-05/4.683, allocations: 8 kB / 0.9169 GB, free: 52.51 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/4.683, allocations: 0 / 0.9169 GB, free: 52.51 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-05/4.683, allocations: 3.984 kB / 0.9169 GB, free: 52.51 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008712/4.692, allocations: 2.385 MB / 0.9192 GB, free: 50.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/4.692, allocations: 0 / 0.9192 GB, free: 50.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009807/4.693, allocations: 99.44 kB / 0.9193 GB, free: 49.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001752/4.695, allocations: 422.8 kB / 0.9197 GB, free: 49.55 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001316/4.695, allocations: 11.98 kB / 0.9197 GB, free: 49.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005222/4.7, allocations: 3.116 MB / 0.9227 GB, free: 46.26 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/4.7, allocations: 0 / 0.9227 GB, free: 46.26 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006451/4.707, allocations: 1.951 MB / 0.9246 GB, free: 44.25 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007516/4.714, allocations: 2.881 MB / 0.9275 GB, free: 41.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009789/4.716, allocations: 271.9 kB / 0.9277 GB, free: 41.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003283/4.716, allocations: 8 kB / 0.9277 GB, free: 41.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/4.717, allocations: 31.94 kB / 0.9278 GB, free: 40.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002338/4.717, allocations: 48.58 kB / 0.9278 GB, free: 40.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/4.718, allocations: 23.98 kB / 0.9278 GB, free: 40.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.000904/4.718, allocations: 471.1 kB / 0.9283 GB, free: 40.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006466/4.725, allocations: 0.9471 MB / 0.9292 GB, free: 39.51 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (vol1.medium.p,vol1.medium.T) * Number of discrete variables: 2 (vol1.inFlow[1],vol1.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.002998/4.728, allocations: 0.8086 MB / 0.93 GB, free: 38.75 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005174/4.733, allocations: 1.766 MB / 0.9317 GB, free: 36.97 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.909e-06/4.733, allocations: 3.938 kB / 0.9317 GB, free: 36.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001768/4.735, allocations: 0.5508 MB / 0.9323 GB, free: 36.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002911/4.738, allocations: 293.3 kB / 0.9325 GB, free: 36.12 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006402/4.744, allocations: 1.582 MB / 0.9341 GB, free: 34.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001321/4.746, allocations: 1.194 MB / 0.9352 GB, free: 33.29 MB / 426.7 MB Notification: Performance of SimCode: time 2.204e-06/4.746, allocations: 0 / 0.9352 GB, free: 33.29 MB / 426.7 MB