Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_3_2_2_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 2.044/2.044, allocations: 235 MB / 241.9 MB, free: 9.754 MB / 194.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1583/2.203, allocations: 57.2 MB / 299.1 MB, free: 0.918 MB / 242.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/2.521, allocations: 54.84 MB / 354 MB, free: 1.582 MB / 290.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.539/4.06, allocations: 0.6129 GB / 0.9586 GB, free: 99.97 MB / 482.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/4.06, allocations: 92.12 kB / 0.9587 GB, free: 99.92 MB / 482.8 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.156/5.216, allocations: 241.7 MB / 1.195 GB, free: 57.32 MB / 482.8 MB Notification: Performance of prepare preOptimizeDAE: time 7.57e-05/5.216, allocations: 12 kB / 1.195 GB, free: 57.31 MB / 482.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003372/5.219, allocations: 139.2 kB / 1.195 GB, free: 57.17 MB / 482.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002594/5.222, allocations: 0.5437 MB / 1.195 GB, free: 56.6 MB / 482.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.009e-05/5.222, allocations: 16 kB / 1.195 GB, free: 56.58 MB / 482.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/5.222, allocations: 20 kB / 1.195 GB, free: 56.56 MB / 482.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001884/5.224, allocations: 389.9 kB / 1.196 GB, free: 56.18 MB / 482.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/5.226, allocations: 496.1 kB / 1.196 GB, free: 55.65 MB / 482.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.195e-05/5.226, allocations: 0 / 1.196 GB, free: 55.65 MB / 482.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000152/5.226, allocations: 4 kB / 1.196 GB, free: 55.64 MB / 482.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.152e-05/5.226, allocations: 12 kB / 1.196 GB, free: 55.63 MB / 482.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006288/5.233, allocations: 2.614 MB / 1.199 GB, free: 52.84 MB / 482.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007882/5.234, allocations: 218.7 kB / 1.199 GB, free: 52.62 MB / 482.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004459/5.234, allocations: 136.4 kB / 1.199 GB, free: 52.49 MB / 482.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006216/5.235, allocations: 317.2 kB / 1.199 GB, free: 52.12 MB / 482.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.607e-05/5.235, allocations: 38.56 kB / 1.2 GB, free: 52.07 MB / 482.8 MB Notification: Performance of pre-optimization done (n=30): time 7.153e-06/5.235, allocations: 0 / 1.2 GB, free: 52.07 MB / 482.8 MB Notification: Performance of matching and sorting (n=30): time 0.007362/5.242, allocations: 0.814 MB / 1.2 GB, free: 51.25 MB / 482.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.429e-05/5.242, allocations: 136.5 kB / 1.2 GB, free: 51.09 MB / 482.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009791/5.243, allocations: 373 kB / 1.201 GB, free: 50.72 MB / 482.8 MB Notification: Performance of collectPreVariables (initialization): time 9.881e-05/5.243, allocations: 25.7 kB / 1.201 GB, free: 50.69 MB / 482.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002259/5.244, allocations: 251.4 kB / 1.201 GB, free: 50.44 MB / 482.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/5.244, allocations: 106.4 kB / 1.201 GB, free: 50.33 MB / 482.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.348e-05/5.244, allocations: 8 kB / 1.201 GB, free: 50.32 MB / 482.8 MB Notification: Performance of setup shared object (initialization): time 0.0001529/5.244, allocations: 354.8 kB / 1.201 GB, free: 49.97 MB / 482.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005911/5.245, allocations: 161.3 kB / 1.202 GB, free: 49.81 MB / 482.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006962/5.245, allocations: 334.6 kB / 1.202 GB, free: 49.41 MB / 482.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006791/5.252, allocations: 0.6943 MB / 1.203 GB, free: 48.71 MB / 482.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.616e-05/5.252, allocations: 7.938 kB / 1.203 GB, free: 48.71 MB / 482.8 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.008354/5.261, allocations: 1.068 MB / 1.204 GB, free: 47.63 MB / 482.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/5.261, allocations: 8 kB / 1.204 GB, free: 47.62 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/5.261, allocations: 4 kB / 1.204 GB, free: 47.62 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003871/5.261, allocations: 48.83 kB / 1.204 GB, free: 47.57 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/5.263, allocations: 160.2 kB / 1.204 GB, free: 47.41 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007736/5.27, allocations: 10.9 MB / 1.215 GB, free: 35.58 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009435/5.271, allocations: 67.52 kB / 1.215 GB, free: 35.51 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/5.272, allocations: 51.98 kB / 1.215 GB, free: 35.46 MB / 482.8 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.0003264/5.272, allocations: 159.2 kB / 1.215 GB, free: 35.3 MB / 482.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001896/5.272, allocations: 47.44 kB / 1.215 GB, free: 35.25 MB / 482.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003202/5.275, allocations: 0.704 MB / 1.216 GB, free: 34.54 MB / 482.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/5.275, allocations: 4 kB / 1.216 GB, free: 34.53 MB / 482.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/5.275, allocations: 0 / 1.216 GB, free: 34.53 MB / 482.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/5.275, allocations: 7.984 kB / 1.216 GB, free: 34.52 MB / 482.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00291/5.278, allocations: 1.091 MB / 1.217 GB, free: 33.33 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/5.278, allocations: 224 / 1.217 GB, free: 33.33 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000394/5.279, allocations: 59.91 kB / 1.217 GB, free: 33.27 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002194/5.279, allocations: 44.83 kB / 1.217 GB, free: 33.23 MB / 482.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.23e-05/5.279, allocations: 11.98 kB / 1.217 GB, free: 33.21 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006903/5.28, allocations: 0.6109 MB / 1.217 GB, free: 32.58 MB / 482.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/5.28, allocations: 7.938 kB / 1.217 GB, free: 32.57 MB / 482.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001865/5.282, allocations: 0.6277 MB / 1.218 GB, free: 31.86 MB / 482.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002082/5.284, allocations: 1.053 MB / 1.219 GB, free: 30.72 MB / 482.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003212/5.284, allocations: 144.5 kB / 1.219 GB, free: 30.56 MB / 482.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001546/5.284, allocations: 0 / 1.219 GB, free: 30.56 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000574/5.285, allocations: 35.81 kB / 1.219 GB, free: 30.52 MB / 482.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.309e-05/5.285, allocations: 23.97 kB / 1.219 GB, free: 30.5 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.011e-05/5.285, allocations: 16 kB / 1.219 GB, free: 30.48 MB / 482.8 MB Notification: Performance of sort global known variables: time 0.0005106/5.286, allocations: 318.9 kB / 1.22 GB, free: 30.17 MB / 482.8 MB Notification: Performance of remove unused functions: time 0.004057/5.29, allocations: 0.5345 MB / 1.22 GB, free: 29.64 MB / 482.8 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.003601/5.293, allocations: 1.41 MB / 1.221 GB, free: 28.22 MB / 482.8 MB Notification: Performance of simCode: created initialization part: time 0.001201/5.295, allocations: 372.4 kB / 1.222 GB, free: 27.86 MB / 482.8 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/5.295, allocations: 0 / 1.222 GB, free: 27.86 MB / 482.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003347/5.295, allocations: 119.8 kB / 1.222 GB, free: 27.74 MB / 482.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00206/5.297, allocations: 210.7 kB / 1.222 GB, free: 27.54 MB / 482.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/5.307, allocations: 2.295 MB / 1.224 GB, free: 25.2 MB / 482.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009895/5.308, allocations: 0.9796 MB / 1.225 GB, free: 24.18 MB / 482.8 MB Notification: Performance of SimCode: time 1.092e-06/5.308, allocations: 0 / 1.225 GB, free: 24.18 MB / 482.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat does not exist to compare? outputFormat=mat