Running command: "" <> buildModelFMU(Modelica.Media.Examples.WaterIF97,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_WaterIF97",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.76/1.76, allocations: 171.2 MB / 178.1 MB, free: 8.309 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1916/1.952, allocations: 41.09 MB / 219.2 MB, free: 11.23 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.094/2.046, allocations: 38.77 MB / 258 MB, free: 4.398 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.109/8.155, allocations: 2.504 GB / 2.756 GB, free: 79.96 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/8.156, allocations: 62.39 kB / 2.756 GB, free: 79.96 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.704/8.86, allocations: 103.9 MB / 2.857 GB, free: 53.58 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/8.86, allocations: 7.812 kB / 2.857 GB, free: 53.58 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007768/8.86, allocations: 58.11 kB / 2.857 GB, free: 53.57 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/8.861, allocations: 226.2 kB / 2.858 GB, free: 53.37 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.662e-05/8.861, allocations: 7.844 kB / 2.858 GB, free: 53.37 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.557e-05/8.861, allocations: 15.39 kB / 2.858 GB, free: 53.37 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000666/8.862, allocations: 206.4 kB / 2.858 GB, free: 53.37 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004095/8.862, allocations: 205.5 kB / 2.858 GB, free: 53.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/8.862, allocations: 0 / 2.858 GB, free: 53.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.687e-05/8.862, allocations: 7.5 kB / 2.858 GB, free: 53.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/8.862, allocations: 3.938 kB / 2.858 GB, free: 53.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00228/8.864, allocations: 1.171 MB / 2.859 GB, free: 52.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/8.865, allocations: 122 kB / 2.859 GB, free: 52.25 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/8.865, allocations: 91.92 kB / 2.859 GB, free: 52.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1829/9.048, allocations: 47.13 MB / 2.905 GB, free: 22.83 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.115e-05/9.048, allocations: 35.31 kB / 2.905 GB, free: 22.79 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 2.765e-06/9.048, allocations: 2.812 kB / 2.905 GB, free: 22.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=33): time 0.006207/9.054, allocations: 1.078 MB / 2.906 GB, free: 22.48 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/9.054, allocations: 106.7 kB / 2.907 GB, free: 22.36 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/9.054, allocations: 112.5 kB / 2.907 GB, free: 22.26 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.052e-05/9.054, allocations: 27.23 kB / 2.907 GB, free: 22.23 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.905e-05/9.055, allocations: 102 kB / 2.907 GB, free: 22.14 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/9.055, allocations: 119.1 kB / 2.907 GB, free: 22.08 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/9.055, allocations: 4.062 kB / 2.907 GB, free: 22.07 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.608e-05/9.055, allocations: 323.1 kB / 2.907 GB, free: 21.76 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003394/9.055, allocations: 111.1 kB / 2.907 GB, free: 21.76 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/9.056, allocations: 171.1 kB / 2.908 GB, free: 21.69 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005912/9.056, allocations: 131.4 kB / 2.908 GB, free: 21.68 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/9.056, allocations: 0 / 2.908 GB, free: 21.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00184/9.058, allocations: 425.5 kB / 2.908 GB, free: 21.63 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/9.058, allocations: 15.88 kB / 2.908 GB, free: 21.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/9.058, allocations: 0 / 2.908 GB, free: 21.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002699/9.058, allocations: 35.27 kB / 2.908 GB, free: 21.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009894/9.059, allocations: 95.91 kB / 2.908 GB, free: 21.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000825/9.06, allocations: 0.5569 MB / 2.909 GB, free: 21.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/9.062, allocations: 19.38 kB / 2.909 GB, free: 21.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/9.062, allocations: 18.17 kB / 2.909 GB, free: 21.09 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (medium.phase,state.phase,state2.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000176/9.062, allocations: 117.1 kB / 2.909 GB, free: 20.98 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005423/9.063, allocations: 91 kB / 2.909 GB, free: 20.97 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003033/9.066, allocations: 1.374 MB / 2.91 GB, free: 20.84 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.199e-05/9.066, allocations: 19.12 kB / 2.91 GB, free: 20.84 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/9.066, allocations: 0 / 2.91 GB, free: 20.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/9.066, allocations: 3.938 kB / 2.91 GB, free: 20.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003643/9.069, allocations: 1.698 MB / 2.912 GB, free: 20.49 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/9.07, allocations: 0 / 2.912 GB, free: 20.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008695/9.07, allocations: 84.28 kB / 2.912 GB, free: 20.49 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003742/9.071, allocations: 71.86 kB / 2.912 GB, free: 20.48 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.305e-05/9.071, allocations: 11.62 kB / 2.912 GB, free: 20.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000503/9.071, allocations: 0.6134 MB / 2.913 GB, free: 19.95 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/9.071, allocations: 5.969 kB / 2.913 GB, free: 19.95 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002818/9.074, allocations: 1.783 MB / 2.914 GB, free: 19.49 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003735/9.078, allocations: 2.589 MB / 2.917 GB, free: 18.62 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/9.078, allocations: 112.3 kB / 2.917 GB, free: 18.52 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.331e-05/9.078, allocations: 0 / 2.917 GB, free: 18.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007668/9.079, allocations: 30.58 kB / 2.917 GB, free: 18.5 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.678e-05/9.079, allocations: 35.34 kB / 2.917 GB, free: 18.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.807e-05/9.079, allocations: 18.22 kB / 2.917 GB, free: 18.5 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.413e-05/9.079, allocations: 87.09 kB / 2.917 GB, free: 18.43 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006295/9.086, allocations: 1.055 MB / 2.918 GB, free: 18.29 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (medium.p,medium.h,V) * Number of discrete variables: 9 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,medium.phase,$cse1.phase,$cse1.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01078/9.097, allocations: 1.342 MB / 2.92 GB, free: 17.98 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001609/9.098, allocations: 0.6662 MB / 2.92 GB, free: 17.97 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/9.098, allocations: 448 / 2.92 GB, free: 17.97 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001101/9.099, allocations: 0.6176 MB / 2.921 GB, free: 17.97 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/9.1, allocations: 71.77 kB / 2.921 GB, free: 17.96 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003204/9.104, allocations: 1.011 MB / 2.922 GB, free: 17.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007373/9.104, allocations: 0.847 MB / 2.923 GB, free: 32.95 MB / 362.7 MB Notification: Performance of SimCode: time 2.815e-06/9.105, allocations: 0 / 2.923 GB, free: 32.95 MB / 362.7 MB