Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",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(ModelicaTest): time 2.178/2.178, allocations: 234.9 MB / 241.9 MB, free: 9.781 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.198/2.376, allocations: 57.22 MB / 299.1 MB, free: 464 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/2.639, allocations: 54.84 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.519/4.157, allocations: 0.6121 GB / 0.9578 GB, free: 156 kB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004147/4.158, allocations: 92.06 kB / 0.9579 GB, free: 104 kB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 1.328/5.485, allocations: 236.7 MB / 1.189 GB, free: 95.79 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.383e-05/5.486, allocations: 9.75 kB / 1.189 GB, free: 95.79 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002368/5.488, allocations: 143.8 kB / 1.189 GB, free: 95.75 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/5.49, allocations: 0.5242 MB / 1.19 GB, free: 95.52 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.972e-05/5.49, allocations: 18.97 kB / 1.19 GB, free: 95.52 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/5.49, allocations: 23.28 kB / 1.19 GB, free: 95.52 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001098/5.491, allocations: 390.6 kB / 1.19 GB, free: 95.52 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/5.492, allocations: 486 kB / 1.191 GB, free: 95.38 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/5.492, allocations: 0 / 1.191 GB, free: 95.38 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.628e-05/5.492, allocations: 3.188 kB / 1.191 GB, free: 95.38 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/5.492, allocations: 10.03 kB / 1.191 GB, free: 95.38 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005505/5.498, allocations: 2.604 MB / 1.193 GB, free: 93.64 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008596/5.499, allocations: 224.3 kB / 1.193 GB, free: 93.62 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005833/5.499, allocations: 135.7 kB / 1.193 GB, free: 93.61 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007319/5.5, allocations: 323.4 kB / 1.194 GB, free: 93.33 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/5.5, allocations: 36.62 kB / 1.194 GB, free: 93.29 MB / 474.7 MB Notification: Performance of pre-optimization done (n=30): time 5.58e-06/5.5, allocations: 0 / 1.194 GB, free: 93.29 MB / 474.7 MB Notification: Performance of matching and sorting (n=30): time 0.008088/5.508, allocations: 0.8093 MB / 1.195 GB, free: 93.22 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.837e-05/5.509, allocations: 134.5 kB / 1.195 GB, free: 93.07 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009842/5.51, allocations: 357.3 kB / 1.195 GB, free: 92.96 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000121/5.51, allocations: 25.7 kB / 1.195 GB, free: 92.93 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002274/5.51, allocations: 253.5 kB / 1.195 GB, free: 92.78 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/5.51, allocations: 107 kB / 1.195 GB, free: 92.73 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.397e-05/5.51, allocations: 0 / 1.195 GB, free: 92.73 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/5.51, allocations: 357 kB / 1.196 GB, free: 92.41 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006105/5.511, allocations: 145.9 kB / 1.196 GB, free: 92.41 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008158/5.512, allocations: 311.2 kB / 1.196 GB, free: 92.21 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006776/5.519, allocations: 0.6813 MB / 1.197 GB, free: 92.21 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.577e-05/5.519, allocations: 0 / 1.197 GB, free: 92.21 MB / 474.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.008357/5.527, allocations: 1.03 MB / 1.198 GB, free: 92.13 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.161e-05/5.527, allocations: 7.062 kB / 1.198 GB, free: 92.13 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.318e-05/5.527, allocations: 4.906 kB / 1.198 GB, free: 92.13 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004629/5.528, allocations: 51.42 kB / 1.198 GB, free: 92.12 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/5.529, allocations: 147 kB / 1.198 GB, free: 92.12 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006044/5.535, allocations: 8.325 MB / 1.206 GB, free: 83.64 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/5.537, allocations: 70.91 kB / 1.206 GB, free: 83.62 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000192/5.537, allocations: 52.02 kB / 1.206 GB, free: 83.62 MB / 474.7 MB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting1.geometry.K:VARIABLE(unit = "m" ) = fitting1.geometry.K "Absolute roughness, with a default for a smooth steel pipe" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting1.geometry.delta:VARIABLE(unit = "rad" ) = fitting1.geometry.delta "Angle of turning" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting1.geometry.d_hyd:VARIABLE(min = 0.0 unit = "m" ) = fitting1.geometry.d_hyd "Hydraulic diameter" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting2.geometry.K:VARIABLE(unit = "m" ) = fitting2.geometry.K "Absolute roughness, with a default for a smooth steel pipe" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting2.geometry.delta:VARIABLE(unit = "rad" ) = fitting2.geometry.delta "Angle of turning" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting2.geometry.d_hyd:VARIABLE(min = 0.0 unit = "m" ) = fitting2.geometry.d_hyd "Hydraulic diameter" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004246/5.537, allocations: 143.6 kB / 1.206 GB, free: 83.52 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002213/5.538, allocations: 46.31 kB / 1.206 GB, free: 83.49 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004967/5.543, allocations: 0.696 MB / 1.207 GB, free: 83.38 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/5.543, allocations: 3.656 kB / 1.207 GB, free: 83.38 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/5.543, allocations: 7.688 kB / 1.207 GB, free: 83.38 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/5.543, allocations: 0 / 1.207 GB, free: 83.38 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0045/5.547, allocations: 1.091 MB / 1.208 GB, free: 82.85 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/5.547, allocations: 0 / 1.208 GB, free: 82.85 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003879/5.548, allocations: 59.27 kB / 1.208 GB, free: 82.85 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002308/5.548, allocations: 45.44 kB / 1.208 GB, free: 82.84 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.956e-05/5.548, allocations: 9.656 kB / 1.208 GB, free: 82.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006695/5.549, allocations: 0.6146 MB / 1.209 GB, free: 82.32 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/5.549, allocations: 2.844 kB / 1.209 GB, free: 82.32 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002074/5.551, allocations: 0.6256 MB / 1.21 GB, free: 81.98 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002153/5.553, allocations: 1.033 MB / 1.211 GB, free: 81.27 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003412/5.553, allocations: 152.2 kB / 1.211 GB, free: 81.15 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002332/5.554, allocations: 0 / 1.211 GB, free: 81.15 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/5.555, allocations: 29.55 kB / 1.211 GB, free: 81.15 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/5.555, allocations: 25.83 kB / 1.211 GB, free: 81.15 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.977e-05/5.555, allocations: 10.75 kB / 1.211 GB, free: 81.15 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0009577/5.556, allocations: 293.4 kB / 1.211 GB, free: 81.07 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006616/5.563, allocations: 0.5505 MB / 1.212 GB, free: 81 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005368/5.568, allocations: 1.401 MB / 1.213 GB, free: 80.76 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001763/5.57, allocations: 344.3 kB / 1.213 GB, free: 80.75 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/5.57, allocations: 0 / 1.213 GB, free: 80.75 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005619/5.57, allocations: 117.9 kB / 1.213 GB, free: 80.75 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003411/5.574, allocations: 227.1 kB / 1.214 GB, free: 80.74 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01354/5.587, allocations: 2.264 MB / 1.216 GB, free: 80.48 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001223/5.589, allocations: 0.9774 MB / 1.217 GB, free: 79.77 MB / 474.7 MB Notification: Performance of SimCode: time 1.082e-06/5.589, allocations: 0 / 1.217 GB, free: 79.77 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat does not exist to compare? outputFormat=mat