Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",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.355/2.355, allocations: 235.1 MB / 242 MB, free: 9.75 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1811/2.536, allocations: 57.2 MB / 299.2 MB, free: 432 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/2.838, allocations: 54.86 MB / 354.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.904/4.742, allocations: 0.6129 GB / 0.9587 GB, free: 119 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004762/4.742, allocations: 89.41 kB / 0.9588 GB, free: 119 MB / 474.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.243/5.985, allocations: 241.7 MB / 1.195 GB, free: 96.91 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/5.985, allocations: 7.844 kB / 1.195 GB, free: 96.91 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002458/5.988, allocations: 141.6 kB / 1.195 GB, free: 96.88 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001885/5.99, allocations: 0.538 MB / 1.195 GB, free: 96.65 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.891e-05/5.99, allocations: 11.84 kB / 1.195 GB, free: 96.65 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/5.99, allocations: 23.34 kB / 1.196 GB, free: 96.65 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001253/5.991, allocations: 388.2 kB / 1.196 GB, free: 96.64 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/5.993, allocations: 497.9 kB / 1.196 GB, free: 96.5 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.812e-05/5.993, allocations: 0 / 1.196 GB, free: 96.5 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/5.993, allocations: 0 / 1.196 GB, free: 96.5 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.369e-05/5.993, allocations: 14.16 kB / 1.196 GB, free: 96.5 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005145/5.998, allocations: 2.607 MB / 1.199 GB, free: 94.76 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006234/5.999, allocations: 227.6 kB / 1.199 GB, free: 94.74 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004504/5.999, allocations: 131.8 kB / 1.199 GB, free: 94.73 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005857/6, allocations: 319.7 kB / 1.2 GB, free: 94.45 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/6, allocations: 38.19 kB / 1.2 GB, free: 94.41 MB / 474.7 MB Notification: Performance of pre-optimization done (n=30): time 3.267e-06/6, allocations: 3.031 kB / 1.2 GB, free: 94.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=30): time 0.004796/6.005, allocations: 0.8141 MB / 1.2 GB, free: 94.34 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/6.005, allocations: 140 kB / 1.201 GB, free: 94.18 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007082/6.005, allocations: 375 kB / 1.201 GB, free: 94.07 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.768e-05/6.005, allocations: 25.7 kB / 1.201 GB, free: 94.04 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/6.006, allocations: 252.5 kB / 1.201 GB, free: 93.89 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/6.006, allocations: 109.1 kB / 1.201 GB, free: 93.84 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.413e-05/6.006, allocations: 3.938 kB / 1.201 GB, free: 93.83 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001067/6.006, allocations: 352 kB / 1.202 GB, free: 93.52 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004091/6.006, allocations: 163.7 kB / 1.202 GB, free: 93.52 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005164/6.007, allocations: 340.2 kB / 1.202 GB, free: 93.32 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004656/6.012, allocations: 0.6944 MB / 1.203 GB, free: 93.31 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/6.012, allocations: 3.219 kB / 1.203 GB, free: 93.31 MB / 474.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.005456/6.017, allocations: 1.067 MB / 1.204 GB, free: 93.24 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/6.017, allocations: 7.531 kB / 1.204 GB, free: 93.24 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/6.017, allocations: 3.938 kB / 1.204 GB, free: 93.24 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003276/6.017, allocations: 51.92 kB / 1.204 GB, free: 93.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/6.019, allocations: 160.1 kB / 1.204 GB, free: 93.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005637/6.024, allocations: 10.9 MB / 1.215 GB, free: 82.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009862/6.025, allocations: 65.5 kB / 1.215 GB, free: 82.07 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/6.025, allocations: 57.02 kB / 1.215 GB, free: 82.06 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.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.0003476/6.026, allocations: 156.6 kB / 1.215 GB, free: 81.95 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002488/6.026, allocations: 46.81 kB / 1.215 GB, free: 81.93 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004518/6.031, allocations: 0.6972 MB / 1.216 GB, free: 81.81 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.978e-06/6.031, allocations: 3.656 kB / 1.216 GB, free: 81.81 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/6.031, allocations: 3.375 kB / 1.216 GB, free: 81.81 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/6.031, allocations: 7.609 kB / 1.216 GB, free: 81.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003072/6.034, allocations: 1.1 MB / 1.217 GB, free: 81.27 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/6.034, allocations: 0 / 1.217 GB, free: 81.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004257/6.034, allocations: 59.05 kB / 1.217 GB, free: 81.26 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000233/6.034, allocations: 45.61 kB / 1.217 GB, free: 81.25 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/6.034, allocations: 7.781 kB / 1.217 GB, free: 81.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006867/6.035, allocations: 0.6181 MB / 1.217 GB, free: 80.73 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/6.035, allocations: 3.938 kB / 1.217 GB, free: 80.73 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001891/6.037, allocations: 0.634 MB / 1.218 GB, free: 80.39 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002054/6.039, allocations: 1.049 MB / 1.219 GB, free: 79.67 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002184/6.039, allocations: 140.3 kB / 1.219 GB, free: 79.55 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/6.04, allocations: 7.531 kB / 1.219 GB, free: 79.55 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000611/6.04, allocations: 28.36 kB / 1.219 GB, free: 79.55 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.642e-05/6.04, allocations: 30.22 kB / 1.219 GB, free: 79.54 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.206e-05/6.04, allocations: 13.72 kB / 1.219 GB, free: 79.54 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0005338/6.041, allocations: 313.4 kB / 1.22 GB, free: 79.45 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004395/6.045, allocations: 0.536 MB / 1.22 GB, free: 79.36 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.00333/6.049, allocations: 1.41 MB / 1.222 GB, free: 79.08 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001295/6.05, allocations: 368.9 kB / 1.222 GB, free: 79.06 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/6.05, allocations: 0 / 1.222 GB, free: 79.06 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003718/6.05, allocations: 127.7 kB / 1.222 GB, free: 79.05 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002172/6.053, allocations: 217.6 kB / 1.222 GB, free: 79.04 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01339/6.066, allocations: 2.277 MB / 1.224 GB, free: 78.74 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001168/6.067, allocations: 0.9762 MB / 1.225 GB, free: 78.03 MB / 474.7 MB Notification: Performance of SimCode: time 1.352e-06/6.067, allocations: 0 / 1.225 GB, free: 78.03 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.CurvedBend_res.mat does not exist to compare? outputFormat=mat