Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics,fileNamePrefix="ModelicaTest_3_2_1_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.101/2.101, allocations: 209.3 MB / 216.3 MB, free: 6.785 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2225/2.323, allocations: 51.04 MB / 267.3 MB, free: 5.129 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/2.464, allocations: 48.69 MB / 316 MB, free: 4.34 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.422/8.887, allocations: 2.497 GB / 2.805 GB, free: 102.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000325/8.887, allocations: 85.59 kB / 2.806 GB, free: 102.9 MB / 426.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.391/12.28, allocations: 0.6166 GB / 3.422 GB, free: 34.04 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.861e-05/12.28, allocations: 11.78 kB / 3.422 GB, free: 34.04 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01665/12.3, allocations: 0.9593 MB / 3.423 GB, free: 33.96 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006119/12.3, allocations: 1.053 MB / 3.424 GB, free: 33.63 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000309/12.3, allocations: 57.03 kB / 3.424 GB, free: 33.63 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006414/12.3, allocations: 68.12 kB / 3.424 GB, free: 33.63 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004745/12.31, allocations: 1.211 MB / 3.425 GB, free: 33.62 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004173/12.31, allocations: 1.427 MB / 3.427 GB, free: 33.18 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.429e-05/12.31, allocations: 8.469 kB / 3.427 GB, free: 33.18 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002633/12.31, allocations: 5.875 kB / 3.427 GB, free: 33.18 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.511e-05/12.31, allocations: 30.28 kB / 3.427 GB, free: 33.18 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.712/14.02, allocations: 266.7 MB / 3.687 GB, free: 77.92 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/14.03, allocations: 0.5385 MB / 3.688 GB, free: 77.89 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006155/14.03, allocations: 259.1 kB / 3.688 GB, free: 77.88 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07544/14.1, allocations: 20.35 MB / 3.708 GB, free: 65.76 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/14.1, allocations: 40.95 kB / 3.708 GB, free: 65.71 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=23): time 3.607e-06/14.1, allocations: 3.656 kB / 3.708 GB, free: 65.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23): time 0.008097/14.11, allocations: 1.272 MB / 3.709 GB, free: 65.65 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.026e-05/14.11, allocations: 264.1 kB / 3.709 GB, free: 65.34 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003036/14.11, allocations: 1.055 MB / 3.711 GB, free: 65.18 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001171/14.11, allocations: 25.7 kB / 3.711 GB, free: 65.15 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005311/14.11, allocations: 0.734 MB / 3.711 GB, free: 64.75 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/14.11, allocations: 103.5 kB / 3.711 GB, free: 64.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/14.11, allocations: 0.9844 kB / 3.711 GB, free: 64.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001071/14.11, allocations: 351.8 kB / 3.712 GB, free: 64.39 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/14.12, allocations: 368.8 kB / 3.712 GB, free: 64.39 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001374/14.12, allocations: 0.9099 MB / 3.713 GB, free: 63.69 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005444/14.12, allocations: 0.8213 MB / 3.714 GB, free: 63.66 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.94e-05/14.12, allocations: 3.812 kB / 3.714 GB, free: 63.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.01454/14.14, allocations: 2.783 MB / 3.716 GB, free: 63.54 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001707/14.14, allocations: 6.864 MB / 3.723 GB, free: 56.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.509e-05/14.14, allocations: 17.66 kB / 3.723 GB, free: 56.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.995e-05/14.14, allocations: 29.02 kB / 3.723 GB, free: 56.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002741/14.14, allocations: 411.3 kB / 3.724 GB, free: 56.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.486e-05/14.14, allocations: 36.34 kB / 3.724 GB, free: 56.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003942/14.15, allocations: 360.4 kB / 3.724 GB, free: 56.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003761/14.15, allocations: 83.67 kB / 3.724 GB, free: 56.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/14.15, allocations: 3.5 kB / 3.724 GB, free: 56.2 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007105/14.15, allocations: 1.378 MB / 3.725 GB, free: 56.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.423e-05/14.15, allocations: 19.72 kB / 3.725 GB, free: 56.17 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.654e-05/14.15, allocations: 32.31 kB / 3.725 GB, free: 56.17 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002637/14.16, allocations: 398 kB / 3.726 GB, free: 56.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.254e-05/14.16, allocations: 33.75 kB / 3.726 GB, free: 56.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003391/14.16, allocations: 235 kB / 3.726 GB, free: 56.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003823/14.16, allocations: 78.92 kB / 3.726 GB, free: 56.1 MB / 0.5105 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.0004137/14.16, allocations: 164.3 kB / 3.726 GB, free: 55.98 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003178/14.16, allocations: 0.72 MB / 3.727 GB, free: 55.91 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003759/14.17, allocations: 0.9397 MB / 3.728 GB, free: 55.71 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/14.17, allocations: 0 / 3.728 GB, free: 55.71 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/14.17, allocations: 0 / 3.728 GB, free: 55.71 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/14.17, allocations: 0 / 3.728 GB, free: 55.71 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004437/14.17, allocations: 1.6 MB / 3.73 GB, free: 55.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/14.17, allocations: 0 / 3.73 GB, free: 55.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005086/14.17, allocations: 69.16 kB / 3.73 GB, free: 55.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.245e-05/14.17, allocations: 3.156 kB / 3.73 GB, free: 55.36 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.987e-05/14.17, allocations: 9.688 kB / 3.73 GB, free: 55.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/14.17, allocations: 0 / 3.73 GB, free: 55.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.237e-06/14.17, allocations: 0 / 3.73 GB, free: 55.36 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005159/14.18, allocations: 1.141 MB / 3.731 GB, free: 55.11 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00526/14.18, allocations: 1.565 MB / 3.732 GB, free: 54.48 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001561/14.18, allocations: 0.5039 MB / 3.733 GB, free: 54.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000542/14.19, allocations: 3.906 kB / 3.733 GB, free: 54.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001865/14.19, allocations: 86.42 kB / 3.733 GB, free: 54.28 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/14.19, allocations: 11.03 kB / 3.733 GB, free: 54.28 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.81e-05/14.19, allocations: 14.22 kB / 3.733 GB, free: 54.28 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.002577/14.19, allocations: 1.131 MB / 3.734 GB, free: 54.16 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01751/14.21, allocations: 2.062 MB / 3.736 GB, free: 54.04 MB / 0.5105 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.01413/14.22, allocations: 2.183 MB / 3.738 GB, free: 53.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003772/14.23, allocations: 1.361 MB / 3.739 GB, free: 53.67 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/14.23, allocations: 0.625 kB / 3.739 GB, free: 53.67 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002554/14.23, allocations: 90.27 kB / 3.74 GB, free: 53.67 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003951/14.23, allocations: 368.6 kB / 3.74 GB, free: 53.64 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1063/14.34, allocations: 21.7 MB / 3.761 GB, free: 49.76 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002395/14.34, allocations: 1.398 MB / 3.762 GB, free: 48.6 MB / 0.5105 GB Notification: Performance of SimCode: time 2.585e-06/14.34, allocations: 0 / 3.762 GB, free: 48.6 MB / 0.5105 GB