Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Valves_TestCheckValve",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.087/2.087, allocations: 209.3 MB / 216.3 MB, free: 6.871 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2718/2.359, allocations: 51.04 MB / 267.3 MB, free: 5.223 MB / 218.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/2.486, allocations: 48.69 MB / 316 MB, free: 4.438 MB / 266.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.409/8.895, allocations: 2.495 GB / 2.804 GB, free: 102.9 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/8.895, allocations: 84.92 kB / 2.804 GB, free: 102.9 MB / 426.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 1.162/10.06, allocations: 226.2 MB / 3.025 GB, free: 51.55 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 7.297e-05/10.06, allocations: 9.938 kB / 3.025 GB, free: 51.55 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003691/10.06, allocations: 249.4 kB / 3.025 GB, free: 51.51 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/10.06, allocations: 431 kB / 3.025 GB, free: 51.2 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.273e-05/10.06, allocations: 15.5 kB / 3.025 GB, free: 51.2 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.174e-05/10.06, allocations: 17.97 kB / 3.025 GB, free: 51.2 MB / 426.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001142/10.06, allocations: 335.5 kB / 3.026 GB, free: 51.08 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/10.07, allocations: 398.9 kB / 3.026 GB, free: 50.86 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/10.07, allocations: 8.125 kB / 3.026 GB, free: 50.86 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.669e-05/10.07, allocations: 5.172 kB / 3.026 GB, free: 50.85 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/10.07, allocations: 8.406 kB / 3.026 GB, free: 50.85 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01056/10.08, allocations: 3.942 MB / 3.03 GB, free: 47.82 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006408/10.08, allocations: 218.7 kB / 3.03 GB, free: 47.71 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003617/10.08, allocations: 131.5 kB / 3.03 GB, free: 47.66 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4161/10.49, allocations: 50.36 MB / 3.08 GB, free: 94.13 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.21e-05/10.49, allocations: 37.59 kB / 3.08 GB, free: 94.09 MB / 426.8 MB Notification: Performance of pre-optimization done (n=24): time 4.348e-06/10.49, allocations: 0 / 3.08 GB, free: 94.09 MB / 426.8 MB Notification: Performance of matching and sorting (n=24): time 0.003068/10.5, allocations: 0.5306 MB / 3.08 GB, free: 94.06 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/10.5, allocations: 106.6 kB / 3.08 GB, free: 93.94 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000492/10.5, allocations: 288.6 kB / 3.08 GB, free: 93.84 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 6.166e-05/10.5, allocations: 25.7 kB / 3.08 GB, free: 93.81 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/10.5, allocations: 200.8 kB / 3.081 GB, free: 93.7 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/10.5, allocations: 77.14 kB / 3.081 GB, free: 93.66 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/10.5, allocations: 3.5 kB / 3.081 GB, free: 93.66 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001001/10.5, allocations: 343.8 kB / 3.081 GB, free: 93.34 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/10.5, allocations: 119.5 kB / 3.081 GB, free: 93.34 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004081/10.5, allocations: 246.8 kB / 3.081 GB, free: 93.19 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001704/10.5, allocations: 238.3 kB / 3.082 GB, free: 93.19 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/10.5, allocations: 0.9375 kB / 3.082 GB, free: 93.19 MB / 426.8 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.003323/10.5, allocations: 0.6657 MB / 3.082 GB, free: 93.14 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003999/10.5, allocations: 1.478 MB / 3.084 GB, free: 91.6 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/10.5, allocations: 3.781 kB / 3.084 GB, free: 91.6 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.133e-05/10.5, allocations: 7.156 kB / 3.084 GB, free: 91.6 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/10.51, allocations: 124.1 kB / 3.084 GB, free: 91.6 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/10.51, allocations: 10.81 kB / 3.084 GB, free: 91.6 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009184/10.51, allocations: 71.19 kB / 3.084 GB, free: 91.59 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-05/10.51, allocations: 22.41 kB / 3.084 GB, free: 91.59 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/10.51, allocations: 3.688 kB / 3.084 GB, free: 91.59 MB / 426.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002096/10.51, allocations: 413.9 kB / 3.084 GB, free: 91.58 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/10.51, allocations: 9.656 kB / 3.084 GB, free: 91.58 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/10.51, allocations: 5.906 kB / 3.084 GB, free: 91.58 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008881/10.51, allocations: 120.8 kB / 3.084 GB, free: 91.58 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/10.51, allocations: 7.125 kB / 3.084 GB, free: 91.58 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008152/10.51, allocations: 62.89 kB / 3.085 GB, free: 91.57 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-05/10.51, allocations: 23.92 kB / 3.085 GB, free: 91.57 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 4 (V1.state_b.phase,V1.state_a.phase,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0002101/10.51, allocations: 117.2 kB / 3.085 GB, free: 91.46 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001278/10.51, allocations: 194.1 kB / 3.085 GB, free: 91.45 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004166/10.52, allocations: 1.764 MB / 3.087 GB, free: 91.3 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.226e-05/10.52, allocations: 22.62 kB / 3.087 GB, free: 91.3 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/10.52, allocations: 2.594 kB / 3.087 GB, free: 91.3 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.489e-05/10.52, allocations: 3.469 kB / 3.087 GB, free: 91.3 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005394/10.52, allocations: 2.487 MB / 3.089 GB, free: 90.87 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/10.52, allocations: 0 / 3.089 GB, free: 90.87 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007976/10.52, allocations: 78 kB / 3.089 GB, free: 90.87 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.21e-05/10.52, allocations: 3.688 kB / 3.089 GB, free: 90.87 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.654e-05/10.52, allocations: 10.88 kB / 3.089 GB, free: 90.87 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.284e-06/10.52, allocations: 6.391 kB / 3.089 GB, free: 90.87 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/10.52, allocations: 0 / 3.089 GB, free: 90.87 MB / 426.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003416/10.53, allocations: 1.463 MB / 3.091 GB, free: 90.6 MB / 426.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00384/10.53, allocations: 1.872 MB / 3.092 GB, free: 89.96 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004684/10.53, allocations: 203.2 kB / 3.093 GB, free: 89.84 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/10.53, allocations: 11.45 kB / 3.093 GB, free: 89.84 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007006/10.53, allocations: 43.17 kB / 3.093 GB, free: 89.83 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/10.53, allocations: 34.94 kB / 3.093 GB, free: 89.83 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.111e-05/10.53, allocations: 17.31 kB / 3.093 GB, free: 89.83 MB / 426.8 MB Notification: Performance of sort global known variables: time 0.0004308/10.53, allocations: 250.8 kB / 3.093 GB, free: 89.74 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.009599/10.54, allocations: 1.392 MB / 3.094 GB, free: 89.73 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 14 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse14.phase,$cse14.region,SinkP1.medium.phase,SourceP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.01201/10.55, allocations: 1.615 MB / 3.096 GB, free: 89.63 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.002053/10.56, allocations: 0.933 MB / 3.097 GB, free: 89.62 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 8.886e-06/10.56, allocations: 0 / 3.097 GB, free: 89.62 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001379/10.56, allocations: 0.6963 MB / 3.097 GB, free: 89.62 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001938/10.56, allocations: 158.7 kB / 3.098 GB, free: 89.62 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06984/10.63, allocations: 14.08 MB / 3.111 GB, free: 89.31 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006521/10.63, allocations: 0.9997 MB / 3.112 GB, free: 88.59 MB / 426.8 MB Notification: Performance of SimCode: time 1.362e-06/10.63, allocations: 0 / 3.112 GB, free: 88.59 MB / 426.8 MB