Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeInitialValues,fileNamePrefix="ModelicaTestOverdetermined_3_2_2_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_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(ModelicaTestOverdetermined): time 1.731/1.731, allocations: 195.4 MB / 202.4 MB, free: 13.37 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.147/1.878, allocations: 46.97 MB / 249.4 MB, free: 14.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/2.122, allocations: 44.64 MB / 294 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.507/7.629, allocations: 2.654 GB / 2.941 GB, free: 5.035 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/7.629, allocations: 77.7 kB / 2.941 GB, free: 4.996 MB / 410.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.592/10.22, allocations: 497 MB / 3.427 GB, free: 74.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/10.22, allocations: 9.625 kB / 3.427 GB, free: 74.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008377/10.23, allocations: 0.7007 MB / 3.427 GB, free: 74.72 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007384/10.24, allocations: 1.516 MB / 3.429 GB, free: 74.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002584/10.24, allocations: 94.83 kB / 3.429 GB, free: 74.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009911/10.24, allocations: 94.5 kB / 3.429 GB, free: 74.45 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008748/10.25, allocations: 2.673 MB / 3.432 GB, free: 74.44 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008774/10.26, allocations: 2.73 MB / 3.434 GB, free: 74 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.447e-05/10.26, allocations: 7.531 kB / 3.434 GB, free: 74 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003753/10.26, allocations: 3.938 kB / 3.434 GB, free: 74 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001847/10.26, allocations: 168.5 kB / 3.435 GB, free: 73.99 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7608/11.02, allocations: 136.3 MB / 3.568 GB, free: 84.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002932/11.02, allocations: 1.067 MB / 3.569 GB, free: 84.77 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002177/11.02, allocations: 0.9429 MB / 3.57 GB, free: 84.76 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05838/11.08, allocations: 16.86 MB / 3.586 GB, free: 74.43 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002994/11.08, allocations: 1.087 MB / 3.587 GB, free: 74.34 MB / 442.7 MB Notification: Performance of pre-optimization done (n=129): time 5.46e-06/11.08, allocations: 3.844 kB / 3.587 GB, free: 74.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=149): time 0.03742/11.12, allocations: 7.332 MB / 3.594 GB, free: 73.54 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.328e-05/11.12, allocations: 202.3 kB / 3.595 GB, free: 73.32 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003238/11.13, allocations: 0.9176 MB / 3.595 GB, free: 73.16 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000714/11.13, allocations: 25.7 kB / 3.595 GB, free: 73.12 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00138/11.13, allocations: 0.7321 MB / 3.596 GB, free: 72.77 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001368/11.13, allocations: 0.5071 MB / 3.597 GB, free: 72.48 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004844/11.13, allocations: 0 / 3.597 GB, free: 72.48 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004937/11.13, allocations: 439.5 kB / 3.597 GB, free: 72.17 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004376/11.13, allocations: 1.137 MB / 3.598 GB, free: 72.16 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004008/11.14, allocations: 1.692 MB / 3.6 GB, free: 71.53 MB / 442.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.03505/11.17, allocations: 4.53 MB / 3.604 GB, free: 71.39 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-05/11.17, allocations: 5.406 kB / 3.604 GB, free: 71.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.02471/11.2, allocations: 4.819 MB / 3.609 GB, free: 71.21 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001628/11.2, allocations: 6.52 MB / 3.615 GB, free: 64.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.071e-05/11.2, allocations: 20.75 kB / 3.615 GB, free: 64.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002259/11.2, allocations: 440.8 kB / 3.616 GB, free: 64.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004573/11.21, allocations: 0.5178 MB / 3.616 GB, free: 64.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003538/11.21, allocations: 3.405 MB / 3.62 GB, free: 61.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004344/11.22, allocations: 223.1 kB / 3.62 GB, free: 61.76 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006082/11.22, allocations: 106.6 kB / 3.62 GB, free: 61.76 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/11.22, allocations: 4.281 kB / 3.62 GB, free: 61.76 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01969/11.24, allocations: 3.891 MB / 3.624 GB, free: 61.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.931e-05/11.24, allocations: 13.72 kB / 3.624 GB, free: 61.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002093/11.24, allocations: 444.9 kB / 3.624 GB, free: 61.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004454/11.24, allocations: 0.507 MB / 3.625 GB, free: 61.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003383/11.25, allocations: 3.415 MB / 3.628 GB, free: 59.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003902/11.25, allocations: 215.5 kB / 3.628 GB, free: 59.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005406/11.25, allocations: 98.44 kB / 3.628 GB, free: 59.03 MB / 442.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.000837/11.25, allocations: 179.7 kB / 3.629 GB, free: 58.91 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00223/11.25, allocations: 0.5015 MB / 3.629 GB, free: 58.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01284/11.27, allocations: 5.044 MB / 3.634 GB, free: 58.52 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.698e-05/11.27, allocations: 45.44 kB / 3.634 GB, free: 58.51 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/11.27, allocations: 0 / 3.634 GB, free: 58.51 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01049/11.28, allocations: 4.546 MB / 3.638 GB, free: 57.84 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0194/11.3, allocations: 7.421 MB / 3.646 GB, free: 57.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.496e-05/11.3, allocations: 0 / 3.646 GB, free: 57.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003102/11.3, allocations: 325.7 kB / 3.646 GB, free: 57.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002768/11.3, allocations: 0.5205 MB / 3.646 GB, free: 57.17 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005955/11.3, allocations: 40.45 kB / 3.647 GB, free: 57.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004539/11.31, allocations: 3.605 MB / 3.65 GB, free: 54.56 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.094e-05/11.31, allocations: 3.906 kB / 3.65 GB, free: 54.56 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02214/11.33, allocations: 6.204 MB / 3.656 GB, free: 54.11 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02109/11.35, allocations: 8.599 MB / 3.664 GB, free: 53.27 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001944/11.35, allocations: 0.5095 MB / 3.665 GB, free: 53.09 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006897/11.35, allocations: 23.23 kB / 3.665 GB, free: 53.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00291/11.36, allocations: 161.1 kB / 3.665 GB, free: 53.08 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004384/11.36, allocations: 142.5 kB / 3.665 GB, free: 53.08 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002121/11.36, allocations: 58.75 kB / 3.665 GB, free: 53.08 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.001683/11.36, allocations: 0.6522 MB / 3.666 GB, free: 52.97 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01753/11.38, allocations: 2.475 MB / 3.668 GB, free: 52.88 MB / 442.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.01314/11.39, allocations: 2.121 MB / 3.67 GB, free: 52.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01373/11.4, allocations: 5.042 MB / 3.675 GB, free: 52.62 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.712e-05/11.4, allocations: 4.672 kB / 3.675 GB, free: 52.62 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005729/11.41, allocations: 2.286 MB / 3.678 GB, free: 52.61 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005564/11.41, allocations: 0.5195 MB / 3.678 GB, free: 52.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02123/11.44, allocations: 4.765 MB / 3.683 GB, free: 51.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004237/11.44, allocations: 1.957 MB / 3.685 GB, free: 50.93 MB / 442.7 MB Notification: Performance of SimCode: time 2.454e-06/11.44, allocations: 0 / 3.685 GB, free: 50.93 MB / 442.7 MB