Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",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.569/2.569, allocations: 235.1 MB / 242 MB, free: 9.75 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1932/2.763, allocations: 57.21 MB / 299.2 MB, free: 424 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/3.091, allocations: 54.86 MB / 354.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2413/3.333, allocations: 84.87 MB / 439 MB, free: 8.398 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005821/3.333, allocations: 95.92 kB / 439.1 MB, free: 8.305 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.2859/3.619, allocations: 11.84 MB / 450.9 MB, free: 86.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/3.619, allocations: 11.59 kB / 450.9 MB, free: 86.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.152e-05/3.619, allocations: 27.06 kB / 450.9 MB, free: 86.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003485/3.62, allocations: 244 kB / 451.2 MB, free: 86.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/3.62, allocations: 11.22 kB / 451.2 MB, free: 86.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.541e-05/3.62, allocations: 14.41 kB / 451.2 MB, free: 86.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007997/3.621, allocations: 326.7 kB / 451.5 MB, free: 86.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007553/3.621, allocations: 324 kB / 451.8 MB, free: 86.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/3.621, allocations: 0 / 451.8 MB, free: 86.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.127e-05/3.621, allocations: 3.906 kB / 451.8 MB, free: 86.31 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.48e-05/3.622, allocations: 21.67 kB / 451.9 MB, free: 86.31 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002101/3.624, allocations: 0.7599 MB / 452.6 MB, free: 86.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006623/3.624, allocations: 256.5 kB / 452.9 MB, free: 86 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000252/3.625, allocations: 81.03 kB / 453 MB, free: 86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.402e-05/3.625, allocations: 7.766 kB / 453 MB, free: 86 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/3.625, allocations: 32.44 kB / 453 MB, free: 85.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 3.386e-06/3.625, allocations: 0 / 453 MB, free: 85.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007608/3.625, allocations: 216.6 kB / 453.2 MB, free: 85.92 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/3.626, allocations: 51.97 kB / 453.3 MB, free: 85.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/3.626, allocations: 171.1 kB / 453.4 MB, free: 85.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/3.626, allocations: 26.73 kB / 453.5 MB, free: 85.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.215e-05/3.626, allocations: 168.8 kB / 453.6 MB, free: 85.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.015e-05/3.626, allocations: 54.91 kB / 453.7 MB, free: 85.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-05/3.626, allocations: 4.781 kB / 453.7 MB, free: 85.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.797e-05/3.626, allocations: 331.2 kB / 454 MB, free: 85.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002562/3.626, allocations: 88 kB / 454.1 MB, free: 85.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003296/3.627, allocations: 169.8 kB / 454.3 MB, free: 85.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003522/3.627, allocations: 124.1 kB / 454.4 MB, free: 85.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/3.627, allocations: 0.875 kB / 454.4 MB, free: 85.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008693/3.628, allocations: 288.8 kB / 454.7 MB, free: 84.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/3.628, allocations: 4.156 kB / 454.7 MB, free: 84.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/3.628, allocations: 3.938 kB / 454.7 MB, free: 84.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.539e-05/3.628, allocations: 4.281 kB / 454.7 MB, free: 84.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/3.629, allocations: 125.1 kB / 454.8 MB, free: 84.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002369/3.632, allocations: 3.702 MB / 458.5 MB, free: 81.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004297/3.632, allocations: 23.31 kB / 458.5 MB, free: 81.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.342e-05/3.632, allocations: 14.81 kB / 458.5 MB, free: 81.4 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * 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: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001855/3.633, allocations: 122.1 kB / 458.6 MB, free: 81.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.492e-05/3.633, allocations: 14.84 kB / 458.7 MB, free: 81.28 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002106/3.635, allocations: 320.4 kB / 459 MB, free: 81.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.271e-05/3.635, allocations: 2.719 kB / 459 MB, free: 81.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.965e-05/3.635, allocations: 3.844 kB / 459 MB, free: 81.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.691e-05/3.635, allocations: 4 kB / 459 MB, free: 81.17 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/3.636, allocations: 269.8 kB / 459.3 MB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/3.636, allocations: 0 / 459.3 MB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001588/3.638, allocations: 108.9 kB / 459.4 MB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-05/3.638, allocations: 1.062 kB / 459.4 MB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.853e-05/3.638, allocations: 3.094 kB / 459.4 MB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003319/3.641, allocations: 3.705 MB / 463.1 MB, free: 77.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.114e-05/3.641, allocations: 0 / 463.1 MB, free: 77.4 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001038/3.642, allocations: 315 kB / 463.4 MB, free: 77.24 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001128/3.643, allocations: 0.6935 MB / 464.1 MB, free: 76.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/3.644, allocations: 93.38 kB / 464.2 MB, free: 76.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002289/3.644, allocations: 4.891 kB / 464.2 MB, free: 76.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/3.645, allocations: 9.969 kB / 464.2 MB, free: 76.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/3.645, allocations: 11.92 kB / 464.2 MB, free: 76.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.144e-05/3.645, allocations: 6.906 kB / 464.2 MB, free: 76.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002141/3.646, allocations: 129.7 kB / 464.3 MB, free: 76.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001709/3.647, allocations: 84.81 kB / 464.4 MB, free: 76.48 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 (16): * Single equations (assignments): 10 * 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: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.0003898/3.648, allocations: 161.7 kB / 464.6 MB, free: 76.37 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001829/3.65, allocations: 298.1 kB / 464.8 MB, free: 76.33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/3.65, allocations: 5.312 kB / 464.9 MB, free: 76.33 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001337/3.651, allocations: 178.2 kB / 465 MB, free: 76.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003931/3.651, allocations: 22.41 kB / 465.1 MB, free: 76.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/3.653, allocations: 377.8 kB / 465.4 MB, free: 76.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000512/3.653, allocations: 0.8225 MB / 466.2 MB, free: 75.44 MB / 378.7 MB Notification: Performance of SimCode: time 1.643e-06/3.653, allocations: 0 / 466.2 MB, free: 75.44 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat