Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",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 2.027/2.027, allocations: 209.3 MB / 216.3 MB, free: 6.785 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2496/2.277, allocations: 51.04 MB / 267.3 MB, free: 5.117 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/2.407, allocations: 48.68 MB / 316 MB, free: 4.34 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.233/3.64, allocations: 407.9 MB / 0.7069 GB, free: 96.89 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004923/3.64, allocations: 94.84 kB / 0.707 GB, free: 96.85 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.6608/4.301, allocations: 118.1 MB / 0.8224 GB, free: 100.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/4.301, allocations: 6.781 kB / 0.8224 GB, free: 100.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007088/4.302, allocations: 89.98 kB / 0.8224 GB, free: 100.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001719/4.304, allocations: 0.5487 MB / 0.823 GB, free: 99.97 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/4.304, allocations: 86.09 kB / 0.8231 GB, free: 99.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/4.304, allocations: 31.84 kB / 0.8231 GB, free: 99.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001594/4.306, allocations: 0.5551 MB / 0.8236 GB, free: 99.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/4.307, allocations: 0.7401 MB / 0.8244 GB, free: 99.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.698e-05/4.308, allocations: 4.406 kB / 0.8244 GB, free: 99.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/4.308, allocations: 3.406 kB / 0.8244 GB, free: 99.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.422e-05/4.308, allocations: 40.66 kB / 0.8244 GB, free: 99.67 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007317/4.315, allocations: 3.98 MB / 0.8283 GB, free: 97.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005459/4.316, allocations: 222.4 kB / 0.8285 GB, free: 97.08 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003855/4.316, allocations: 163 kB / 0.8287 GB, free: 97.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004768/4.317, allocations: 354.3 kB / 0.829 GB, free: 96.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/4.317, allocations: 30.84 kB / 0.829 GB, free: 96.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 3.928e-06/4.317, allocations: 1.875 kB / 0.829 GB, free: 96.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.005219/4.322, allocations: 1.26 MB / 0.8303 GB, free: 96.26 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/4.322, allocations: 135.4 kB / 0.8304 GB, free: 96.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008368/4.323, allocations: 456.2 kB / 0.8308 GB, free: 95.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.746e-05/4.323, allocations: 25.7 kB / 0.8308 GB, free: 95.95 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/4.323, allocations: 339.5 kB / 0.8312 GB, free: 95.72 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/4.323, allocations: 131.8 kB / 0.8313 GB, free: 95.64 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.635e-05/4.323, allocations: 7.438 kB / 0.8313 GB, free: 95.64 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/4.323, allocations: 367.4 kB / 0.8317 GB, free: 95.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005205/4.324, allocations: 205.8 kB / 0.8319 GB, free: 95.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007084/4.325, allocations: 0.5104 MB / 0.8324 GB, free: 94.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/4.326, allocations: 336.6 kB / 0.8327 GB, free: 94.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/4.326, allocations: 3.938 kB / 0.8327 GB, free: 94.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003151/4.329, allocations: 0.9027 MB / 0.8336 GB, free: 94.84 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/4.329, allocations: 7.625 kB / 0.8336 GB, free: 94.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/4.329, allocations: 9.781 kB / 0.8336 GB, free: 94.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001388/4.331, allocations: 226.7 kB / 0.8338 GB, free: 94.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008745/4.331, allocations: 129.9 kB / 0.8339 GB, free: 94.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/4.333, allocations: 0.8827 MB / 0.8348 GB, free: 94.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/4.334, allocations: 40.44 kB / 0.8348 GB, free: 94.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.443e-05/4.334, allocations: 42.14 kB / 0.8349 GB, free: 94.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.000228/4.334, allocations: 137.8 kB / 0.835 GB, free: 94.19 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/4.335, allocations: 59.44 kB / 0.835 GB, free: 94.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002208/4.337, allocations: 0.6247 MB / 0.8357 GB, free: 94.08 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/4.337, allocations: 3.812 kB / 0.8357 GB, free: 94.08 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/4.337, allocations: 9.062 kB / 0.8357 GB, free: 94.08 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/4.337, allocations: 3.797 kB / 0.8357 GB, free: 94.08 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003398/4.34, allocations: 1.486 MB / 0.8371 GB, free: 93.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/4.34, allocations: 3.75 kB / 0.8371 GB, free: 93.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001831/4.342, allocations: 179 kB / 0.8373 GB, free: 93.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003996/4.343, allocations: 56.25 kB / 0.8373 GB, free: 93.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.954e-05/4.343, allocations: 6.125 kB / 0.8374 GB, free: 93.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002653/4.345, allocations: 2.671 MB / 0.84 GB, free: 91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/4.345, allocations: 6.75 kB / 0.84 GB, free: 91 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002433/4.348, allocations: 0.9787 MB / 0.8409 GB, free: 90.66 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003178/4.351, allocations: 1.615 MB / 0.8425 GB, free: 89.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005491/4.352, allocations: 191.1 kB / 0.8427 GB, free: 89.84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/4.352, allocations: 3.812 kB / 0.8427 GB, free: 89.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008475/4.353, allocations: 26.3 kB / 0.8427 GB, free: 89.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/4.353, allocations: 22.34 kB / 0.8427 GB, free: 89.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.331e-05/4.353, allocations: 18.55 kB / 0.8428 GB, free: 89.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0006316/4.354, allocations: 334 kB / 0.8431 GB, free: 89.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002386/4.356, allocations: 225.3 kB / 0.8433 GB, free: 89.74 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007765/4.357, allocations: 263.1 kB / 0.8435 GB, free: 89.63 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001696/4.358, allocations: 0.5462 MB / 0.8441 GB, free: 89.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/4.358, allocations: 0 / 0.8441 GB, free: 89.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002348/4.361, allocations: 472.9 kB / 0.8445 GB, free: 89.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002647/4.364, allocations: 252.5 kB / 0.8448 GB, free: 89.52 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003215/4.367, allocations: 0.9675 MB / 0.8457 GB, free: 89.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009051/4.368, allocations: 1.028 MB / 0.8467 GB, free: 88.52 MB / 426.7 MB Notification: Performance of SimCode: time 1.693e-06/4.368, allocations: 0 / 0.8467 GB, free: 88.52 MB / 426.7 MB