Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_3_2_2_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullSteadyStatePressureAndTemperature",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.774/1.774, allocations: 195.4 MB / 202.4 MB, free: 13.34 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1535/1.928, allocations: 46.98 MB / 249.4 MB, free: 14.28 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/2.167, allocations: 44.64 MB / 294 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.296/3.463, allocations: 0.5967 GB / 0.8838 GB, free: 5.934 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/3.464, allocations: 79.08 kB / 0.8839 GB, free: 5.895 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 1.437/4.9, allocations: 280 MB / 1.157 GB, free: 65.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/4.9, allocations: 8 kB / 1.157 GB, free: 65.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002684/4.903, allocations: 166.9 kB / 1.157 GB, free: 65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002147/4.905, allocations: 0.6142 MB / 1.158 GB, free: 64.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001925/4.905, allocations: 156.7 kB / 1.158 GB, free: 64.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002165/4.906, allocations: 40 kB / 1.158 GB, free: 64.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002403/4.908, allocations: 0.6911 MB / 1.159 GB, free: 63.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003/4.911, allocations: 0.9825 MB / 1.16 GB, free: 62.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.521e-05/4.911, allocations: 7.938 kB / 1.16 GB, free: 62.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002015/4.911, allocations: 4 kB / 1.16 GB, free: 62.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-05/4.911, allocations: 37.3 kB / 1.16 GB, free: 62.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01148/4.923, allocations: 5.797 MB / 1.166 GB, free: 56.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/4.924, allocations: 225.6 kB / 1.166 GB, free: 56.03 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006411/4.925, allocations: 172.8 kB / 1.166 GB, free: 55.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000348/4.925, allocations: 132.6 kB / 1.166 GB, free: 55.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.191e-05/4.925, allocations: 38.56 kB / 1.166 GB, free: 55.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=38): time 7.474e-06/4.925, allocations: 0 / 1.166 GB, free: 55.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.0203/4.946, allocations: 2.801 MB / 1.169 GB, free: 52.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/4.946, allocations: 111.2 kB / 1.169 GB, free: 52.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009817/4.947, allocations: 0.5461 MB / 1.17 GB, free: 52.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001413/4.947, allocations: 29.7 kB / 1.17 GB, free: 52.08 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002469/4.947, allocations: 437.3 kB / 1.17 GB, free: 51.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/4.947, allocations: 177.5 kB / 1.17 GB, free: 51.47 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.99e-05/4.947, allocations: 0 / 1.17 GB, free: 51.47 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/4.947, allocations: 386.6 kB / 1.171 GB, free: 51.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006203/4.948, allocations: 250.5 kB / 1.171 GB, free: 50.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008399/4.949, allocations: 0.7498 MB / 1.171 GB, free: 49.86 MB / 410.7 MB Notification: The following equation is consistent and got removed from the initialization problem: $DER.V1.medium.p = 0.0 Notification: Performance of analyzeInitialSystem (initialization): time 0.007228/4.956, allocations: 1.157 MB / 1.173 GB, free: 48.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.44e-05/4.956, allocations: 8 kB / 1.173 GB, free: 48.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.005172/4.961, allocations: 1.413 MB / 1.174 GB, free: 47.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/4.962, allocations: 4 kB / 1.174 GB, free: 47.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.122e-05/4.962, allocations: 20 kB / 1.174 GB, free: 47.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002884/4.964, allocations: 415.8 kB / 1.174 GB, free: 46.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/4.966, allocations: 199.6 kB / 1.175 GB, free: 46.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002177/4.968, allocations: 1.134 MB / 1.176 GB, free: 45.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/4.969, allocations: 47.31 kB / 1.176 GB, free: 45.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002081/4.97, allocations: 99.08 kB / 1.176 GB, free: 45.39 MB / 410.7 MB Warning: Assuming redundant initial conditions for the following 1 initial equations: $DER.V1.medium.p = 0.0 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: V1.ports[2].m_flow:VARIABLE(flow=true min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from the connection point into the component" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 8 (V1.regularFlow[1],V1.regularFlow[2],V2.regularFlow[1],V2.regularFlow[2],V2.inFlow[2],V2.inFlow[1],V1.inFlow[2],V1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 105 * 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 {4 26} Notification: Performance of prepare postOptimizeDAE: time 0.0003518/4.97, allocations: 154.2 kB / 1.176 GB, free: 45.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002355/4.97, allocations: 83 kB / 1.176 GB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005404/4.976, allocations: 1.014 MB / 1.177 GB, free: 44.19 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/4.976, allocations: 4 kB / 1.177 GB, free: 44.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.944e-06/4.976, allocations: 0 / 1.177 GB, free: 44.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/4.976, allocations: 3.984 kB / 1.177 GB, free: 44.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006606/4.982, allocations: 1.598 MB / 1.179 GB, free: 42.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.781e-05/4.983, allocations: 4 kB / 1.179 GB, free: 42.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007809/4.983, allocations: 79.89 kB / 1.179 GB, free: 42.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003976/4.987, allocations: 273.9 kB / 1.179 GB, free: 42.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001547/4.988, allocations: 15.98 kB / 1.179 GB, free: 42.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002085/4.99, allocations: 0.8848 MB / 1.18 GB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/4.99, allocations: 0 / 1.18 GB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005643/4.995, allocations: 1.088 MB / 1.181 GB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006909/5.002, allocations: 1.76 MB / 1.183 GB, free: 38.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007991/5.003, allocations: 204.4 kB / 1.183 GB, free: 38.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000322/5.004, allocations: 0 / 1.183 GB, free: 38.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001499/5.005, allocations: 27.41 kB / 1.183 GB, free: 38.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/5.005, allocations: 52.27 kB / 1.183 GB, free: 38.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001869/5.005, allocations: 47.98 kB / 1.183 GB, free: 38.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.001006/5.007, allocations: 407.1 kB / 1.183 GB, free: 37.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005343/5.012, allocations: 0.5739 MB / 1.184 GB, free: 37.08 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (V1.medium.T,V2.medium.p,V2.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * 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 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.005048/5.017, allocations: 1.384 MB / 1.185 GB, free: 35.92 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003208/5.02, allocations: 0.6907 MB / 1.186 GB, free: 35.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-05/5.02, allocations: 4 kB / 1.186 GB, free: 35.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001728/5.022, allocations: 290.3 kB / 1.186 GB, free: 34.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004329/5.026, allocations: 294.9 kB / 1.187 GB, free: 34.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01763/5.044, allocations: 2.589 MB / 1.189 GB, free: 32.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001673/5.046, allocations: 1.169 MB / 1.19 GB, free: 30.88 MB / 410.7 MB Notification: Performance of SimCode: time 1.222e-06/5.046, allocations: 0 / 1.19 GB, free: 30.88 MB / 410.7 MB