Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Valves_TestValveCharacteristics",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.261/2.261, allocations: 235 MB / 241.9 MB, free: 9.793 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1608/2.422, allocations: 57.21 MB / 299.1 MB, free: 484 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/2.73, allocations: 54.84 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.371/9.102, allocations: 2.607 GB / 2.953 GB, free: 86.93 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/9.102, allocations: 91.88 kB / 2.953 GB, free: 86.88 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: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 3.199/12.3, allocations: 0.6305 GB / 3.584 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/12.3, allocations: 8 kB / 3.584 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01398/12.31, allocations: 1.018 MB / 3.585 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004323/12.32, allocations: 1.057 MB / 3.586 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003786/12.32, allocations: 52 kB / 3.586 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006069/12.32, allocations: 68 kB / 3.586 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005202/12.33, allocations: 1.215 MB / 3.587 GB, free: 8.539 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005341/12.33, allocations: 1.419 MB / 3.588 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.812e-05/12.33, allocations: 7.938 kB / 3.588 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002702/12.33, allocations: 4 kB / 3.588 GB, free: 6.957 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-05/12.33, allocations: 32 kB / 3.588 GB, free: 6.926 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.82/14.15, allocations: 267 MB / 3.849 GB, free: 80.24 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/14.15, allocations: 0.5351 MB / 3.85 GB, free: 80.2 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006559/14.15, allocations: 264.1 kB / 3.85 GB, free: 80.2 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08358/14.24, allocations: 20.35 MB / 3.87 GB, free: 68.07 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/14.24, allocations: 47.39 kB / 3.87 GB, free: 68.03 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=23): time 4.188e-06/14.24, allocations: 3.562 kB / 3.87 GB, free: 68.03 MB / 0.5417 GB Notification: Performance of matching and sorting (n=23): time 0.01205/14.25, allocations: 1.265 MB / 3.871 GB, free: 67.96 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/14.25, allocations: 263.4 kB / 3.871 GB, free: 67.64 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003604/14.25, allocations: 1.054 MB / 3.872 GB, free: 67.48 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001364/14.25, allocations: 29.27 kB / 3.872 GB, free: 67.45 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007395/14.25, allocations: 0.7345 MB / 3.873 GB, free: 67.07 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000202/14.25, allocations: 99.23 kB / 3.873 GB, free: 67.03 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/14.25, allocations: 4.5 kB / 3.873 GB, free: 67.03 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.00017/14.25, allocations: 358.4 kB / 3.873 GB, free: 66.72 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001436/14.26, allocations: 368.7 kB / 3.874 GB, free: 66.72 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001839/14.26, allocations: 0.9139 MB / 3.875 GB, free: 66.02 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007055/14.27, allocations: 0.8244 MB / 3.876 GB, free: 65.99 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.888e-05/14.27, allocations: 3.812 kB / 3.876 GB, free: 65.99 MB / 0.5417 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.01396/14.28, allocations: 2.773 MB / 3.878 GB, free: 65.88 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001523/14.28, allocations: 6.869 MB / 3.885 GB, free: 58.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-05/14.28, allocations: 17.47 kB / 3.885 GB, free: 58.66 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.978e-05/14.28, allocations: 26.84 kB / 3.885 GB, free: 58.66 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002745/14.28, allocations: 398.5 kB / 3.885 GB, free: 58.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.874e-05/14.28, allocations: 38.83 kB / 3.885 GB, free: 58.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004505/14.29, allocations: 364.9 kB / 3.886 GB, free: 58.58 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004931/14.29, allocations: 85.09 kB / 3.886 GB, free: 58.58 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/14.29, allocations: 8 kB / 3.886 GB, free: 58.58 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009932/14.3, allocations: 1.375 MB / 3.887 GB, free: 58.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.325e-05/14.3, allocations: 18.94 kB / 3.887 GB, free: 58.55 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.009e-05/14.3, allocations: 26.28 kB / 3.887 GB, free: 58.55 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003978/14.3, allocations: 402.2 kB / 3.888 GB, free: 58.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.85e-05/14.3, allocations: 42.34 kB / 3.888 GB, free: 58.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004033/14.31, allocations: 235.5 kB / 3.888 GB, free: 58.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004202/14.31, allocations: 85.19 kB / 3.888 GB, free: 58.5 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 16 (source2.medium.phase,sink2.medium.phase,source1.medium.phase,sink1.medium.phase,source3.medium.phase,sink3.medium.phase,source4.medium.phase,sink4.medium.phase,valve_equalPercentage.state_b.phase,valve_equalPercentage.state_a.phase,valve_quadratic.state_b.phase,valve_quadratic.state_a.phase,valve_constant.state_b.phase,valve_constant.state_a.phase,valve_linear.state_b.phase,valve_linear.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 165 * 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.0004252/14.31, allocations: 162.7 kB / 3.888 GB, free: 58.39 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003298/14.31, allocations: 0.712 MB / 3.889 GB, free: 58.33 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003667/14.32, allocations: 0.9532 MB / 3.89 GB, free: 58.13 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/14.32, allocations: 1.5 kB / 3.89 GB, free: 58.13 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/14.32, allocations: 3.812 kB / 3.89 GB, free: 58.13 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/14.32, allocations: 0 / 3.89 GB, free: 58.13 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004444/14.32, allocations: 1.591 MB / 3.891 GB, free: 57.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/14.32, allocations: 0 / 3.891 GB, free: 57.82 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005192/14.32, allocations: 63.67 kB / 3.891 GB, free: 57.82 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.108e-05/14.32, allocations: 2.344 kB / 3.891 GB, free: 57.82 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.099e-05/14.32, allocations: 10.16 kB / 3.891 GB, free: 57.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.284e-06/14.32, allocations: 5.406 kB / 3.891 GB, free: 57.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/14.32, allocations: 0 / 3.891 GB, free: 57.82 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005003/14.33, allocations: 1.14 MB / 3.892 GB, free: 57.56 MB / 0.5417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004912/14.33, allocations: 1.564 MB / 3.894 GB, free: 56.94 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001415/14.33, allocations: 0.5009 MB / 3.894 GB, free: 56.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000758/14.33, allocations: 11.28 kB / 3.894 GB, free: 56.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002037/14.33, allocations: 86.45 kB / 3.895 GB, free: 56.75 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/14.34, allocations: 14.95 kB / 3.895 GB, free: 56.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-05/14.34, allocations: 10.94 kB / 3.895 GB, free: 56.75 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.0027/14.34, allocations: 1.125 MB / 3.896 GB, free: 56.64 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01666/14.35, allocations: 2.074 MB / 3.898 GB, free: 56.54 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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 Backend phase and start with SimCode phase: time 0.01231/14.37, allocations: 2.173 MB / 3.9 GB, free: 56.21 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003803/14.37, allocations: 1.36 MB / 3.901 GB, free: 56.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/14.37, allocations: 2.75 kB / 3.901 GB, free: 56.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002773/14.37, allocations: 88.5 kB / 3.901 GB, free: 56.19 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004717/14.38, allocations: 370.9 kB / 3.902 GB, free: 56.17 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1119/14.49, allocations: 22.5 MB / 3.924 GB, free: 54.8 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001646/14.49, allocations: 1.401 MB / 3.925 GB, free: 54.05 MB / 0.5417 GB Notification: Performance of SimCode: time 1.984e-06/14.49, allocations: 0 / 3.925 GB, free: 54.05 MB / 0.5417 GB