Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeInitialValues,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestOverdeterminedInitial_DynamicPipeInitialValues",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.912/1.912, allocations: 209.3 MB / 216.3 MB, free: 6.801 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2241/2.137, allocations: 51.04 MB / 267.3 MB, free: 5.156 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/2.258, allocations: 48.68 MB / 316 MB, free: 4.375 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.823/9.081, allocations: 2.553 GB / 2.861 GB, free: 48.35 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003096/9.082, allocations: 78.41 kB / 2.861 GB, free: 48.31 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 2.381/11.46, allocations: 486.2 MB / 3.336 GB, free: 34.23 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/11.46, allocations: 10.59 kB / 3.336 GB, free: 34.23 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008428/11.47, allocations: 0.6856 MB / 3.337 GB, free: 34.07 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006668/11.48, allocations: 1.523 MB / 3.338 GB, free: 33.36 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002811/11.48, allocations: 87.84 kB / 3.338 GB, free: 33.35 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009784/11.48, allocations: 94.91 kB / 3.339 GB, free: 33.35 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008309/11.49, allocations: 2.67 MB / 3.341 GB, free: 32.45 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009069/11.5, allocations: 2.742 MB / 3.344 GB, free: 31.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.992e-05/11.5, allocations: 7.312 kB / 3.344 GB, free: 31.25 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003735/11.5, allocations: 3.219 kB / 3.344 GB, free: 31.25 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001877/11.5, allocations: 164.8 kB / 3.344 GB, free: 31.23 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7732/12.27, allocations: 136.2 MB / 3.477 GB, free: 49.4 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003486/12.27, allocations: 1.071 MB / 3.478 GB, free: 49.37 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002715/12.28, allocations: 0.9476 MB / 3.479 GB, free: 49.36 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06352/12.34, allocations: 16.84 MB / 3.495 GB, free: 38.36 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003025/12.34, allocations: 1.088 MB / 3.496 GB, free: 38.26 MB / 458.7 MB Notification: Performance of pre-optimization done (n=129): time 6.231e-06/12.34, allocations: 2.875 kB / 3.496 GB, free: 38.26 MB / 458.7 MB Notification: Performance of matching and sorting (n=149): time 0.03575/12.38, allocations: 7.333 MB / 3.504 GB, free: 37.38 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/12.38, allocations: 195.4 kB / 3.504 GB, free: 37.16 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002297/12.38, allocations: 0.9169 MB / 3.505 GB, free: 37 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005638/12.38, allocations: 29.7 kB / 3.505 GB, free: 36.96 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000983/12.38, allocations: 0.7382 MB / 3.505 GB, free: 36.6 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001091/12.39, allocations: 0.4961 MB / 3.506 GB, free: 36.34 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000304/12.39, allocations: 0 / 3.506 GB, free: 36.34 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000339/12.39, allocations: 445.2 kB / 3.506 GB, free: 36.03 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003379/12.39, allocations: 1.143 MB / 3.507 GB, free: 36.02 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003889/12.39, allocations: 1.69 MB / 3.509 GB, free: 35.38 MB / 458.7 MB Notification: The following equation is consistent and got removed from the initialization problem: pipe.mediums[1].p = 10000000.0 Notification: Performance of analyzeInitialSystem (initialization): time 0.03691/12.43, allocations: 4.539 MB / 3.514 GB, free: 35.1 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.825e-05/12.43, allocations: 3.906 kB / 3.514 GB, free: 35.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.03251/12.46, allocations: 4.824 MB / 3.518 GB, free: 34.88 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001716/12.46, allocations: 6.518 MB / 3.525 GB, free: 28.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.324e-05/12.46, allocations: 23.31 kB / 3.525 GB, free: 28.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002241/12.47, allocations: 439.1 kB / 3.525 GB, free: 27.97 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004693/12.47, allocations: 0.5169 MB / 3.526 GB, free: 27.96 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003523/12.48, allocations: 3.41 MB / 3.529 GB, free: 25.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004531/12.48, allocations: 219.3 kB / 3.529 GB, free: 25.33 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006855/12.48, allocations: 109.5 kB / 3.529 GB, free: 25.33 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/12.48, allocations: 6.281 kB / 3.529 GB, free: 25.33 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01977/12.5, allocations: 3.892 MB / 3.533 GB, free: 25.19 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.603e-05/12.5, allocations: 18.56 kB / 3.533 GB, free: 25.19 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002109/12.5, allocations: 442 kB / 3.533 GB, free: 25.14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004517/12.51, allocations: 0.5078 MB / 3.534 GB, free: 25.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003469/12.51, allocations: 3.409 MB / 3.537 GB, free: 22.54 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003921/12.51, allocations: 210 kB / 3.537 GB, free: 22.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005625/12.52, allocations: 94.59 kB / 3.538 GB, free: 22.5 MB / 458.7 MB Warning: Assuming fixed start value for the following 1 variables: m_flow_initial:DISCRETE(unit = "kg/s" fixed = false ) type: Real Warning: Assuming redundant initial conditions for the following 1 initial equations: pipe.mediums[1].p = 10000000.0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.m_flow_initial,m_flow_initial,$whenCondition1,valve.state_b.phase,valve.state_a.phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase,pipe.statesFM[3].phase,pipe.statesFM[4].phase,pipe.statesFM[5].phase,source.medium.phase,sink.state.phase,sink.medium.phase,pipe.state_b.phase,pipe.state_a.phase,source.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (244): * Single equations (assignments): 239 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {2 8,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0008749/12.52, allocations: 172.5 kB / 3.538 GB, free: 22.39 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002764/12.52, allocations: 0.5134 MB / 3.538 GB, free: 22.32 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01737/12.54, allocations: 5.044 MB / 3.543 GB, free: 21.97 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001176/12.54, allocations: 38.33 kB / 3.543 GB, free: 21.97 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.45e-05/12.54, allocations: 7.969 kB / 3.543 GB, free: 21.97 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01377/12.55, allocations: 4.551 MB / 3.548 GB, free: 37.29 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01934/12.57, allocations: 7.418 MB / 3.555 GB, free: 36.66 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/12.57, allocations: 0 / 3.555 GB, free: 36.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003177/12.57, allocations: 333.1 kB / 3.555 GB, free: 36.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002676/12.58, allocations: 0.5103 MB / 3.556 GB, free: 36.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005178/12.58, allocations: 44.58 kB / 3.556 GB, free: 36.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004077/12.58, allocations: 3.603 MB / 3.559 GB, free: 33.98 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.729e-06/12.58, allocations: 9.219 kB / 3.559 GB, free: 33.98 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01849/12.6, allocations: 6.203 MB / 3.565 GB, free: 33.52 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02635/12.63, allocations: 8.595 MB / 3.574 GB, free: 29.62 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003083/12.63, allocations: 0.5269 MB / 3.574 GB, free: 29.27 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001272/12.63, allocations: 14.89 kB / 3.574 GB, free: 29.26 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003764/12.63, allocations: 155.2 kB / 3.574 GB, free: 29.14 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008083/12.63, allocations: 143.7 kB / 3.575 GB, free: 29.08 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002619/12.63, allocations: 57.89 kB / 3.575 GB, free: 29.05 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001637/12.64, allocations: 0.6554 MB / 3.575 GB, free: 28.52 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01531/12.65, allocations: 2.458 MB / 3.578 GB, free: 26.29 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (pipe.mediums[1].h,pipe.mediums[2].p,pipe.mediums[2].h,pipe.mediums[3].p,pipe.mediums[3].h,pipe.mediums[4].p,pipe.mediums[4].h,pipe.mediums[5].p,pipe.mediums[5].h) * Number of discrete variables: 23 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse10.phase,$cse10.region,$cse17.phase,$cse17.region,$cse21.phase,$cse21.region,$whenCondition1,pipe.statesFM[1].phase,pipe.statesFM[2].phase,pipe.statesFM[3].phase,pipe.statesFM[4].phase,pipe.statesFM[5].phase,m_flow_initial) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 1,1 1,1 1,1 1,2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.01409/12.67, allocations: 2.127 MB / 3.58 GB, free: 24.76 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01425/12.68, allocations: 5.039 MB / 3.585 GB, free: 20.34 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/12.68, allocations: 4.062 kB / 3.585 GB, free: 20.33 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005569/12.69, allocations: 2.284 MB / 3.587 GB, free: 18.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006343/12.69, allocations: 0.5086 MB / 3.587 GB, free: 17.94 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01647/12.71, allocations: 4.771 MB / 3.592 GB, free: 13.79 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003902/12.71, allocations: 1.954 MB / 3.594 GB, free: 12.18 MB / 474.7 MB Notification: Performance of SimCode: time 2.414e-06/12.71, allocations: 0 / 3.594 GB, free: 12.18 MB / 474.7 MB