Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_3_2_2_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesFullInitialInconsistent",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.897/1.897, allocations: 195.4 MB / 202.4 MB, free: 13.36 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1525/2.049, allocations: 46.97 MB / 249.4 MB, free: 14.31 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/2.294, allocations: 44.65 MB / 294 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.275/3.57, allocations: 0.5967 GB / 0.8838 GB, free: 6.016 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003346/3.57, allocations: 78.77 kB / 0.8839 GB, free: 5.977 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.506/5.076, allocations: 279.6 MB / 1.157 GB, free: 65.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/5.076, allocations: 8 kB / 1.157 GB, free: 65.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002113/5.078, allocations: 174.6 kB / 1.157 GB, free: 65.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002013/5.08, allocations: 0.5983 MB / 1.158 GB, free: 64.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001789/5.08, allocations: 168.6 kB / 1.158 GB, free: 64.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/5.081, allocations: 43.56 kB / 1.158 GB, free: 64.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001982/5.083, allocations: 0.6872 MB / 1.159 GB, free: 63.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002389/5.085, allocations: 0.9782 MB / 1.16 GB, free: 62.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.047e-05/5.085, allocations: 7.938 kB / 1.16 GB, free: 62.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001753/5.085, allocations: 4 kB / 1.16 GB, free: 62.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.109e-05/5.085, allocations: 37.17 kB / 1.16 GB, free: 62.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00973/5.095, allocations: 5.806 MB / 1.165 GB, free: 56.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006816/5.096, allocations: 226 kB / 1.165 GB, free: 56.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004261/5.096, allocations: 175.5 kB / 1.166 GB, free: 56.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002176/5.096, allocations: 132.6 kB / 1.166 GB, free: 56.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/5.097, allocations: 37.88 kB / 1.166 GB, free: 56.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=38): time 2.816e-06/5.097, allocations: 4 kB / 1.166 GB, free: 56.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.02159/5.118, allocations: 2.795 MB / 1.169 GB, free: 53.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/5.118, allocations: 107.2 kB / 1.169 GB, free: 53.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001635/5.12, allocations: 0.5461 MB / 1.169 GB, free: 52.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001953/5.12, allocations: 33.05 kB / 1.169 GB, free: 52.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003229/5.121, allocations: 437.3 kB / 1.17 GB, free: 52.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002162/5.121, allocations: 173.5 kB / 1.17 GB, free: 51.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.971e-05/5.121, allocations: 4 kB / 1.17 GB, free: 51.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/5.121, allocations: 382.7 kB / 1.17 GB, free: 51.49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006642/5.122, allocations: 258.5 kB / 1.17 GB, free: 51.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008789/5.123, allocations: 0.749 MB / 1.171 GB, free: 50.26 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.007967/5.131, allocations: 1.337 MB / 1.172 GB, free: 48.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.579e-05/5.131, allocations: 4 kB / 1.172 GB, free: 48.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.005186/5.136, allocations: 1.382 MB / 1.174 GB, free: 47.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/5.136, allocations: 5.719 kB / 1.174 GB, free: 47.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.431e-05/5.136, allocations: 20 kB / 1.174 GB, free: 47.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001474/5.137, allocations: 248.2 kB / 1.174 GB, free: 47.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/5.139, allocations: 219.6 kB / 1.174 GB, free: 47.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/5.141, allocations: 0.9554 MB / 1.175 GB, free: 46.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/5.142, allocations: 47.84 kB / 1.175 GB, free: 46.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002296/5.142, allocations: 99.98 kB / 1.175 GB, free: 45.95 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.0003786/5.143, allocations: 157.7 kB / 1.176 GB, free: 45.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002331/5.143, allocations: 75.16 kB / 1.176 GB, free: 45.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005183/5.148, allocations: 1.02 MB / 1.177 GB, free: 44.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/5.148, allocations: 4 kB / 1.177 GB, free: 44.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/5.148, allocations: 0 / 1.177 GB, free: 44.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/5.148, allocations: 0 / 1.177 GB, free: 44.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00536/5.154, allocations: 1.606 MB / 1.178 GB, free: 43.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/5.154, allocations: 4 kB / 1.178 GB, free: 43.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005331/5.154, allocations: 83.89 kB / 1.178 GB, free: 43.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002628/5.157, allocations: 277.4 kB / 1.179 GB, free: 42.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.109e-05/5.157, allocations: 19.98 kB / 1.179 GB, free: 42.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001444/5.159, allocations: 0.8827 MB / 1.179 GB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/5.159, allocations: 0 / 1.179 GB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003698/5.162, allocations: 1.083 MB / 1.18 GB, free: 40.73 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004377/5.167, allocations: 1.758 MB / 1.182 GB, free: 38.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004985/5.167, allocations: 207.5 kB / 1.182 GB, free: 38.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002056/5.167, allocations: 4 kB / 1.182 GB, free: 38.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000947/5.168, allocations: 27.12 kB / 1.182 GB, free: 38.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.827e-05/5.168, allocations: 40.38 kB / 1.182 GB, free: 38.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/5.169, allocations: 55.98 kB / 1.182 GB, free: 38.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0006886/5.169, allocations: 407.1 kB / 1.183 GB, free: 38.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003711/5.173, allocations: 0.5722 MB / 1.183 GB, free: 37.64 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.003532/5.177, allocations: 1.388 MB / 1.185 GB, free: 36.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002367/5.179, allocations: 0.7017 MB / 1.185 GB, free: 35.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/5.179, allocations: 4 kB / 1.185 GB, free: 35.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001075/5.18, allocations: 289.8 kB / 1.186 GB, free: 35.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002808/5.183, allocations: 291 kB / 1.186 GB, free: 35.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0121/5.195, allocations: 2.585 MB / 1.189 GB, free: 32.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001612/5.197, allocations: 1.174 MB / 1.19 GB, free: 31.43 MB / 410.7 MB Notification: Performance of SimCode: time 1.323e-06/5.197, allocations: 0 / 1.19 GB, free: 31.43 MB / 410.7 MB