Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.449/2.449, allocations: 235.1 MB / 242 MB, free: 9.77 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1789/2.628, allocations: 57.21 MB / 299.2 MB, free: 448 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/3.002, allocations: 54.85 MB / 354.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.599/4.6, allocations: 0.6121 GB / 0.9579 GB, free: 88 kB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.1981/4.798, allocations: 92.55 kB / 0.958 GB, free: 174.6 MB / 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.208/6.007, allocations: 236.7 MB / 1.189 GB, free: 97.52 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/6.007, allocations: 9.75 kB / 1.189 GB, free: 97.52 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001974/6.009, allocations: 152.5 kB / 1.189 GB, free: 97.48 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001869/6.011, allocations: 0.5267 MB / 1.19 GB, free: 97.25 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/6.011, allocations: 12.75 kB / 1.19 GB, free: 97.25 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/6.011, allocations: 25.56 kB / 1.19 GB, free: 97.25 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001213/6.012, allocations: 384.9 kB / 1.19 GB, free: 97.25 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/6.013, allocations: 487.4 kB / 1.191 GB, free: 97.11 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.67e-05/6.014, allocations: 3.75 kB / 1.191 GB, free: 97.11 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/6.014, allocations: 0 / 1.191 GB, free: 97.11 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/6.014, allocations: 11.59 kB / 1.191 GB, free: 97.11 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004482/6.018, allocations: 2.611 MB / 1.193 GB, free: 95.37 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005954/6.019, allocations: 222.5 kB / 1.193 GB, free: 95.34 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003436/6.019, allocations: 129.5 kB / 1.194 GB, free: 95.34 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004564/6.02, allocations: 327.1 kB / 1.194 GB, free: 95.05 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/6.02, allocations: 35.72 kB / 1.194 GB, free: 95.01 MB / 474.7 MB Notification: Performance of pre-optimization done (n=30): time 3.206e-06/6.02, allocations: 0 / 1.194 GB, free: 95.01 MB / 474.7 MB Notification: Performance of matching and sorting (n=30): time 0.005141/6.025, allocations: 0.8047 MB / 1.195 GB, free: 94.95 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/6.025, allocations: 135.3 kB / 1.195 GB, free: 94.79 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006999/6.026, allocations: 357.3 kB / 1.195 GB, free: 94.68 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.875e-05/6.026, allocations: 25.7 kB / 1.195 GB, free: 94.65 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/6.026, allocations: 259 kB / 1.195 GB, free: 94.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/6.026, allocations: 105.4 kB / 1.196 GB, free: 94.45 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.813e-05/6.026, allocations: 0 / 1.196 GB, free: 94.45 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/6.026, allocations: 358.5 kB / 1.196 GB, free: 94.14 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004277/6.027, allocations: 140.6 kB / 1.196 GB, free: 94.14 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005283/6.027, allocations: 314.8 kB / 1.196 GB, free: 93.93 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004653/6.032, allocations: 0.678 MB / 1.197 GB, free: 93.93 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/6.032, allocations: 0 / 1.197 GB, free: 93.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.005737/6.038, allocations: 1.034 MB / 1.198 GB, free: 93.86 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/6.038, allocations: 14.41 kB / 1.198 GB, free: 93.86 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/6.038, allocations: 7.016 kB / 1.198 GB, free: 93.86 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003484/6.038, allocations: 49.95 kB / 1.198 GB, free: 93.85 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/6.039, allocations: 145.6 kB / 1.198 GB, free: 93.85 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004543/6.044, allocations: 8.329 MB / 1.206 GB, free: 85.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009873/6.045, allocations: 62.2 kB / 1.206 GB, free: 85.35 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/6.045, allocations: 47.2 kB / 1.206 GB, free: 85.35 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.0003148/6.045, allocations: 144.2 kB / 1.207 GB, free: 85.24 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/6.045, allocations: 52.2 kB / 1.207 GB, free: 85.21 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003746/6.049, allocations: 0.6974 MB / 1.207 GB, free: 85.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/6.049, allocations: 0 / 1.207 GB, free: 85.1 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/6.049, allocations: 0 / 1.207 GB, free: 85.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/6.049, allocations: 3.625 kB / 1.207 GB, free: 85.1 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003217/6.052, allocations: 1.086 MB / 1.208 GB, free: 84.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/6.052, allocations: 3.281 kB / 1.208 GB, free: 84.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004466/6.053, allocations: 57.22 kB / 1.208 GB, free: 84.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002588/6.053, allocations: 48.52 kB / 1.208 GB, free: 84.57 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/6.053, allocations: 3.906 kB / 1.208 GB, free: 84.57 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007828/6.054, allocations: 0.6198 MB / 1.209 GB, free: 84.04 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/6.054, allocations: 3.75 kB / 1.209 GB, free: 84.04 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00211/6.056, allocations: 0.6229 MB / 1.21 GB, free: 83.7 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002282/6.058, allocations: 1.034 MB / 1.211 GB, free: 82.99 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002495/6.059, allocations: 148.3 kB / 1.211 GB, free: 82.88 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001586/6.059, allocations: 5.688 kB / 1.211 GB, free: 82.88 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006757/6.06, allocations: 28.19 kB / 1.211 GB, free: 82.87 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.152e-05/6.06, allocations: 31.34 kB / 1.211 GB, free: 82.87 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.75e-05/6.06, allocations: 15.2 kB / 1.211 GB, free: 82.87 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0005538/6.06, allocations: 292.9 kB / 1.211 GB, free: 82.79 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004128/6.065, allocations: 0.5468 MB / 1.212 GB, free: 82.71 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.003879/6.068, allocations: 1.408 MB / 1.213 GB, free: 82.47 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001355/6.07, allocations: 338.5 kB / 1.213 GB, free: 82.46 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/6.07, allocations: 0 / 1.213 GB, free: 82.46 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003984/6.07, allocations: 123.6 kB / 1.214 GB, free: 82.46 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002375/6.073, allocations: 212.7 kB / 1.214 GB, free: 82.46 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/6.085, allocations: 2.278 MB / 1.216 GB, free: 82.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001199/6.086, allocations: 0.9793 MB / 1.217 GB, free: 81.49 MB / 474.7 MB Notification: Performance of SimCode: time 1.393e-06/6.086, allocations: 0 / 1.217 GB, free: 81.49 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat does not exist to compare? outputFormat=mat