Running command: "" <> buildModelFMU(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_TwoPhaseWater_TestTwoPhaseStates",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(Modelica): time 1.61/1.61, allocations: 194.9 MB / 202.5 MB, free: 6.93 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2003/1.81, allocations: 46.83 MB / 249.3 MB, free: 5.375 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09065/1.901, allocations: 44.5 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.303/8.203, allocations: 2.844 GB / 3.131 GB, free: 86.63 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.03254/8.236, allocations: 10.91 MB / 3.141 GB, free: 85.63 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.6918/8.928, allocations: 110.6 MB / 3.249 GB, free: 58.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/8.928, allocations: 9.75 kB / 3.249 GB, free: 58.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002203/8.93, allocations: 199.2 kB / 3.25 GB, free: 58.92 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/8.93, allocations: 260.3 kB / 3.25 GB, free: 58.72 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.539e-05/8.93, allocations: 11.31 kB / 3.25 GB, free: 58.72 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.846e-05/8.931, allocations: 16.53 kB / 3.25 GB, free: 58.72 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008603/8.931, allocations: 345.2 kB / 3.25 GB, free: 58.72 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006003/8.932, allocations: 274.5 kB / 3.25 GB, free: 58.65 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/8.932, allocations: 0 / 3.25 GB, free: 58.65 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.355e-05/8.932, allocations: 5.594 kB / 3.25 GB, free: 58.65 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/8.932, allocations: 3.531 kB / 3.25 GB, free: 58.65 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/8.934, allocations: 1.322 MB / 3.252 GB, free: 57.76 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000447/8.935, allocations: 224.9 kB / 3.252 GB, free: 57.73 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003009/8.935, allocations: 128.7 kB / 3.252 GB, free: 57.73 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1366/9.072, allocations: 37.45 MB / 3.289 GB, free: 35.14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/9.072, allocations: 40.11 kB / 3.289 GB, free: 35.1 MB / 394.7 MB Notification: Performance of pre-optimization done (n=33): time 3.576e-06/9.072, allocations: 0 / 3.289 GB, free: 35.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=33): time 0.002442/9.074, allocations: 0.5215 MB / 3.289 GB, free: 35.05 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/9.074, allocations: 58.94 kB / 3.289 GB, free: 34.99 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/9.074, allocations: 111.2 kB / 3.289 GB, free: 34.89 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/9.074, allocations: 25.7 kB / 3.289 GB, free: 34.86 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.958e-05/9.075, allocations: 115 kB / 3.289 GB, free: 34.77 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.413e-05/9.075, allocations: 115.1 kB / 3.29 GB, free: 34.71 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-05/9.075, allocations: 0 / 3.29 GB, free: 34.71 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.638e-05/9.075, allocations: 323.7 kB / 3.29 GB, free: 34.39 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002979/9.075, allocations: 108 kB / 3.29 GB, free: 34.39 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003105/9.075, allocations: 178.2 kB / 3.29 GB, free: 34.32 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008054/9.076, allocations: 136.4 kB / 3.29 GB, free: 34.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/9.076, allocations: 2.188 kB / 3.29 GB, free: 34.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002348/9.079, allocations: 0.5715 MB / 3.291 GB, free: 34.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/9.079, allocations: 5.875 kB / 3.291 GB, free: 34.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/9.079, allocations: 3.625 kB / 3.291 GB, free: 34.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/9.079, allocations: 3.25 kB / 3.291 GB, free: 34.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006193/9.079, allocations: 89.17 kB / 3.291 GB, free: 34.26 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/9.079, allocations: 7.125 kB / 3.291 GB, free: 34.26 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003244/9.08, allocations: 41.95 kB / 3.291 GB, free: 34.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.974e-05/9.08, allocations: 18.97 kB / 3.291 GB, free: 34.25 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 4 (medium.phase,medium.bubble2.phase,medium.bubble.phase,medium.dew.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 41 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001184/9.08, allocations: 108.1 kB / 3.291 GB, free: 34.14 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001027/9.081, allocations: 236.6 kB / 3.291 GB, free: 34.14 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003765/9.085, allocations: 2.262 MB / 3.294 GB, free: 33.96 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.002e-05/9.085, allocations: 28.05 kB / 3.294 GB, free: 33.96 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/9.085, allocations: 3.391 kB / 3.294 GB, free: 33.96 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/9.085, allocations: 0.9375 kB / 3.294 GB, free: 33.96 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/9.086, allocations: 0.8418 MB / 3.294 GB, free: 33.76 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/9.086, allocations: 7.531 kB / 3.294 GB, free: 33.76 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005339/9.087, allocations: 66.45 kB / 3.294 GB, free: 33.76 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.1e-05/9.087, allocations: 2.312 kB / 3.294 GB, free: 33.76 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.802e-05/9.087, allocations: 9.938 kB / 3.294 GB, free: 33.76 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/9.087, allocations: 3.625 kB / 3.294 GB, free: 33.76 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/9.087, allocations: 0 / 3.294 GB, free: 33.76 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006003/9.093, allocations: 2.526 MB / 3.297 GB, free: 33.5 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007273/9.1, allocations: 3.511 MB / 3.3 GB, free: 32.85 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/9.1, allocations: 120.7 kB / 3.3 GB, free: 32.73 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.093e-05/9.1, allocations: 3.906 kB / 3.3 GB, free: 32.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003529/9.101, allocations: 15.11 kB / 3.3 GB, free: 32.72 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.981e-05/9.101, allocations: 32.77 kB / 3.3 GB, free: 32.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.677e-05/9.101, allocations: 15.19 kB / 3.301 GB, free: 32.72 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.159e-05/9.101, allocations: 90.33 kB / 3.301 GB, free: 32.65 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006052/9.107, allocations: 1.068 MB / 3.302 GB, free: 32.51 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (medium.p,medium.h) * Number of discrete variables: 15 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.region3boundary,$cse10.region3boundary,medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01017/9.117, allocations: 1.413 MB / 3.303 GB, free: 32.17 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001935/9.119, allocations: 0.9922 MB / 3.304 GB, free: 32.16 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/9.119, allocations: 0 / 3.304 GB, free: 32.16 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001156/9.12, allocations: 1.022 MB / 3.305 GB, free: 32.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009429/9.121, allocations: 71.55 kB / 3.305 GB, free: 32.15 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/9.124, allocations: 1.323 MB / 3.306 GB, free: 31.88 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005127/9.124, allocations: 0.92 MB / 3.307 GB, free: 31.17 MB / 394.7 MB Notification: Performance of SimCode: time 1.072e-06/9.124, allocations: 0 / 3.307 GB, free: 31.17 MB / 394.7 MB