Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy,fileNamePrefix="ModelicaTestOverdetermined_3_2_2_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStateMassAndEnergy",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.727/1.727, allocations: 195.4 MB / 202.4 MB, free: 13.36 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1543/1.882, allocations: 46.98 MB / 249.4 MB, free: 14.31 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/2.119, allocations: 44.64 MB / 294 MB, free: 14.27 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1284/2.248, allocations: 69.44 MB / 363.5 MB, free: 11.89 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/2.248, allocations: 63.91 kB / 363.5 MB, free: 11.83 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.006672/2.255, allocations: 1.043 MB / 364.6 MB, free: 10.74 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.874e-05/2.255, allocations: 8 kB / 364.6 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.214e-05/2.255, allocations: 7.906 kB / 364.6 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/2.255, allocations: 174.9 kB / 364.7 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/2.255, allocations: 4 kB / 364.8 MB, free: 10.51 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.296e-05/2.255, allocations: 4 kB / 364.8 MB, free: 10.51 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000205/2.256, allocations: 35.98 kB / 364.8 MB, free: 10.47 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/2.256, allocations: 61.62 kB / 364.9 MB, free: 10.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/2.256, allocations: 3.906 kB / 364.9 MB, free: 10.4 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/2.256, allocations: 4 kB / 364.9 MB, free: 10.4 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/2.256, allocations: 0 / 364.9 MB, free: 10.4 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008703/2.257, allocations: 269.4 kB / 365.1 MB, free: 10.1 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/2.257, allocations: 82.55 kB / 365.2 MB, free: 10.01 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/2.257, allocations: 33.02 kB / 365.2 MB, free: 9.973 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/2.257, allocations: 4 kB / 365.2 MB, free: 9.969 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.257e-05/2.257, allocations: 42.5 kB / 365.3 MB, free: 9.918 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 3.657e-06/2.257, allocations: 0 / 365.3 MB, free: 9.918 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.006942/2.264, allocations: 0.6897 MB / 366 MB, free: 9.172 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/2.265, allocations: 55.41 kB / 366 MB, free: 9.105 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/2.265, allocations: 101 kB / 366.1 MB, free: 9 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.977e-05/2.265, allocations: 25.7 kB / 366.1 MB, free: 8.969 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.535e-05/2.265, allocations: 80.14 kB / 366.2 MB, free: 8.887 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.852e-05/2.265, allocations: 55.2 kB / 366.3 MB, free: 8.832 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.454e-05/2.265, allocations: 0 / 366.3 MB, free: 8.832 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001724/2.265, allocations: 322.7 kB / 366.6 MB, free: 8.508 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/2.265, allocations: 40 kB / 366.6 MB, free: 8.469 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/2.266, allocations: 58.84 kB / 366.7 MB, free: 8.406 MB / 314.7 MB Notification: It was not possible to analyze the given system symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.00719/2.273, allocations: 374.8 kB / 367.1 MB, free: 8.043 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/2.273, allocations: 4 kB / 367.1 MB, free: 8.039 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.004198/2.277, allocations: 314 kB / 367.4 MB, free: 7.723 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.359e-05/2.277, allocations: 4 kB / 367.4 MB, free: 7.719 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/2.277, allocations: 0 / 367.4 MB, free: 7.719 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004829/2.282, allocations: 272.6 kB / 367.6 MB, free: 7.449 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/2.282, allocations: 23.94 kB / 367.7 MB, free: 7.426 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006057/2.288, allocations: 1.856 MB / 369.5 MB, free: 5.457 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/2.289, allocations: 4 kB / 369.5 MB, free: 5.453 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/2.289, allocations: 4.312 kB / 369.5 MB, free: 5.449 MB / 314.7 MB Warning: Assuming redundant initial conditions for the following 1 initial equations: $DER.M2 = 0.0 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: T2:VARIABLE(stateSelect=StateSelect.prefer ) type: Real $DER.T1:VARIABLE(stateSelect=StateSelect.prefer ) type: Real $DER.p1:VARIABLE(stateSelect=StateSelect.prefer ) type: Real $DER.T2:VARIABLE(stateSelect=StateSelect.prefer ) type: Real p1:VARIABLE(stateSelect=StateSelect.prefer ) type: Real 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 (10): * Single equations (assignments): 9 * 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: 0 * Non-linear torn systems: 1 {5 5} Notification: Performance of prepare postOptimizeDAE: time 0.000231/2.289, allocations: 111.8 kB / 369.6 MB, free: 5.336 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.201e-05/2.289, allocations: 7.906 kB / 369.6 MB, free: 5.328 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.878e-05/2.289, allocations: 16.44 kB / 369.7 MB, free: 5.309 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/2.289, allocations: 4 kB / 369.7 MB, free: 5.305 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/2.289, allocations: 0 / 369.7 MB, free: 5.305 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/2.289, allocations: 11.89 kB / 369.7 MB, free: 5.293 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002851/2.289, allocations: 170.3 kB / 369.8 MB, free: 5.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.889e-05/2.289, allocations: 4 kB / 369.8 MB, free: 5.086 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/2.29, allocations: 12.03 kB / 369.9 MB, free: 5.074 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003672/2.293, allocations: 280.4 kB / 370.1 MB, free: 4.797 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.301e-05/2.293, allocations: 3.984 kB / 370.1 MB, free: 4.793 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003507/2.297, allocations: 1.661 MB / 371.8 MB, free: 3.016 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/2.297, allocations: 3.906 kB / 371.8 MB, free: 3.012 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001966/2.299, allocations: 398 kB / 372.2 MB, free: 2.605 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002152/2.301, allocations: 0.7934 MB / 373 MB, free: 1.793 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.219e-05/2.301, allocations: 89 kB / 373.1 MB, free: 1.688 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/2.301, allocations: 4 kB / 373.1 MB, free: 1.684 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/2.301, allocations: 0 / 373.1 MB, free: 1.684 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/2.301, allocations: 16.17 kB / 373.1 MB, free: 1.668 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/2.302, allocations: 4 kB / 373.1 MB, free: 1.664 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.951e-05/2.302, allocations: 87.56 kB / 373.2 MB, free: 1.578 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001406/2.303, allocations: 27.98 kB / 373.2 MB, free: 1.551 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (p1,T1,T2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * 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 {(3,88.9%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001795/2.303, allocations: 99.19 kB / 373.3 MB, free: 1.445 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001328/2.305, allocations: 277.5 kB / 373.6 MB, free: 1.164 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/2.305, allocations: 4 kB / 373.6 MB, free: 1.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005/2.305, allocations: 193.5 kB / 373.8 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/2.305, allocations: 480 / 373.8 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006398/2.306, allocations: 184.7 kB / 373.9 MB, free: 0.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003625/2.306, allocations: 0.7214 MB / 374.7 MB, free: 4 kB / 314.7 MB Notification: Performance of SimCode: time 1.619e-05/2.306, allocations: 3.938 kB / 374.7 MB, free: 0 / 314.7 MB