Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_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.128/2.128, allocations: 209.3 MB / 216.2 MB, free: 5.449 MB / 178.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1781/2.306, allocations: 51.06 MB / 267.3 MB, free: 2.293 MB / 226.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/2.56, allocations: 48.7 MB / 316 MB, free: 4.949 MB / 258.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3846/2.945, allocations: 86.29 MB / 402.3 MB, free: 29.96 MB / 338.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004711/2.946, allocations: 97.5 kB / 402.4 MB, free: 29.95 MB / 338.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.1065/3.052, allocations: 23.63 MB / 426 MB, free: 27.55 MB / 338.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/3.052, allocations: 15.72 kB / 426 MB, free: 27.54 MB / 338.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/3.052, allocations: 50.78 kB / 426.1 MB, free: 27.52 MB / 338.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005378/3.053, allocations: 308.8 kB / 426.4 MB, free: 27.28 MB / 338.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/3.053, allocations: 19.72 kB / 426.4 MB, free: 27.27 MB / 338.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.559e-05/3.053, allocations: 31.31 kB / 426.4 MB, free: 27.27 MB / 338.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001447/3.055, allocations: 0.7019 MB / 427.1 MB, free: 27.27 MB / 338.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/3.056, allocations: 0.6553 MB / 427.8 MB, free: 27.23 MB / 338.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/3.056, allocations: 3.906 kB / 427.8 MB, free: 27.22 MB / 338.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.467e-05/3.056, allocations: 0 / 427.8 MB, free: 27.22 MB / 338.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.671e-05/3.056, allocations: 51.67 kB / 427.9 MB, free: 27.22 MB / 338.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003679/3.06, allocations: 1.395 MB / 429.3 MB, free: 26.85 MB / 338.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/3.061, allocations: 0.5487 MB / 429.8 MB, free: 26.82 MB / 338.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004308/3.062, allocations: 179.3 kB / 430 MB, free: 26.81 MB / 338.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.587e-05/3.062, allocations: 17.05 kB / 430 MB, free: 26.8 MB / 338.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/3.062, allocations: 38.34 kB / 430 MB, free: 26.76 MB / 338.8 MB Notification: Performance of pre-optimization done (n=37): time 3.376e-06/3.062, allocations: 0 / 430 MB, free: 26.76 MB / 338.8 MB Notification: Performance of matching and sorting (n=37): time 0.00125/3.063, allocations: 439.1 kB / 430.5 MB, free: 26.71 MB / 338.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/3.063, allocations: 59.31 kB / 430.5 MB, free: 26.64 MB / 338.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003402/3.064, allocations: 259.6 kB / 430.8 MB, free: 26.53 MB / 338.8 MB Notification: Performance of collectPreVariables (initialization): time 4.263e-05/3.064, allocations: 25.7 kB / 430.8 MB, free: 26.5 MB / 338.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/3.064, allocations: 275.3 kB / 431.1 MB, free: 26.3 MB / 338.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/3.064, allocations: 130.7 kB / 431.2 MB, free: 26.21 MB / 338.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/3.064, allocations: 0 / 431.2 MB, free: 26.21 MB / 338.8 MB Notification: Performance of setup shared object (initialization): time 8.817e-05/3.064, allocations: 342.8 kB / 431.5 MB, free: 25.9 MB / 338.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005165/3.065, allocations: 201.4 kB / 431.7 MB, free: 25.9 MB / 338.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006317/3.065, allocations: 446.5 kB / 432.2 MB, free: 25.59 MB / 338.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007076/3.066, allocations: 291.7 kB / 432.4 MB, free: 25.57 MB / 338.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/3.066, allocations: 0 / 432.4 MB, free: 25.57 MB / 338.8 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001744/3.068, allocations: 0.6584 MB / 433.1 MB, free: 25.47 MB / 338.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/3.068, allocations: 7.688 kB / 433.1 MB, free: 25.47 MB / 338.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/3.068, allocations: 7.844 kB / 433.1 MB, free: 25.47 MB / 338.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.61e-05/3.068, allocations: 11.69 kB / 433.1 MB, free: 25.47 MB / 338.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002194/3.07, allocations: 256.9 kB / 433.4 MB, free: 25.46 MB / 338.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004194/3.074, allocations: 7.409 MB / 440.8 MB, free: 18.39 MB / 338.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007992/3.075, allocations: 42.91 kB / 440.8 MB, free: 18.38 MB / 338.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.371e-05/3.075, allocations: 34.91 kB / 440.9 MB, free: 18.38 MB / 338.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000246/3.076, allocations: 140.5 kB / 441 MB, free: 18.25 MB / 338.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/3.076, allocations: 31.25 kB / 441 MB, free: 18.23 MB / 338.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001993/3.078, allocations: 0.6662 MB / 441.7 MB, free: 18.11 MB / 338.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/3.078, allocations: 3.906 kB / 441.7 MB, free: 18.11 MB / 338.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/3.078, allocations: 0 / 441.7 MB, free: 18.11 MB / 338.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/3.078, allocations: 5.922 kB / 441.7 MB, free: 18.1 MB / 338.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009365/3.079, allocations: 416.2 kB / 442.1 MB, free: 17.93 MB / 338.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/3.079, allocations: 4 kB / 442.1 MB, free: 17.92 MB / 338.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001994/3.081, allocations: 217 kB / 442.3 MB, free: 17.91 MB / 338.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/3.081, allocations: 3.906 kB / 442.3 MB, free: 17.91 MB / 338.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.608e-05/3.081, allocations: 7.938 kB / 442.3 MB, free: 17.91 MB / 338.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005553/3.086, allocations: 7.402 MB / 449.7 MB, free: 26.85 MB / 354.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/3.086, allocations: 0 / 449.7 MB, free: 26.85 MB / 354.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00131/3.088, allocations: 0.5375 MB / 450.3 MB, free: 26.7 MB / 354.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001373/3.089, allocations: 0.9052 MB / 451.2 MB, free: 26.18 MB / 354.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/3.089, allocations: 105.3 kB / 451.3 MB, free: 26.06 MB / 354.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.561e-05/3.089, allocations: 4 kB / 451.3 MB, free: 26.06 MB / 354.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004692/3.09, allocations: 11.91 kB / 451.3 MB, free: 26.06 MB / 354.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/3.09, allocations: 29.75 kB / 451.3 MB, free: 26.06 MB / 354.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.765e-05/3.09, allocations: 15.27 kB / 451.3 MB, free: 26.06 MB / 354.8 MB Notification: Performance of sort global known variables: time 0.0002514/3.09, allocations: 176.5 kB / 451.5 MB, free: 25.98 MB / 354.8 MB Notification: Performance of remove unused functions: time 0.001971/3.092, allocations: 218.4 kB / 451.7 MB, free: 25.93 MB / 354.8 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 (37): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,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.0007198/3.093, allocations: 281.6 kB / 452 MB, free: 25.79 MB / 354.8 MB Notification: Performance of simCode: created initialization part: time 0.003172/3.096, allocations: 0.6618 MB / 452.7 MB, free: 25.75 MB / 354.8 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/3.096, allocations: 7.844 kB / 452.7 MB, free: 25.75 MB / 354.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002344/3.099, allocations: 394.6 kB / 453.1 MB, free: 25.73 MB / 354.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004405/3.099, allocations: 18.06 kB / 453.1 MB, free: 25.73 MB / 354.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00361/3.103, allocations: 0.728 MB / 453.8 MB, free: 25.54 MB / 354.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009392/3.104, allocations: 0.9712 MB / 454.8 MB, free: 24.83 MB / 354.8 MB Notification: Performance of SimCode: time 2.435e-06/3.104, allocations: 0 / 454.8 MB, free: 24.83 MB / 354.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_res.mat does not exist to compare? outputFormat=mat