Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",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.669/2.669, allocations: 235 MB / 242 MB, free: 9.66 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2024/2.872, allocations: 57.23 MB / 299.2 MB, free: 328 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/3.157, allocations: 54.86 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1729/3.33, allocations: 86.83 MB / 440.9 MB, free: 6.434 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004027/3.331, allocations: 91.94 kB / 441 MB, free: 6.344 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.2919/3.623, allocations: 13.44 MB / 454.5 MB, free: 85.78 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/3.623, allocations: 11.97 kB / 454.5 MB, free: 85.78 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/3.623, allocations: 32.75 kB / 454.5 MB, free: 85.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004672/3.623, allocations: 253.3 kB / 454.8 MB, free: 85.53 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/3.624, allocations: 7.531 kB / 454.8 MB, free: 85.53 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.881e-05/3.624, allocations: 20 kB / 454.8 MB, free: 85.53 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008216/3.624, allocations: 244.3 kB / 455 MB, free: 85.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009481/3.625, allocations: 373.5 kB / 455.4 MB, free: 85.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/3.625, allocations: 2.516 kB / 455.4 MB, free: 85.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.396e-05/3.625, allocations: 0 / 455.4 MB, free: 85.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.305e-05/3.626, allocations: 16.42 kB / 455.4 MB, free: 85.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002442/3.628, allocations: 1.019 MB / 456.4 MB, free: 84.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006298/3.629, allocations: 214.4 kB / 456.6 MB, free: 84.58 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002702/3.629, allocations: 88.31 kB / 456.7 MB, free: 84.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.443e-05/3.629, allocations: 9.422 kB / 456.7 MB, free: 84.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/3.629, allocations: 40.08 kB / 456.8 MB, free: 84.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 2.865e-06/3.629, allocations: 0.9688 kB / 456.8 MB, free: 84.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008558/3.63, allocations: 198.6 kB / 457 MB, free: 84.44 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/3.63, allocations: 108.5 kB / 457.1 MB, free: 84.31 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003899/3.63, allocations: 217.7 kB / 457.3 MB, free: 84.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/3.63, allocations: 25.7 kB / 457.3 MB, free: 84.15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/3.631, allocations: 190.9 kB / 457.5 MB, free: 83.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.138e-05/3.631, allocations: 47.31 kB / 457.5 MB, free: 83.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/3.631, allocations: 0 / 457.5 MB, free: 83.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.464e-05/3.631, allocations: 331.3 kB / 457.9 MB, free: 83.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003147/3.631, allocations: 96.34 kB / 458 MB, free: 83.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000379/3.632, allocations: 205.8 kB / 458.2 MB, free: 83.44 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003824/3.632, allocations: 125.2 kB / 458.3 MB, free: 83.42 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/3.632, allocations: 1.375 kB / 458.3 MB, free: 83.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001032/3.633, allocations: 325.7 kB / 458.6 MB, free: 83.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/3.633, allocations: 4.734 kB / 458.6 MB, free: 83.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.542e-05/3.633, allocations: 24.83 kB / 458.6 MB, free: 83.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.027e-05/3.633, allocations: 6.875 kB / 458.6 MB, free: 83.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005808/3.634, allocations: 58.98 kB / 458.7 MB, free: 83.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/3.634, allocations: 6.203 kB / 458.7 MB, free: 83.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005602/3.634, allocations: 49.77 kB / 458.7 MB, free: 83.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.695e-05/3.634, allocations: 21.22 kB / 458.8 MB, free: 83.29 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000127/3.635, allocations: 117.6 kB / 458.9 MB, free: 83.17 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002674/3.635, allocations: 21.91 kB / 458.9 MB, free: 83.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/3.636, allocations: 286 kB / 459.2 MB, free: 83.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/3.636, allocations: 4.484 kB / 459.2 MB, free: 83.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/3.636, allocations: 3.938 kB / 459.2 MB, free: 83.06 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/3.636, allocations: 2.391 kB / 459.2 MB, free: 83.06 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000743/3.637, allocations: 270.7 kB / 459.5 MB, free: 82.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.749e-05/3.637, allocations: 19.73 kB / 459.5 MB, free: 82.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003511/3.637, allocations: 34.5 kB / 459.5 MB, free: 82.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.136e-06/3.637, allocations: 1.188 kB / 459.5 MB, free: 82.87 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.628e-05/3.637, allocations: 15.55 kB / 459.5 MB, free: 82.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/3.637, allocations: 0.6562 kB / 459.5 MB, free: 82.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/3.637, allocations: 5.906 kB / 459.5 MB, free: 82.86 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007579/3.638, allocations: 472.1 kB / 460 MB, free: 82.51 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007811/3.639, allocations: 0.8412 MB / 460.8 MB, free: 81.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.15e-05/3.639, allocations: 101.2 kB / 460.9 MB, free: 81.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.602e-05/3.639, allocations: 1.781 kB / 460.9 MB, free: 81.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005628/3.64, allocations: 30.86 kB / 461 MB, free: 81.67 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/3.64, allocations: 16.16 kB / 461 MB, free: 81.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.919e-05/3.64, allocations: 8.203 kB / 461 MB, free: 81.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002447/3.64, allocations: 167.1 kB / 461.2 MB, free: 81.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002098/3.642, allocations: 109.5 kB / 461.3 MB, free: 81.54 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004505/3.643, allocations: 176.4 kB / 461.4 MB, free: 81.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008325/3.643, allocations: 375.9 kB / 461.8 MB, free: 81.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/3.643, allocations: 0 / 461.8 MB, free: 81.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003824/3.644, allocations: 247.1 kB / 462 MB, free: 81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005671/3.644, allocations: 29.38 kB / 462.1 MB, free: 80.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/3.646, allocations: 421.2 kB / 462.5 MB, free: 80.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005328/3.647, allocations: 0.8296 MB / 463.3 MB, free: 80.1 MB / 378.7 MB Notification: Performance of SimCode: time 1.123e-06/3.647, allocations: 0 / 463.3 MB, free: 80.1 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_res.mat does not exist to compare? outputFormat=mat