Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC",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.525/2.525, allocations: 235 MB / 241.9 MB, free: 9.785 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.196/2.721, allocations: 57.23 MB / 299.2 MB, free: 432 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/3.019, allocations: 54.84 MB / 354 MB, free: 13.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1976/3.216, allocations: 86.05 MB / 440 MB, free: 7.246 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0008767/3.217, allocations: 95.86 kB / 440.1 MB, free: 7.152 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.2496/3.467, allocations: 9.58 MB / 449.7 MB, free: 87.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/3.467, allocations: 11.5 kB / 449.7 MB, free: 87.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/3.467, allocations: 37.25 kB / 449.8 MB, free: 87.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005224/3.468, allocations: 281.5 kB / 450 MB, free: 86.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/3.468, allocations: 11.59 kB / 450.1 MB, free: 86.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.315e-05/3.468, allocations: 22.34 kB / 450.1 MB, free: 86.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001045/3.469, allocations: 0.5046 MB / 450.6 MB, free: 86.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/3.47, allocations: 486.8 kB / 451.1 MB, free: 86.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/3.47, allocations: 2.719 kB / 451.1 MB, free: 86.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.072e-05/3.47, allocations: 0 / 451.1 MB, free: 86.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-05/3.47, allocations: 34.03 kB / 451.1 MB, free: 86.81 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003103/3.473, allocations: 1.067 MB / 452.2 MB, free: 86.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002109/3.475, allocations: 445.7 kB / 452.6 MB, free: 86.47 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004565/3.476, allocations: 148.4 kB / 452.7 MB, free: 86.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.041e-05/3.476, allocations: 12.11 kB / 452.8 MB, free: 86.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/3.476, allocations: 42.73 kB / 452.8 MB, free: 86.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 3.787e-06/3.476, allocations: 0 / 452.8 MB, free: 86.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001293/3.477, allocations: 351.5 kB / 453.1 MB, free: 86.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/3.477, allocations: 54.69 kB / 453.2 MB, free: 86.31 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/3.478, allocations: 134.3 kB / 453.3 MB, free: 86.22 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.317e-05/3.478, allocations: 30.86 kB / 453.4 MB, free: 86.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/3.478, allocations: 194.5 kB / 453.5 MB, free: 86.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002176/3.478, allocations: 89.12 kB / 453.6 MB, free: 85.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.695e-05/3.478, allocations: 0 / 453.6 MB, free: 85.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000183/3.479, allocations: 334.9 kB / 454 MB, free: 85.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006461/3.479, allocations: 127.8 kB / 454.1 MB, free: 85.65 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006536/3.48, allocations: 123.5 kB / 454.2 MB, free: 85.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006921/3.481, allocations: 151.6 kB / 454.3 MB, free: 85.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-06/3.481, allocations: 0 / 454.3 MB, free: 85.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001691/3.482, allocations: 349.3 kB / 454.7 MB, free: 85.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.771e-05/3.482, allocations: 4.375 kB / 454.7 MB, free: 85.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/3.482, allocations: 1.156 kB / 454.7 MB, free: 85.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.443e-05/3.483, allocations: 1.156 kB / 454.7 MB, free: 85.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00273/3.485, allocations: 157.9 kB / 454.8 MB, free: 85.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005216/3.491, allocations: 5.604 MB / 460.5 MB, free: 80.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000524/3.491, allocations: 20.03 kB / 460.5 MB, free: 80.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.902e-05/3.491, allocations: 10.5 kB / 460.5 MB, free: 80.18 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001938/3.491, allocations: 116.5 kB / 460.6 MB, free: 80.06 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/3.492, allocations: 17.98 kB / 460.6 MB, free: 80.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001807/3.493, allocations: 0.4944 MB / 461.1 MB, free: 79.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.958e-06/3.494, allocations: 5.203 kB / 461.1 MB, free: 79.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/3.494, allocations: 3.906 kB / 461.1 MB, free: 79.92 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/3.494, allocations: 5.203 kB / 461.1 MB, free: 79.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007414/3.494, allocations: 347.2 kB / 461.5 MB, free: 79.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/3.494, allocations: 0 / 461.5 MB, free: 79.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001648/3.496, allocations: 164.6 kB / 461.6 MB, free: 79.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.418e-05/3.496, allocations: 2.031 kB / 461.6 MB, free: 79.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-05/3.496, allocations: 8.312 kB / 461.6 MB, free: 79.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003349/3.499, allocations: 5.596 MB / 467.2 MB, free: 74.35 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.285e-06/3.5, allocations: 1.438 kB / 467.2 MB, free: 74.35 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001106/3.501, allocations: 459 kB / 467.7 MB, free: 74.17 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001109/3.502, allocations: 0.8288 MB / 468.5 MB, free: 73.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.966e-05/3.502, allocations: 102.6 kB / 468.6 MB, free: 73.49 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.584e-05/3.502, allocations: 1.906 kB / 468.6 MB, free: 73.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003862/3.502, allocations: 15.34 kB / 468.6 MB, free: 73.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/3.503, allocations: 17.3 kB / 468.6 MB, free: 73.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.051e-05/3.503, allocations: 14.05 kB / 468.7 MB, free: 73.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001033/3.503, allocations: 110.4 kB / 468.8 MB, free: 73.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001625/3.504, allocations: 133.1 kB / 468.9 MB, free: 73.36 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005718/3.505, allocations: 171.1 kB / 469.1 MB, free: 73.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003054/3.508, allocations: 433 kB / 469.5 MB, free: 73.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/3.508, allocations: 0 / 469.5 MB, free: 73.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002094/3.51, allocations: 307.5 kB / 469.8 MB, free: 73.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/3.511, allocations: 11.45 kB / 469.8 MB, free: 73.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001999/3.513, allocations: 0.554 MB / 470.3 MB, free: 73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007583/3.513, allocations: 0.8935 MB / 471.2 MB, free: 72.27 MB / 378.7 MB Notification: Performance of SimCode: time 1.322e-06/3.513, allocations: 4 kB / 471.2 MB, free: 72.27 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat