Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",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.684/2.684, allocations: 235 MB / 242 MB, free: 9.664 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2182/2.903, allocations: 57.22 MB / 299.2 MB, free: 328 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/3.175, allocations: 54.87 MB / 354.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2346/3.41, allocations: 87.92 MB / 442 MB, free: 5.324 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004268/3.41, allocations: 95.94 kB / 442.1 MB, free: 5.23 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.2902/3.701, allocations: 12.46 MB / 454.6 MB, free: 86.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/3.701, allocations: 10.19 kB / 454.6 MB, free: 86.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002107/3.701, allocations: 49.56 kB / 454.6 MB, free: 86.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006479/3.702, allocations: 294.8 kB / 454.9 MB, free: 85.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.661e-05/3.702, allocations: 14.59 kB / 454.9 MB, free: 85.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/3.702, allocations: 29.41 kB / 455 MB, free: 85.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001273/3.703, allocations: 400.9 kB / 455.4 MB, free: 85.67 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001666/3.705, allocations: 0.5763 MB / 455.9 MB, free: 85.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.721e-05/3.705, allocations: 1.438 kB / 455.9 MB, free: 85.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.835e-05/3.705, allocations: 4.688 kB / 455.9 MB, free: 85.47 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-05/3.705, allocations: 23.77 kB / 456 MB, free: 85.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004026/3.709, allocations: 1.384 MB / 457.4 MB, free: 84.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008271/3.71, allocations: 271.5 kB / 457.6 MB, free: 84.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004078/3.71, allocations: 130.5 kB / 457.7 MB, free: 84.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.329e-05/3.71, allocations: 19.73 kB / 457.8 MB, free: 84.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/3.71, allocations: 32.45 kB / 457.8 MB, free: 84.53 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 4.398e-06/3.71, allocations: 5.375 kB / 457.8 MB, free: 84.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.001328/3.712, allocations: 298 kB / 458.1 MB, free: 84.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/3.712, allocations: 106.3 kB / 458.2 MB, free: 84.33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004091/3.712, allocations: 222 kB / 458.4 MB, free: 84.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.818e-05/3.712, allocations: 25.7 kB / 458.4 MB, free: 84.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/3.712, allocations: 234.2 kB / 458.7 MB, free: 83.97 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.501e-05/3.713, allocations: 65.62 kB / 458.7 MB, free: 83.92 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/3.713, allocations: 0 / 458.7 MB, free: 83.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.981e-05/3.713, allocations: 341 kB / 459.1 MB, free: 83.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004671/3.713, allocations: 131.4 kB / 459.2 MB, free: 83.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005373/3.714, allocations: 244.2 kB / 459.4 MB, free: 83.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005875/3.714, allocations: 177 kB / 459.6 MB, free: 83.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/3.714, allocations: 1.531 kB / 459.6 MB, free: 83.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001485/3.716, allocations: 413.6 kB / 460 MB, free: 83.28 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/3.716, allocations: 5.594 kB / 460 MB, free: 83.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001608/3.716, allocations: 39.3 kB / 460.1 MB, free: 83.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.883e-05/3.716, allocations: 5.844 kB / 460.1 MB, free: 83.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000582/3.717, allocations: 51.8 kB / 460.1 MB, free: 83.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.521e-05/3.717, allocations: 11.16 kB / 460.1 MB, free: 83.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008566/3.718, allocations: 45.19 kB / 460.2 MB, free: 83.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.58e-05/3.718, allocations: 23.05 kB / 460.2 MB, free: 83.25 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: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0001702/3.718, allocations: 121.9 kB / 460.3 MB, free: 83.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/3.718, allocations: 22.17 kB / 460.3 MB, free: 83.12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/3.72, allocations: 480 kB / 460.8 MB, free: 82.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.292e-05/3.72, allocations: 12.19 kB / 460.8 MB, free: 82.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/3.72, allocations: 1.125 kB / 460.8 MB, free: 82.97 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/3.72, allocations: 1.219 kB / 460.8 MB, free: 82.97 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/3.721, allocations: 355.8 kB / 461.2 MB, free: 82.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001413/3.721, allocations: 38.55 kB / 461.2 MB, free: 82.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004103/3.722, allocations: 34.69 kB / 461.2 MB, free: 82.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.017e-05/3.722, allocations: 2.156 kB / 461.2 MB, free: 82.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.263e-05/3.722, allocations: 10.81 kB / 461.2 MB, free: 82.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/3.722, allocations: 6.125 kB / 461.2 MB, free: 82.67 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/3.722, allocations: 1 kB / 461.3 MB, free: 82.67 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001567/3.724, allocations: 0.5681 MB / 461.8 MB, free: 82.25 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001799/3.725, allocations: 0.9495 MB / 462.8 MB, free: 81.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/3.726, allocations: 100.6 kB / 462.9 MB, free: 81.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/3.726, allocations: 1.188 kB / 462.9 MB, free: 81.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009366/3.727, allocations: 28.97 kB / 462.9 MB, free: 81.33 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002057/3.727, allocations: 19.58 kB / 462.9 MB, free: 81.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/3.727, allocations: 17.55 kB / 462.9 MB, free: 81.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0004644/3.728, allocations: 166.1 kB / 463.1 MB, free: 81.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003634/3.731, allocations: 169.5 kB / 463.3 MB, free: 81.15 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.001011/3.732, allocations: 209.4 kB / 463.5 MB, free: 81.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001886/3.734, allocations: 0.6062 MB / 464.1 MB, free: 80.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/3.734, allocations: 0 / 464.1 MB, free: 80.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000893/3.735, allocations: 456.5 kB / 464.5 MB, free: 80.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009879/3.736, allocations: 32.69 kB / 464.5 MB, free: 80.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004078/3.74, allocations: 0.6322 MB / 465.2 MB, free: 79.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008064/3.741, allocations: 0.8993 MB / 466.1 MB, free: 78.48 MB / 378.7 MB Notification: Performance of SimCode: time 1.843e-06/3.741, allocations: 0 / 466.1 MB, free: 78.48 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_laminar_res.mat does not exist to compare? outputFormat=mat