Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesEquationsFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_3_2_2_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesEquationsFullInitialInconsistent",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.901/1.901, allocations: 195.4 MB / 202.4 MB, free: 13.34 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1323/2.034, allocations: 46.97 MB / 249.4 MB, free: 14.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/2.279, allocations: 44.64 MB / 294 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1391/2.418, allocations: 69.36 MB / 363.4 MB, free: 11.91 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/2.419, allocations: 59.97 kB / 363.4 MB, free: 11.86 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.004337/2.423, allocations: 0.9653 MB / 364.4 MB, free: 10.85 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/2.423, allocations: 8 kB / 364.4 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.101e-05/2.423, allocations: 11.91 kB / 364.4 MB, free: 10.83 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/2.423, allocations: 167 kB / 364.6 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/2.423, allocations: 0 / 364.6 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.405e-05/2.423, allocations: 8 kB / 364.6 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001574/2.424, allocations: 35.92 kB / 364.6 MB, free: 10.58 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/2.424, allocations: 58.31 kB / 364.7 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/2.424, allocations: 3.906 kB / 364.7 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/2.424, allocations: 0 / 364.7 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/2.424, allocations: 0 / 364.7 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006777/2.424, allocations: 285.3 kB / 365 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/2.425, allocations: 57.64 kB / 365 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/2.425, allocations: 45.14 kB / 365.1 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/2.425, allocations: 0 / 365.1 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/2.425, allocations: 38.56 kB / 365.1 MB, free: 10.04 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.853e-06/2.425, allocations: 0 / 365.1 MB, free: 10.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.004708/2.43, allocations: 0.7149 MB / 365.8 MB, free: 9.27 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/2.43, allocations: 55.41 kB / 365.9 MB, free: 9.203 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/2.43, allocations: 108.9 kB / 366 MB, free: 9.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/2.43, allocations: 25.7 kB / 366 MB, free: 9.059 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.479e-05/2.43, allocations: 80.47 kB / 366.1 MB, free: 8.973 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.982e-05/2.43, allocations: 63.09 kB / 366.1 MB, free: 8.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/2.43, allocations: 3.938 kB / 366.1 MB, free: 8.906 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001681/2.43, allocations: 318.8 kB / 366.5 MB, free: 8.586 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/2.43, allocations: 36.31 kB / 366.5 MB, free: 8.551 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/2.43, allocations: 62.45 kB / 366.5 MB, free: 8.484 MB / 314.7 MB Error: The initialization problem is inconsistent due to the following equation: p1 = 100000.0 (200000.0 = 100000.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.005205/2.436, allocations: 462.3 kB / 367 MB, free: 8.016 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/2.436, allocations: 4 kB / 367 MB, free: 8.012 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001835/2.438, allocations: 257.1 kB / 367.3 MB, free: 7.754 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/2.438, allocations: 4 kB / 367.3 MB, free: 7.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/2.438, allocations: 7.938 kB / 367.3 MB, free: 7.742 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001754/2.439, allocations: 156.6 kB / 367.4 MB, free: 7.586 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/2.44, allocations: 23.98 kB / 367.4 MB, free: 7.562 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004791/2.444, allocations: 1.748 MB / 369.2 MB, free: 5.703 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/2.445, allocations: 0 / 369.2 MB, free: 5.703 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/2.445, allocations: 8.188 kB / 369.2 MB, free: 5.695 MB / 314.7 MB Warning: Assuming redundant initial conditions for the following 1 initial equations: p1 = 100000.0 Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 12 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,62.5%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000148/2.445, allocations: 109 kB / 369.3 MB, free: 5.582 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.459e-05/2.445, allocations: 11.81 kB / 369.3 MB, free: 5.57 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.429e-05/2.445, allocations: 20.56 kB / 369.3 MB, free: 5.551 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/2.445, allocations: 0 / 369.3 MB, free: 5.551 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/2.445, allocations: 0 / 369.3 MB, free: 5.551 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.268e-05/2.445, allocations: 7.984 kB / 369.3 MB, free: 5.543 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002352/2.447, allocations: 0.5101 MB / 369.9 MB, free: 4.984 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/2.447, allocations: 15.91 kB / 369.9 MB, free: 4.969 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/2.448, allocations: 11.98 kB / 369.9 MB, free: 4.957 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004366/2.452, allocations: 284.4 kB / 370.2 MB, free: 4.676 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.993e-05/2.452, allocations: 7.984 kB / 370.2 MB, free: 4.668 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005165/2.457, allocations: 1.747 MB / 371.9 MB, free: 2.797 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.748e-06/2.457, allocations: 0 / 371.9 MB, free: 2.797 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002227/2.46, allocations: 420.8 kB / 372.3 MB, free: 2.359 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002295/2.462, allocations: 0.839 MB / 373.2 MB, free: 1.488 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.695e-05/2.462, allocations: 85.33 kB / 373.2 MB, free: 1.387 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.26e-05/2.462, allocations: 3.984 kB / 373.3 MB, free: 1.383 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003485/2.462, allocations: 4 kB / 373.3 MB, free: 1.379 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.877e-05/2.463, allocations: 11.89 kB / 373.3 MB, free: 1.367 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.185e-05/2.463, allocations: 4 kB / 373.3 MB, free: 1.363 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001001/2.463, allocations: 83.28 kB / 373.4 MB, free: 1.281 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002359/2.465, allocations: 28 kB / 373.4 MB, free: 1.254 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (p2,T1,T2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,62.5%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002818/2.465, allocations: 103.2 kB / 373.5 MB, free: 1.145 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001812/2.467, allocations: 269.7 kB / 373.7 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.425e-06/2.467, allocations: 0 / 373.7 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001389/2.469, allocations: 221.5 kB / 374 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/2.469, allocations: 11.91 kB / 374 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008287/2.47, allocations: 193.6 kB / 374.2 MB, free: 420 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005722/2.471, allocations: 0.7213 MB / 374.9 MB, free: 15.66 MB / 330.7 MB Notification: Performance of SimCode: time 1.262e-06/2.471, allocations: 0 / 374.9 MB, free: 15.66 MB / 330.7 MB