Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_3_2_2_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStatePressureAndTemperature",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.762/1.762, allocations: 195.4 MB / 202.4 MB, free: 13.36 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1092/1.871, allocations: 46.99 MB / 249.4 MB, free: 14.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/2.104, allocations: 44.63 MB / 294 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1325/2.237, allocations: 69.44 MB / 363.5 MB, free: 11.83 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/2.237, allocations: 59.97 kB / 363.5 MB, free: 11.77 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.004606/2.242, allocations: 1.036 MB / 364.6 MB, free: 10.69 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/2.242, allocations: 8 kB / 364.6 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/2.242, allocations: 7.906 kB / 364.6 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/2.242, allocations: 174.9 kB / 364.7 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/2.242, allocations: 7.938 kB / 364.7 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/2.242, allocations: 8 kB / 364.8 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001281/2.242, allocations: 31.98 kB / 364.8 MB, free: 10.42 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/2.242, allocations: 61.62 kB / 364.8 MB, free: 10.35 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/2.242, allocations: 3.906 kB / 364.8 MB, free: 10.35 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/2.242, allocations: 7.984 kB / 364.9 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/2.242, allocations: 4 kB / 364.9 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005391/2.243, allocations: 273.3 kB / 365.1 MB, free: 10.03 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/2.243, allocations: 57.84 kB / 365.2 MB, free: 9.969 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.545e-05/2.243, allocations: 33.08 kB / 365.2 MB, free: 9.934 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/2.243, allocations: 7.938 kB / 365.2 MB, free: 9.926 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/2.243, allocations: 30.56 kB / 365.3 MB, free: 9.887 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 2.445e-06/2.243, allocations: 0 / 365.3 MB, free: 9.887 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.006775/2.25, allocations: 0.7189 MB / 366 MB, free: 9.109 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/2.25, allocations: 55.39 kB / 366 MB, free: 9.043 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/2.25, allocations: 104.9 kB / 366.1 MB, free: 8.934 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.147e-05/2.25, allocations: 25.7 kB / 366.2 MB, free: 8.902 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.39e-05/2.251, allocations: 92.41 kB / 366.2 MB, free: 8.805 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.534e-05/2.251, allocations: 55.16 kB / 366.3 MB, free: 8.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.285e-05/2.251, allocations: 0 / 366.3 MB, free: 8.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001817/2.251, allocations: 326.8 kB / 366.6 MB, free: 8.422 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/2.251, allocations: 40.38 kB / 366.7 MB, free: 8.383 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/2.251, allocations: 50.47 kB / 366.7 MB, free: 8.328 MB / 314.7 MB Notification: The following equation is consistent and got removed from the initialization problem: $DER.p1 = 0.0 Notification: Performance of analyzeInitialSystem (initialization): time 0.006178/2.258, allocations: 466.3 kB / 367.2 MB, free: 7.855 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/2.258, allocations: 4 kB / 367.2 MB, free: 7.852 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.003118/2.261, allocations: 353.4 kB / 367.5 MB, free: 7.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/2.261, allocations: 4 kB / 367.5 MB, free: 7.496 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/2.261, allocations: 0 / 367.5 MB, free: 7.496 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003541/2.264, allocations: 292.7 kB / 367.8 MB, free: 7.207 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/2.264, allocations: 11.94 kB / 367.8 MB, free: 7.195 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006269/2.271, allocations: 2.03 MB / 369.8 MB, free: 5.055 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/2.271, allocations: 4 kB / 369.8 MB, free: 5.051 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/2.271, allocations: 11.94 kB / 369.9 MB, free: 5.039 MB / 314.7 MB Warning: Assuming redundant initial conditions for the following 1 initial equations: $DER.p1 = 0.0 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: T1:VARIABLE(stateSelect=StateSelect.prefer ) type: Real T2:VARIABLE(stateSelect=StateSelect.prefer ) type: Real p2: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 (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: 0 * Non-linear torn systems: 1 {3 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001707/2.271, allocations: 101 kB / 370 MB, free: 4.934 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.851e-05/2.271, allocations: 7.906 kB / 370 MB, free: 4.926 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.582e-05/2.271, allocations: 20.55 kB / 370 MB, free: 4.906 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/2.271, allocations: 4 kB / 370 MB, free: 4.902 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/2.271, allocations: 7.906 kB / 370 MB, free: 4.895 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/2.271, allocations: 0 / 370 MB, free: 4.895 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002232/2.274, allocations: 0.5249 MB / 370.5 MB, free: 4.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/2.274, allocations: 4.031 kB / 370.5 MB, free: 4.316 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/2.274, allocations: 12 kB / 370.5 MB, free: 4.305 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004234/2.278, allocations: 288.5 kB / 370.8 MB, free: 4.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/2.278, allocations: 0 / 370.8 MB, free: 4.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004271/2.282, allocations: 1.744 MB / 372.6 MB, free: 2.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/2.282, allocations: 4 kB / 372.6 MB, free: 2.156 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001881/2.284, allocations: 429.1 kB / 373 MB, free: 1.711 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002181/2.286, allocations: 0.8388 MB / 373.8 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.788e-05/2.287, allocations: 85.33 kB / 373.9 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/2.287, allocations: 0 / 373.9 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/2.287, allocations: 3.938 kB / 373.9 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.382e-05/2.287, allocations: 12.36 kB / 373.9 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/2.287, allocations: 3.984 kB / 373.9 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.676e-05/2.287, allocations: 87.28 kB / 374 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001337/2.288, allocations: 39.91 kB / 374.1 MB, free: 0.5938 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.0001545/2.288, allocations: 95.3 kB / 374.1 MB, free: 500 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009547/2.289, allocations: 267.1 kB / 374.4 MB, free: 224 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/2.289, allocations: 0 / 374.4 MB, free: 224 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009704/2.29, allocations: 219.1 kB / 374.6 MB, free: 15.99 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/2.291, allocations: 0 / 374.6 MB, free: 15.99 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005638/2.291, allocations: 201.8 kB / 374.8 MB, free: 15.76 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003534/2.292, allocations: 0.7315 MB / 375.5 MB, free: 15 MB / 330.7 MB Notification: Performance of SimCode: time 7.51e-07/2.292, allocations: 0 / 375.5 MB, free: 15 MB / 330.7 MB