Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",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 1.923/1.923, allocations: 209.3 MB / 216.3 MB, free: 6.801 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2793/2.202, allocations: 51.04 MB / 267.3 MB, free: 5.145 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/2.324, allocations: 48.7 MB / 316 MB, free: 4.359 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8581/3.182, allocations: 326.3 MB / 0.6272 GB, free: 24 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004057/3.183, allocations: 89.14 kB / 0.6273 GB, free: 15.97 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 2.292/5.474, allocations: 449 MB / 1.066 GB, free: 35.44 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/5.474, allocations: 11.69 kB / 1.066 GB, free: 35.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002446/5.477, allocations: 240.7 kB / 1.066 GB, free: 35.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004269/5.481, allocations: 1.188 MB / 1.067 GB, free: 34.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/5.481, allocations: 43.56 kB / 1.067 GB, free: 34.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005422/5.482, allocations: 77.78 kB / 1.067 GB, free: 34.95 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004336/5.486, allocations: 1.374 MB / 1.069 GB, free: 34.94 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004941/5.491, allocations: 1.594 MB / 1.07 GB, free: 34.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.982e-05/5.491, allocations: 9.75 kB / 1.07 GB, free: 34.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005221/5.492, allocations: 6.625 kB / 1.07 GB, free: 34.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.077e-05/5.492, allocations: 38.38 kB / 1.07 GB, free: 34.39 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02401/5.516, allocations: 10.91 MB / 1.081 GB, free: 26.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001889/5.518, allocations: 497.4 kB / 1.081 GB, free: 26.12 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/5.519, allocations: 286.9 kB / 1.082 GB, free: 26.11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009945/5.529, allocations: 4.296 MB / 1.086 GB, free: 22.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.418e-05/5.529, allocations: 42.16 kB / 1.086 GB, free: 22.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=41): time 6.793e-06/5.529, allocations: 2.969 kB / 1.086 GB, free: 22.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=41): time 0.0113/5.541, allocations: 0.9951 MB / 1.087 GB, free: 22.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/5.541, allocations: 369.8 kB / 1.087 GB, free: 22.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002855/5.544, allocations: 1.019 MB / 1.088 GB, free: 21.73 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002294/5.544, allocations: 32.14 kB / 1.088 GB, free: 21.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007259/5.545, allocations: 0.8249 MB / 1.089 GB, free: 21.05 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000247/5.545, allocations: 159.9 kB / 1.089 GB, free: 20.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/5.545, allocations: 0 / 1.089 GB, free: 20.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001658/5.545, allocations: 374.8 kB / 1.09 GB, free: 20.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009043/5.546, allocations: 238.1 kB / 1.09 GB, free: 20.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001961/5.548, allocations: 1.306 MB / 1.091 GB, free: 18.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01095/5.559, allocations: 1.013 MB / 1.092 GB, free: 18.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.545e-05/5.559, allocations: 10.47 kB / 1.092 GB, free: 18.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.01616/5.575, allocations: 1.859 MB / 1.094 GB, free: 18.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.61e-05/5.576, allocations: 8.25 kB / 1.094 GB, free: 18.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001037/5.576, allocations: 36.28 kB / 1.094 GB, free: 18.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001515/5.576, allocations: 52.25 kB / 1.094 GB, free: 18.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01215/5.588, allocations: 0.7134 MB / 1.095 GB, free: 18.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003499/5.592, allocations: 1.948 MB / 1.097 GB, free: 16.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004716/5.596, allocations: 237.1 kB / 1.097 GB, free: 16.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006327/5.597, allocations: 115.4 kB / 1.097 GB, free: 16.29 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 163 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (203): * Single equations (assignments): 200 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000572/5.598, allocations: 197 kB / 1.097 GB, free: 16.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006539/5.598, allocations: 140.7 kB / 1.097 GB, free: 16.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01182/5.61, allocations: 1.79 MB / 1.099 GB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-05/5.61, allocations: 7.375 kB / 1.099 GB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/5.61, allocations: 0 / 1.099 GB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.947e-05/5.61, allocations: 8.266 kB / 1.099 GB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00348/5.614, allocations: 0.8301 MB / 1.1 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-05/5.614, allocations: 7.875 kB / 1.1 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002457/5.616, allocations: 213.5 kB / 1.1 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005251/5.617, allocations: 33.02 kB / 1.1 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001826/5.617, allocations: 23.45 kB / 1.1 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002189/5.619, allocations: 1.8 MB / 1.102 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.568e-06/5.62, allocations: 5.406 kB / 1.102 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006953/5.626, allocations: 1.023 MB / 1.103 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007726/5.634, allocations: 1.501 MB / 1.104 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00169/5.636, allocations: 341.7 kB / 1.105 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000729/5.637, allocations: 4.516 kB / 1.105 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002098/5.639, allocations: 44.92 kB / 1.105 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002452/5.639, allocations: 38.41 kB / 1.105 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001622/5.639, allocations: 35.67 kB / 1.105 GB, free: 11.92 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.002716/5.642, allocations: 0.7509 MB / 1.105 GB, free: 11.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008812/5.651, allocations: 0.9037 MB / 1.106 GB, free: 11.26 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.005/5.656, allocations: 1.116 MB / 1.107 GB, free: 10.83 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01581/5.672, allocations: 1.186 MB / 1.109 GB, free: 10.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/5.672, allocations: 1.375 kB / 1.109 GB, free: 10.57 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002926/5.675, allocations: 379.4 kB / 1.109 GB, free: 10.47 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007767/5.683, allocations: 0.5119 MB / 1.109 GB, free: 10.33 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/5.694, allocations: 1.994 MB / 1.111 GB, free: 9.629 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003483/5.698, allocations: 1.45 MB / 1.113 GB, free: 24.86 MB / 442.7 MB Notification: Performance of SimCode: time 1.603e-06/5.698, allocations: 5.25 kB / 1.113 GB, free: 24.85 MB / 442.7 MB