Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_3_2_2_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial",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.714/1.714, allocations: 195.4 MB / 202.4 MB, free: 13.35 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1179/1.832, allocations: 46.97 MB / 249.4 MB, free: 14.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/2.06, allocations: 44.65 MB / 294 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.297/3.357, allocations: 0.5967 GB / 0.8838 GB, free: 6.262 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/3.357, allocations: 78.39 kB / 0.8839 GB, free: 6.223 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.361/4.718, allocations: 279.6 MB / 1.157 GB, free: 64.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/4.718, allocations: 12 kB / 1.157 GB, free: 64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001803/4.72, allocations: 166.5 kB / 1.157 GB, free: 63.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00196/4.722, allocations: 0.6064 MB / 1.158 GB, free: 63.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001725/4.722, allocations: 156.7 kB / 1.158 GB, free: 63.03 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001954/4.722, allocations: 47.98 kB / 1.158 GB, free: 62.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002002/4.724, allocations: 0.6872 MB / 1.159 GB, free: 62.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002068/4.727, allocations: 0.9834 MB / 1.16 GB, free: 61.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.688e-05/4.727, allocations: 3.938 kB / 1.16 GB, free: 61.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/4.727, allocations: 4 kB / 1.16 GB, free: 61.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-05/4.727, allocations: 44.78 kB / 1.16 GB, free: 61.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009065/4.736, allocations: 5.81 MB / 1.165 GB, free: 55.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006437/4.737, allocations: 222 kB / 1.165 GB, free: 54.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003861/4.737, allocations: 179.1 kB / 1.166 GB, free: 54.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002135/4.737, allocations: 132.6 kB / 1.166 GB, free: 54.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/4.737, allocations: 38.56 kB / 1.166 GB, free: 54.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=38): time 2.995e-06/4.737, allocations: 3.938 kB / 1.166 GB, free: 54.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.02191/4.759, allocations: 2.784 MB / 1.169 GB, free: 51.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/4.759, allocations: 111.2 kB / 1.169 GB, free: 51.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/4.761, allocations: 0.5539 MB / 1.169 GB, free: 50.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001569/4.761, allocations: 25.7 kB / 1.169 GB, free: 50.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002532/4.761, allocations: 436.5 kB / 1.17 GB, free: 50.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/4.761, allocations: 185.5 kB / 1.17 GB, free: 50.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.972e-05/4.761, allocations: 0 / 1.17 GB, free: 50.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/4.761, allocations: 386.3 kB / 1.17 GB, free: 49.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006191/4.762, allocations: 254.5 kB / 1.17 GB, free: 49.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008473/4.763, allocations: 0.746 MB / 1.171 GB, free: 48.7 MB / 410.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: V1.medium.p = V1.p_start (V2.p_start = V1.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.008337/4.771, allocations: 1.338 MB / 1.172 GB, free: 47.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.209e-05/4.771, allocations: 7.938 kB / 1.172 GB, free: 47.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.005091/4.776, allocations: 1.374 MB / 1.174 GB, free: 45.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/4.777, allocations: 5.719 kB / 1.174 GB, free: 45.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.947e-05/4.777, allocations: 23.5 kB / 1.174 GB, free: 45.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001486/4.778, allocations: 246.2 kB / 1.174 GB, free: 45.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/4.779, allocations: 219.6 kB / 1.174 GB, free: 45.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/4.781, allocations: 0.9587 MB / 1.175 GB, free: 44.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/4.783, allocations: 43.41 kB / 1.175 GB, free: 44.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002006/4.783, allocations: 103.7 kB / 1.175 GB, free: 44.4 MB / 410.7 MB Warning: Assuming redundant initial conditions for the following 1 initial equations: V1.medium.p = V1.p_start 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 (117): * Single equations (assignments): 116 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0003496/4.783, allocations: 160.4 kB / 1.175 GB, free: 44.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002132/4.784, allocations: 75.16 kB / 1.176 GB, free: 44.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00473/4.788, allocations: 1.013 MB / 1.177 GB, free: 43.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/4.788, allocations: 4 kB / 1.177 GB, free: 43.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/4.788, allocations: 4 kB / 1.177 GB, free: 43.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/4.789, allocations: 0 / 1.177 GB, free: 43.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005339/4.794, allocations: 1.595 MB / 1.178 GB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.427e-06/4.794, allocations: 0 / 1.178 GB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005506/4.794, allocations: 83.84 kB / 1.178 GB, free: 41.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002699/4.797, allocations: 287.3 kB / 1.178 GB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001269/4.797, allocations: 19.98 kB / 1.178 GB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002009/4.799, allocations: 0.8734 MB / 1.179 GB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.508e-06/4.799, allocations: 4 kB / 1.179 GB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003945/4.803, allocations: 1.092 MB / 1.18 GB, free: 39.17 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005022/4.808, allocations: 1.755 MB / 1.182 GB, free: 37.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005831/4.809, allocations: 200.1 kB / 1.182 GB, free: 37.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002146/4.809, allocations: 4 kB / 1.182 GB, free: 37.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009576/4.81, allocations: 27.59 kB / 1.182 GB, free: 37.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.967e-05/4.81, allocations: 36.39 kB / 1.182 GB, free: 37.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001762/4.811, allocations: 59.69 kB / 1.182 GB, free: 37.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.001144/4.812, allocations: 407.1 kB / 1.183 GB, free: 36.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006503/4.818, allocations: 0.5766 MB / 1.183 GB, free: 36.09 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.004735/4.823, allocations: 1.391 MB / 1.185 GB, free: 34.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002537/4.826, allocations: 0.7052 MB / 1.185 GB, free: 34.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/4.826, allocations: 0 / 1.185 GB, free: 34.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001071/4.827, allocations: 286.2 kB / 1.186 GB, free: 33.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002748/4.83, allocations: 291.8 kB / 1.186 GB, free: 33.65 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/4.841, allocations: 2.584 MB / 1.189 GB, free: 31.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001519/4.842, allocations: 1.184 MB / 1.19 GB, free: 29.87 MB / 410.7 MB Notification: Performance of SimCode: time 1.422e-06/4.842, allocations: 0 / 1.19 GB, free: 29.87 MB / 410.7 MB