Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",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.154/2.154, allocations: 209.3 MB / 216.3 MB, free: 5.441 MB / 178.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1505/2.304, allocations: 51.04 MB / 267.3 MB, free: 2.301 MB / 226.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/2.582, allocations: 48.69 MB / 316 MB, free: 4.961 MB / 258.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.909/11.49, allocations: 3.66 GB / 3.969 GB, free: 108.9 MB / 434.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/11.49, allocations: 89.88 kB / 3.969 GB, free: 108.9 MB / 434.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 2.256/13.75, allocations: 430.5 MB / 4.389 GB, free: 31.9 MB / 434.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/13.75, allocations: 15.98 kB / 4.389 GB, free: 31.88 MB / 434.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/13.75, allocations: 102.9 kB / 4.389 GB, free: 31.78 MB / 434.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002357/13.75, allocations: 0.6488 MB / 4.39 GB, free: 31.1 MB / 434.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001647/13.75, allocations: 93.39 kB / 4.39 GB, free: 31 MB / 434.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003768/13.75, allocations: 44 kB / 4.39 GB, free: 30.95 MB / 434.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003082/13.76, allocations: 1.058 MB / 4.391 GB, free: 29.89 MB / 434.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002795/13.76, allocations: 1.035 MB / 4.392 GB, free: 28.8 MB / 434.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.209e-05/13.76, allocations: 7.938 kB / 4.392 GB, free: 28.8 MB / 434.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001771/13.76, allocations: 0 / 4.392 GB, free: 28.8 MB / 434.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.486e-05/13.76, allocations: 73.86 kB / 4.392 GB, free: 28.73 MB / 434.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0113/13.77, allocations: 4.775 MB / 4.397 GB, free: 23.68 MB / 434.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/13.77, allocations: 487 kB / 4.397 GB, free: 23.2 MB / 434.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008786/13.77, allocations: 351 kB / 4.398 GB, free: 22.85 MB / 434.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001138/13.77, allocations: 1.07 MB / 4.399 GB, free: 21.57 MB / 434.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/13.77, allocations: 39.22 kB / 4.399 GB, free: 21.52 MB / 434.8 MB Notification: Performance of pre-optimization done (n=63): time 3.337e-06/13.77, allocations: 0 / 4.399 GB, free: 21.52 MB / 434.8 MB Notification: Performance of matching and sorting (n=75): time 0.02561/13.8, allocations: 3.699 MB / 4.402 GB, free: 17.77 MB / 434.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/13.8, allocations: 115.5 kB / 4.402 GB, free: 17.62 MB / 434.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009864/13.8, allocations: 494.1 kB / 4.403 GB, free: 17.14 MB / 434.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002914/13.8, allocations: 25.7 kB / 4.403 GB, free: 17.11 MB / 434.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/13.8, allocations: 361.5 kB / 4.403 GB, free: 16.75 MB / 434.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002905/13.8, allocations: 268.1 kB / 4.403 GB, free: 16.48 MB / 434.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.19e-05/13.8, allocations: 7.875 kB / 4.403 GB, free: 16.47 MB / 434.8 MB Notification: Performance of setup shared object (initialization): time 0.0001375/13.8, allocations: 382.8 kB / 4.404 GB, free: 16.09 MB / 434.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/13.8, allocations: 422.5 kB / 4.404 GB, free: 15.68 MB / 434.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/13.8, allocations: 0.7252 MB / 4.405 GB, free: 14.82 MB / 434.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003167/13.81, allocations: 0.6874 MB / 4.406 GB, free: 14.13 MB / 434.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.35e-05/13.81, allocations: 4 kB / 4.406 GB, free: 14.12 MB / 434.8 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.005979/13.81, allocations: 1.608 MB / 4.407 GB, free: 12.5 MB / 434.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/13.81, allocations: 8 kB / 4.407 GB, free: 12.5 MB / 434.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-05/13.81, allocations: 8 kB / 4.407 GB, free: 12.49 MB / 434.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01047/13.82, allocations: 1.075 MB / 4.408 GB, free: 11.41 MB / 434.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/13.83, allocations: 171.7 kB / 4.408 GB, free: 11.24 MB / 434.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003699/13.83, allocations: 1.516 MB / 4.41 GB, free: 9.699 MB / 434.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002047/13.83, allocations: 79.78 kB / 4.41 GB, free: 9.621 MB / 434.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002547/13.83, allocations: 67.97 kB / 4.41 GB, free: 9.555 MB / 434.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (95): * Single equations (assignments): 94 * 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 {3 32} Notification: Performance of prepare postOptimizeDAE: time 0.0003465/13.83, allocations: 128.7 kB / 4.41 GB, free: 9.422 MB / 434.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002636/13.83, allocations: 75.06 kB / 4.41 GB, free: 9.348 MB / 434.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006166/13.84, allocations: 1.528 MB / 4.412 GB, free: 7.797 MB / 434.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-05/13.84, allocations: 8 kB / 4.412 GB, free: 7.789 MB / 434.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/13.84, allocations: 0 / 4.412 GB, free: 7.789 MB / 434.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.466e-05/13.84, allocations: 3.984 kB / 4.412 GB, free: 7.785 MB / 434.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008182/13.85, allocations: 2.747 MB / 4.414 GB, free: 4.926 MB / 434.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-05/13.85, allocations: 8.328 kB / 4.414 GB, free: 4.918 MB / 434.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00255/13.85, allocations: 243.7 kB / 4.415 GB, free: 4.68 MB / 434.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002589/13.85, allocations: 319.4 kB / 4.415 GB, free: 4.367 MB / 434.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002392/13.85, allocations: 19.98 kB / 4.415 GB, free: 4.348 MB / 434.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002676/13.85, allocations: 2.166 MB / 4.417 GB, free: 2.043 MB / 434.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.405e-06/13.85, allocations: 4 kB / 4.417 GB, free: 2.039 MB / 434.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006058/13.86, allocations: 2.022 MB / 4.419 GB, free: 15.9 MB / 450.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009031/13.87, allocations: 3.099 MB / 4.422 GB, free: 12.68 MB / 450.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009919/13.87, allocations: 272 kB / 4.422 GB, free: 12.39 MB / 450.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002904/13.87, allocations: 16 kB / 4.422 GB, free: 12.38 MB / 450.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001677/13.87, allocations: 63.78 kB / 4.422 GB, free: 12.31 MB / 450.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002012/13.87, allocations: 56.7 kB / 4.422 GB, free: 12.25 MB / 450.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001803/13.87, allocations: 43.97 kB / 4.423 GB, free: 12.21 MB / 450.8 MB Notification: Performance of sort global known variables: time 0.0008377/13.87, allocations: 374.9 kB / 4.423 GB, free: 11.85 MB / 450.8 MB Notification: Performance of remove unused functions: time 0.005687/13.88, allocations: 0.9639 MB / 4.424 GB, free: 10.88 MB / 450.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * 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: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0065/13.89, allocations: 1.805 MB / 4.426 GB, free: 9.246 MB / 450.8 MB Notification: Performance of simCode: created initialization part: time 0.003728/13.89, allocations: 1.059 MB / 4.427 GB, free: 8.188 MB / 450.8 MB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/13.89, allocations: 4 kB / 4.427 GB, free: 8.184 MB / 450.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003336/13.89, allocations: 0.6485 MB / 4.427 GB, free: 7.535 MB / 450.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003622/13.9, allocations: 343.7 kB / 4.428 GB, free: 7.199 MB / 450.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007633/13.9, allocations: 1.685 MB / 4.429 GB, free: 5.453 MB / 450.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001932/13.91, allocations: 1.173 MB / 4.43 GB, free: 4.254 MB / 450.8 MB Notification: Performance of SimCode: time 1.503e-06/13.91, allocations: 4 kB / 4.43 GB, free: 4.25 MB / 450.8 MB