Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",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 1.781/1.781, allocations: 209.3 MB / 216.3 MB, free: 6.785 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2386/2.019, allocations: 51.04 MB / 267.3 MB, free: 5.121 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/2.129, allocations: 48.69 MB / 316 MB, free: 4.336 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.564/3.693, allocations: 0.6063 GB / 0.9148 GB, free: 54.05 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003153/3.694, allocations: 94.62 kB / 0.9149 GB, free: 54 MB / 426.7 MB Error: Variable fitting1.geometry in package ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend is not constant. Error: Variable fitting2.geometry in package ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend is not constant. 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.314/5.008, allocations: 241.6 MB / 1.151 GB, free: 71.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/5.008, allocations: 10.5 kB / 1.151 GB, free: 71.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002142/5.01, allocations: 140.9 kB / 1.151 GB, free: 71.81 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/5.012, allocations: 0.5369 MB / 1.152 GB, free: 71.58 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/5.012, allocations: 14.53 kB / 1.152 GB, free: 71.58 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.28e-05/5.012, allocations: 26.72 kB / 1.152 GB, free: 71.58 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001068/5.013, allocations: 390.2 kB / 1.152 GB, free: 71.58 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/5.014, allocations: 496.1 kB / 1.152 GB, free: 71.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/5.014, allocations: 0 / 1.152 GB, free: 71.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.514e-05/5.014, allocations: 3.969 kB / 1.152 GB, free: 71.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/5.014, allocations: 13.5 kB / 1.152 GB, free: 71.45 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003997/5.018, allocations: 2.599 MB / 1.155 GB, free: 69.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005339/5.019, allocations: 232.2 kB / 1.155 GB, free: 69.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002875/5.019, allocations: 127.2 kB / 1.155 GB, free: 69.67 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004265/5.02, allocations: 325.8 kB / 1.156 GB, free: 69.39 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/5.02, allocations: 38.31 kB / 1.156 GB, free: 69.35 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 3.116e-06/5.02, allocations: 3.344 kB / 1.156 GB, free: 69.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.004746/5.024, allocations: 0.8084 MB / 1.156 GB, free: 69.28 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/5.025, allocations: 135.9 kB / 1.157 GB, free: 69.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006626/5.025, allocations: 373.7 kB / 1.157 GB, free: 69.02 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.507e-05/5.025, allocations: 25.7 kB / 1.157 GB, free: 68.99 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/5.026, allocations: 256.4 kB / 1.157 GB, free: 68.84 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/5.026, allocations: 106.1 kB / 1.157 GB, free: 68.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/5.026, allocations: 3.125 kB / 1.157 GB, free: 68.79 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/5.026, allocations: 356.4 kB / 1.158 GB, free: 68.47 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004598/5.026, allocations: 167.1 kB / 1.158 GB, free: 68.47 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000491/5.027, allocations: 328.7 kB / 1.158 GB, free: 68.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004059/5.031, allocations: 0.6975 MB / 1.159 GB, free: 68.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/5.031, allocations: 2.562 kB / 1.159 GB, free: 68.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.005884/5.037, allocations: 1.069 MB / 1.16 GB, free: 68.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/5.037, allocations: 3.875 kB / 1.16 GB, free: 68.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/5.037, allocations: 7.844 kB / 1.16 GB, free: 68.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003097/5.037, allocations: 54.44 kB / 1.16 GB, free: 68.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/5.038, allocations: 150 kB / 1.16 GB, free: 68.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005289/5.044, allocations: 10.91 MB / 1.171 GB, free: 57.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008972/5.045, allocations: 67.08 kB / 1.171 GB, free: 57.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/5.045, allocations: 51.97 kB / 1.171 GB, free: 57.04 MB / 426.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.R_0:VARIABLE(min = 0.0 unit = "m" ) = fitting1.geometry.R_0 "Curvature radius" 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.R_0:VARIABLE(min = 0.0 unit = "m" ) = fitting2.geometry.R_0 "Curvature radius" 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 (61): * 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): 8 * 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: 8 {1,1,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.0003191/5.045, allocations: 154 kB / 1.171 GB, free: 56.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/5.045, allocations: 48.22 kB / 1.171 GB, free: 56.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003206/5.048, allocations: 0.7025 MB / 1.172 GB, free: 56.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/5.048, allocations: 3.906 kB / 1.172 GB, free: 56.79 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/5.048, allocations: 3.688 kB / 1.172 GB, free: 56.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/5.048, allocations: 3.844 kB / 1.172 GB, free: 56.79 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002889/5.051, allocations: 1.093 MB / 1.173 GB, free: 56.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/5.051, allocations: 3.969 kB / 1.173 GB, free: 56.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003919/5.052, allocations: 55.05 kB / 1.173 GB, free: 56.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002242/5.052, allocations: 49.3 kB / 1.173 GB, free: 56.26 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.123e-05/5.052, allocations: 7.656 kB / 1.173 GB, free: 56.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006811/5.053, allocations: 0.619 MB / 1.173 GB, free: 55.74 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/5.053, allocations: 3.188 kB / 1.173 GB, free: 55.74 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0019/5.055, allocations: 0.6368 MB / 1.174 GB, free: 55.4 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002099/5.057, allocations: 1.042 MB / 1.175 GB, free: 54.69 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002497/5.057, allocations: 147.1 kB / 1.175 GB, free: 54.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/5.057, allocations: 3.75 kB / 1.175 GB, free: 54.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006035/5.058, allocations: 26.16 kB / 1.175 GB, free: 54.57 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.823e-05/5.058, allocations: 26.03 kB / 1.175 GB, free: 54.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.019e-05/5.058, allocations: 14.94 kB / 1.175 GB, free: 54.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0005238/5.059, allocations: 314 kB / 1.176 GB, free: 54.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005542/5.064, allocations: 0.5441 MB / 1.176 GB, free: 54.43 MB / 426.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.006409/5.071, allocations: 1.42 MB / 1.178 GB, free: 54.19 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002083/5.073, allocations: 365.1 kB / 1.178 GB, free: 54.19 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.621e-05/5.073, allocations: 0 / 1.178 GB, free: 54.19 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005826/5.073, allocations: 127.2 kB / 1.178 GB, free: 54.19 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002737/5.076, allocations: 205.8 kB / 1.178 GB, free: 54.19 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/5.087, allocations: 2.285 MB / 1.18 GB, free: 53.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001109/5.088, allocations: 0.9713 MB / 1.181 GB, free: 53.22 MB / 426.7 MB Notification: Performance of SimCode: time 1.523e-06/5.088, allocations: 0 / 1.181 GB, free: 53.22 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat does not exist to compare? outputFormat=mat