Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_3_2_1_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 1.844/1.844, allocations: 209.3 MB / 216.3 MB, free: 4.281 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1554/2, allocations: 51.04 MB / 267.3 MB, free: 1.246 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/2.263, allocations: 48.69 MB / 316 MB, free: 13.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.535/3.798, allocations: 0.6052 GB / 0.9138 GB, free: 112.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/3.798, allocations: 91.62 kB / 0.9139 GB, free: 112.4 MB / 426.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.034/4.832, allocations: 236.6 MB / 1.145 GB, free: 79.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/4.832, allocations: 11 kB / 1.145 GB, free: 79.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001639/4.834, allocations: 139.1 kB / 1.145 GB, free: 79.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/4.835, allocations: 0.5306 MB / 1.146 GB, free: 78.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/4.835, allocations: 11.62 kB / 1.146 GB, free: 78.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-05/4.835, allocations: 23.16 kB / 1.146 GB, free: 78.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001079/4.836, allocations: 387.8 kB / 1.146 GB, free: 78.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/4.838, allocations: 490.7 kB / 1.146 GB, free: 78.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/4.838, allocations: 3.938 kB / 1.146 GB, free: 78.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.564e-05/4.838, allocations: 11.73 kB / 1.146 GB, free: 78.42 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/4.838, allocations: 14.5 kB / 1.146 GB, free: 78.42 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004022/4.842, allocations: 2.584 MB / 1.149 GB, free: 76.06 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006216/4.842, allocations: 221.6 kB / 1.149 GB, free: 75.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003728/4.843, allocations: 134.6 kB / 1.149 GB, free: 75.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004764/4.843, allocations: 316.2 kB / 1.15 GB, free: 75.58 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/4.843, allocations: 45.95 kB / 1.15 GB, free: 75.53 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 2.985e-06/4.843, allocations: 0.5938 kB / 1.15 GB, free: 75.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.004743/4.848, allocations: 0.8031 MB / 1.15 GB, free: 75.15 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/4.848, allocations: 131.3 kB / 1.151 GB, free: 74.99 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007066/4.849, allocations: 369 kB / 1.151 GB, free: 74.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.673e-05/4.849, allocations: 27.08 kB / 1.151 GB, free: 74.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/4.849, allocations: 253.9 kB / 1.151 GB, free: 74.51 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/4.849, allocations: 104.2 kB / 1.151 GB, free: 74.42 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.37e-05/4.849, allocations: 4.969 kB / 1.151 GB, free: 74.41 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/4.85, allocations: 353.1 kB / 1.152 GB, free: 74.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004153/4.85, allocations: 143.6 kB / 1.152 GB, free: 74.01 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005057/4.85, allocations: 309.7 kB / 1.152 GB, free: 73.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004333/4.855, allocations: 0.6822 MB / 1.153 GB, free: 73.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.388e-05/4.855, allocations: 2.281 kB / 1.153 GB, free: 73.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.005348/4.86, allocations: 1.023 MB / 1.154 GB, free: 72.92 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/4.86, allocations: 7.469 kB / 1.154 GB, free: 72.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/4.86, allocations: 5.781 kB / 1.154 GB, free: 72.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003404/4.861, allocations: 52.23 kB / 1.154 GB, free: 72.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009636/4.862, allocations: 151.1 kB / 1.154 GB, free: 72.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004223/4.866, allocations: 8.326 MB / 1.162 GB, free: 64.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00091/4.867, allocations: 72.59 kB / 1.162 GB, free: 64.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001346/4.867, allocations: 50.75 kB / 1.162 GB, free: 64.09 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.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.0002945/4.867, allocations: 145.3 kB / 1.162 GB, free: 63.96 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/4.867, allocations: 51.84 kB / 1.162 GB, free: 63.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003333/4.871, allocations: 0.696 MB / 1.163 GB, free: 63.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/4.871, allocations: 3.406 kB / 1.163 GB, free: 63.57 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/4.871, allocations: 0 / 1.163 GB, free: 63.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/4.871, allocations: 5.766 kB / 1.163 GB, free: 63.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003072/4.874, allocations: 1.088 MB / 1.164 GB, free: 62.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/4.874, allocations: 1.938 kB / 1.164 GB, free: 62.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003909/4.874, allocations: 56.28 kB / 1.164 GB, free: 62.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002361/4.875, allocations: 47.89 kB / 1.164 GB, free: 62.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.315e-05/4.875, allocations: 9.312 kB / 1.164 GB, free: 62.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006748/4.875, allocations: 0.6065 MB / 1.165 GB, free: 62.06 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/4.875, allocations: 5.688 kB / 1.165 GB, free: 62.06 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00193/4.877, allocations: 0.6249 MB / 1.165 GB, free: 61.55 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0022/4.88, allocations: 1.038 MB / 1.166 GB, free: 60.63 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002462/4.88, allocations: 148.3 kB / 1.167 GB, free: 60.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/4.88, allocations: 3.625 kB / 1.167 GB, free: 60.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006219/4.881, allocations: 35.12 kB / 1.167 GB, free: 60.47 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.234e-05/4.881, allocations: 18.17 kB / 1.167 GB, free: 60.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.234e-05/4.881, allocations: 13.42 kB / 1.167 GB, free: 60.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0005605/4.881, allocations: 294.2 kB / 1.167 GB, free: 60.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003731/4.885, allocations: 0.5458 MB / 1.168 GB, free: 60.02 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.003244/4.888, allocations: 1.415 MB / 1.169 GB, free: 58.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001198/4.89, allocations: 343.2 kB / 1.169 GB, free: 58.65 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/4.89, allocations: 0 / 1.169 GB, free: 58.65 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003431/4.89, allocations: 123 kB / 1.169 GB, free: 58.54 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00216/4.892, allocations: 207.7 kB / 1.17 GB, free: 58.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/4.903, allocations: 2.263 MB / 1.172 GB, free: 56.13 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000993/4.904, allocations: 0.9764 MB / 1.173 GB, free: 55.14 MB / 426.7 MB Notification: Performance of SimCode: time 1.783e-06/4.904, allocations: 3.625 kB / 1.173 GB, free: 55.14 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat does not exist to compare? outputFormat=mat