Running command: "" <> buildModelFMU(Modelica.Media.Examples.WaterIF97,fileNamePrefix="Modelica_3_2_2_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.617/1.617, allocations: 194.9 MB / 202.5 MB, free: 6.922 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.242/1.859, allocations: 46.81 MB / 249.3 MB, free: 5.367 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08745/1.946, allocations: 44.51 MB / 293.8 MB, free: 10.94 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.427/7.373, allocations: 2.614 GB / 2.901 GB, free: 94.53 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/7.374, allocations: 71.19 kB / 2.901 GB, free: 94.53 MB / 410.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.4915/7.865, allocations: 105.2 MB / 3.003 GB, free: 34.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/7.865, allocations: 8 kB / 3.003 GB, free: 34.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007842/7.866, allocations: 59.86 kB / 3.003 GB, free: 34.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/7.866, allocations: 226.3 kB / 3.004 GB, free: 33.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.308e-05/7.866, allocations: 4 kB / 3.004 GB, free: 33.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.399e-05/7.867, allocations: 15.94 kB / 3.004 GB, free: 33.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006345/7.867, allocations: 200.5 kB / 3.004 GB, free: 33.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003786/7.868, allocations: 208.8 kB / 3.004 GB, free: 33.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/7.868, allocations: 7.922 kB / 3.004 GB, free: 33.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.533e-05/7.868, allocations: 4 kB / 3.004 GB, free: 33.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/7.868, allocations: 4 kB / 3.004 GB, free: 33.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001747/7.869, allocations: 1.175 MB / 3.005 GB, free: 32.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002389/7.87, allocations: 119.4 kB / 3.005 GB, free: 32.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/7.87, allocations: 90.27 kB / 3.005 GB, free: 31.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2928/8.163, allocations: 47.22 MB / 3.052 GB, free: 109.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/8.163, allocations: 37.56 kB / 3.052 GB, free: 109.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 2.455e-06/8.163, allocations: 0 / 3.052 GB, free: 109.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.005631/8.168, allocations: 1.076 MB / 3.053 GB, free: 108.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/8.169, allocations: 113.5 kB / 3.053 GB, free: 108.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/8.169, allocations: 109.6 kB / 3.053 GB, free: 108.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.093e-05/8.169, allocations: 25.7 kB / 3.053 GB, free: 108.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.3e-05/8.169, allocations: 105.3 kB / 3.053 GB, free: 108.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/8.169, allocations: 112.8 kB / 3.053 GB, free: 108.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/8.169, allocations: 0 / 3.053 GB, free: 108.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.824e-05/8.169, allocations: 335.2 kB / 3.053 GB, free: 108.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002885/8.169, allocations: 101.5 kB / 3.053 GB, free: 108.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003279/8.17, allocations: 168.7 kB / 3.054 GB, free: 108.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005793/8.17, allocations: 127.4 kB / 3.054 GB, free: 108.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/8.17, allocations: 0 / 3.054 GB, free: 108.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001697/8.172, allocations: 442.9 kB / 3.054 GB, free: 108.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/8.172, allocations: 4.844 kB / 3.054 GB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/8.172, allocations: 7.188 kB / 3.054 GB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002639/8.172, allocations: 35.64 kB / 3.054 GB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008892/8.173, allocations: 93.53 kB / 3.054 GB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000469/8.174, allocations: 0.553 MB / 3.055 GB, free: 107.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000574/8.174, allocations: 26.31 kB / 3.055 GB, free: 107.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.963e-05/8.174, allocations: 17.25 kB / 3.055 GB, free: 107.5 MB / 410.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.0001504/8.174, allocations: 114.2 kB / 3.055 GB, free: 107.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004989/8.175, allocations: 88.86 kB / 3.055 GB, free: 107.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002887/8.178, allocations: 1.377 MB / 3.056 GB, free: 107.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.964e-05/8.178, allocations: 23.33 kB / 3.056 GB, free: 107.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/8.178, allocations: 3.906 kB / 3.056 GB, free: 107.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/8.178, allocations: 3.875 kB / 3.056 GB, free: 107.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003377/8.181, allocations: 1.693 MB / 3.058 GB, free: 107 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/8.181, allocations: 0 / 3.058 GB, free: 107 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008516/8.182, allocations: 88.12 kB / 3.058 GB, free: 107 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003693/8.183, allocations: 67.73 kB / 3.058 GB, free: 107 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-05/8.183, allocations: 9.609 kB / 3.058 GB, free: 107 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004472/8.183, allocations: 0.6189 MB / 3.059 GB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/8.183, allocations: 3.312 kB / 3.059 GB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002777/8.186, allocations: 1.79 MB / 3.061 GB, free: 106 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003543/8.19, allocations: 2.578 MB / 3.063 GB, free: 105.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.343e-05/8.19, allocations: 111.8 kB / 3.063 GB, free: 105 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.112e-05/8.19, allocations: 3.906 kB / 3.063 GB, free: 105 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007489/8.191, allocations: 22.86 kB / 3.063 GB, free: 105 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.291e-05/8.191, allocations: 25.8 kB / 3.063 GB, free: 105 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.904e-05/8.191, allocations: 18.58 kB / 3.063 GB, free: 105 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.843e-05/8.191, allocations: 90.75 kB / 3.063 GB, free: 105 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006267/8.197, allocations: 1.066 MB / 3.064 GB, free: 105 MB / 410.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.009959/8.207, allocations: 1.336 MB / 3.066 GB, free: 104.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001572/8.209, allocations: 0.6708 MB / 3.066 GB, free: 104.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/8.209, allocations: 1.875 kB / 3.066 GB, free: 104.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009989/8.21, allocations: 0.6122 MB / 3.067 GB, free: 104.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/8.211, allocations: 68.45 kB / 3.067 GB, free: 104.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002937/8.214, allocations: 1.02 MB / 3.068 GB, free: 104.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005597/8.214, allocations: 0.8508 MB / 3.069 GB, free: 104 MB / 410.7 MB Notification: Performance of SimCode: time 1.303e-06/8.214, allocations: 2.297 kB / 3.069 GB, free: 104 MB / 410.7 MB