Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_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.571/2.571, allocations: 235.1 MB / 242 MB, free: 9.75 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2379/2.809, allocations: 57.22 MB / 299.2 MB, free: 412 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/3.095, allocations: 54.85 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.192/3.287, allocations: 92.71 MB / 446.8 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004169/3.287, allocations: 99.86 kB / 446.9 MB, free: 448 kB / 378.7 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.3606/3.648, allocations: 23.63 MB / 470.5 MB, free: 75.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/3.648, allocations: 8 kB / 470.6 MB, free: 75.53 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000216/3.648, allocations: 59.25 kB / 470.6 MB, free: 75.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006073/3.649, allocations: 310.3 kB / 470.9 MB, free: 75.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/3.649, allocations: 20 kB / 470.9 MB, free: 75.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/3.649, allocations: 28 kB / 471 MB, free: 75.08 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001596/3.651, allocations: 0.7014 MB / 471.7 MB, free: 74.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001577/3.652, allocations: 0.6519 MB / 472.3 MB, free: 73.72 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/3.652, allocations: 0 / 472.3 MB, free: 73.72 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.381e-05/3.652, allocations: 7.984 kB / 472.3 MB, free: 73.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.377e-05/3.653, allocations: 53.28 kB / 472.4 MB, free: 73.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003965/3.657, allocations: 1.397 MB / 473.8 MB, free: 72.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/3.658, allocations: 0.5453 MB / 474.3 MB, free: 71.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004769/3.659, allocations: 172.7 kB / 474.5 MB, free: 71.49 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.999e-05/3.659, allocations: 19.97 kB / 474.5 MB, free: 71.47 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/3.659, allocations: 38.56 kB / 474.5 MB, free: 71.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=37): time 3.697e-06/3.659, allocations: 0 / 474.5 MB, free: 71.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=37): time 0.00138/3.66, allocations: 437.3 kB / 475 MB, free: 70.99 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/3.66, allocations: 59.39 kB / 475 MB, free: 70.92 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003609/3.66, allocations: 252.7 kB / 475.3 MB, free: 70.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.33e-05/3.661, allocations: 29.7 kB / 475.3 MB, free: 70.63 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/3.661, allocations: 275.5 kB / 475.6 MB, free: 70.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000123/3.661, allocations: 126.2 kB / 475.7 MB, free: 70.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.74e-05/3.661, allocations: 4 kB / 475.7 MB, free: 70.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.734e-05/3.661, allocations: 346.7 kB / 476 MB, free: 69.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000556/3.662, allocations: 201.2 kB / 476.2 MB, free: 69.69 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007176/3.662, allocations: 460.9 kB / 476.7 MB, free: 69.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007431/3.663, allocations: 279.4 kB / 477 MB, free: 68.85 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/3.663, allocations: 8 kB / 477 MB, free: 68.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001882/3.665, allocations: 0.6527 MB / 477.6 MB, free: 68.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/3.665, allocations: 4 kB / 477.6 MB, free: 68.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/3.665, allocations: 8 kB / 477.6 MB, free: 68.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.605e-05/3.665, allocations: 12 kB / 477.6 MB, free: 68.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002473/3.668, allocations: 264.3 kB / 477.9 MB, free: 67.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004352/3.672, allocations: 7.399 MB / 485.3 MB, free: 60.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008369/3.673, allocations: 39.77 kB / 485.3 MB, free: 60.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.313e-05/3.673, allocations: 39.98 kB / 485.4 MB, free: 60.14 MB / 378.7 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.0002395/3.673, allocations: 151.8 kB / 485.5 MB, free: 59.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/3.673, allocations: 31.62 kB / 485.6 MB, free: 59.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002186/3.676, allocations: 0.6749 MB / 486.2 MB, free: 59.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/3.676, allocations: 4 kB / 486.2 MB, free: 59.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/3.676, allocations: 0 / 486.2 MB, free: 59.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/3.676, allocations: 3.984 kB / 486.2 MB, free: 59.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008982/3.677, allocations: 409.7 kB / 486.6 MB, free: 58.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/3.677, allocations: 0 / 486.6 MB, free: 58.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002238/3.679, allocations: 207.8 kB / 486.8 MB, free: 58.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.227e-05/3.679, allocations: 0 / 486.8 MB, free: 58.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.428e-05/3.679, allocations: 19.98 kB / 486.9 MB, free: 58.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004511/3.683, allocations: 7.384 MB / 494.2 MB, free: 50.94 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/3.684, allocations: 4.031 kB / 494.2 MB, free: 50.94 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001395/3.685, allocations: 0.535 MB / 494.8 MB, free: 50.39 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001367/3.686, allocations: 0.9177 MB / 495.7 MB, free: 49.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/3.686, allocations: 112.7 kB / 495.8 MB, free: 49.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/3.687, allocations: 0 / 495.8 MB, free: 49.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005571/3.687, allocations: 11.98 kB / 495.8 MB, free: 49.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/3.687, allocations: 27.91 kB / 495.9 MB, free: 49.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.765e-05/3.687, allocations: 19.98 kB / 495.9 MB, free: 49.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002483/3.688, allocations: 177.2 kB / 496 MB, free: 49.08 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002315/3.69, allocations: 219.3 kB / 496.3 MB, free: 48.87 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 (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.0007424/3.691, allocations: 280.2 kB / 496.5 MB, free: 48.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003571/3.694, allocations: 0.6574 MB / 497.2 MB, free: 47.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/3.694, allocations: 0 / 497.2 MB, free: 47.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002727/3.697, allocations: 392.5 kB / 497.6 MB, free: 47.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004914/3.698, allocations: 34.02 kB / 497.6 MB, free: 47.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002616/3.7, allocations: 0.7275 MB / 498.3 MB, free: 46.76 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007576/3.701, allocations: 0.9712 MB / 499.3 MB, free: 45.76 MB / 378.7 MB Notification: Performance of SimCode: time 1.202e-06/3.701, allocations: 0 / 499.3 MB, free: 45.76 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_overall_KC_res.mat does not exist to compare? outputFormat=mat