Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",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.096/2.096, allocations: 234.9 MB / 241.9 MB, free: 9.781 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1716/2.268, allocations: 57.22 MB / 299.1 MB, free: 452 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/2.568, allocations: 54.84 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.359/3.928, allocations: 0.5035 GB / 0.8492 GB, free: 102.4 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004349/3.928, allocations: 93.94 kB / 0.8493 GB, free: 102.4 MB / 474.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 1.22/5.149, allocations: 232.4 MB / 1.076 GB, free: 63.36 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/5.149, allocations: 8 kB / 1.076 GB, free: 63.35 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001553/5.15, allocations: 135.1 kB / 1.076 GB, free: 63.21 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00198/5.152, allocations: 0.5537 MB / 1.077 GB, free: 62.63 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/5.153, allocations: 80.41 kB / 1.077 GB, free: 62.54 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003207/5.153, allocations: 35.89 kB / 1.077 GB, free: 62.5 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002101/5.155, allocations: 0.5372 MB / 1.078 GB, free: 61.97 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/5.157, allocations: 0.7312 MB / 1.078 GB, free: 61.16 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.822e-05/5.157, allocations: 3.938 kB / 1.078 GB, free: 61.15 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001472/5.157, allocations: 4 kB / 1.078 GB, free: 61.15 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.036e-05/5.157, allocations: 40.97 kB / 1.078 GB, free: 61.11 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007424/5.165, allocations: 4.011 MB / 1.082 GB, free: 56.89 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006492/5.165, allocations: 202.3 kB / 1.083 GB, free: 56.69 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004122/5.166, allocations: 129.3 kB / 1.083 GB, free: 56.56 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001376/5.166, allocations: 32.84 kB / 1.083 GB, free: 56.53 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.011e-05/5.166, allocations: 42.78 kB / 1.083 GB, free: 56.48 MB / 474.7 MB Notification: Performance of pre-optimization done (n=27): time 5.591e-06/5.166, allocations: 0 / 1.083 GB, free: 56.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.01053/5.177, allocations: 1.411 MB / 1.084 GB, free: 54.99 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/5.177, allocations: 136.5 kB / 1.084 GB, free: 54.82 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009233/5.178, allocations: 470.2 kB / 1.085 GB, free: 54.36 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001234/5.178, allocations: 29.7 kB / 1.085 GB, free: 54.32 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002221/5.178, allocations: 346.1 kB / 1.085 GB, free: 53.98 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/5.178, allocations: 118.3 kB / 1.085 GB, free: 53.86 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.408e-05/5.178, allocations: 0 / 1.085 GB, free: 53.86 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/5.178, allocations: 370.8 kB / 1.085 GB, free: 53.49 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005571/5.179, allocations: 189.5 kB / 1.086 GB, free: 53.31 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009433/5.18, allocations: 0.5092 MB / 1.086 GB, free: 52.64 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00172/5.182, allocations: 347.4 kB / 1.086 GB, free: 52.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.642e-05/5.182, allocations: 4 kB / 1.086 GB, free: 52.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003755/5.186, allocations: 0.8372 MB / 1.087 GB, free: 51.45 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/5.186, allocations: 4 kB / 1.087 GB, free: 51.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.219e-05/5.186, allocations: 12 kB / 1.087 GB, free: 51.43 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002846/5.189, allocations: 267.1 kB / 1.088 GB, free: 51.17 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/5.19, allocations: 131.8 kB / 1.088 GB, free: 51.04 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00236/5.192, allocations: 0.9385 MB / 1.089 GB, free: 50.08 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/5.194, allocations: 40.09 kB / 1.089 GB, free: 50.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002821/5.194, allocations: 75.92 kB / 1.089 GB, free: 49.96 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (72): * Single equations (assignments): 71 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0003494/5.195, allocations: 140.6 kB / 1.089 GB, free: 49.82 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003169/5.195, allocations: 63.25 kB / 1.089 GB, free: 49.76 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003229/5.198, allocations: 0.5539 MB / 1.089 GB, free: 49.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/5.198, allocations: 7.906 kB / 1.089 GB, free: 49.19 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/5.198, allocations: 0 / 1.089 GB, free: 49.19 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/5.198, allocations: 0 / 1.089 GB, free: 49.19 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003502/5.202, allocations: 0.9646 MB / 1.09 GB, free: 48.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/5.202, allocations: 32 / 1.09 GB, free: 48.18 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002737/5.205, allocations: 191.8 kB / 1.091 GB, free: 47.99 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002126/5.205, allocations: 20.84 kB / 1.091 GB, free: 47.97 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/5.205, allocations: 11.98 kB / 1.091 GB, free: 47.96 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002969/5.208, allocations: 2.576 MB / 1.093 GB, free: 45.15 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/5.208, allocations: 4.031 kB / 1.093 GB, free: 45.15 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002151/5.21, allocations: 0.6777 MB / 1.094 GB, free: 44.44 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003044/5.214, allocations: 1.304 MB / 1.095 GB, free: 43.11 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005881/5.214, allocations: 172.3 kB / 1.095 GB, free: 42.92 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002402/5.214, allocations: 0 / 1.095 GB, free: 42.92 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009216/5.215, allocations: 19.97 kB / 1.095 GB, free: 42.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/5.215, allocations: 32.03 kB / 1.095 GB, free: 42.87 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.393e-05/5.216, allocations: 35.98 kB / 1.095 GB, free: 42.84 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0006113/5.216, allocations: 346.9 kB / 1.096 GB, free: 42.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003914/5.22, allocations: 435.7 kB / 1.096 GB, free: 42.07 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004458/5.225, allocations: 1.179 MB / 1.097 GB, free: 41.03 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002745/5.227, allocations: 496.7 kB / 1.098 GB, free: 40.55 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.391e-05/5.228, allocations: 0 / 1.098 GB, free: 40.55 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003391/5.231, allocations: 390 kB / 1.098 GB, free: 40.16 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002918/5.234, allocations: 233.7 kB / 1.098 GB, free: 39.93 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/5.245, allocations: 2.354 MB / 1.101 GB, free: 37.58 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001368/5.247, allocations: 1.066 MB / 1.102 GB, free: 36.49 MB / 474.7 MB Notification: Performance of SimCode: time 1.393e-06/5.247, allocations: 4 kB / 1.102 GB, free: 36.48 MB / 474.7 MB