Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_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.385/2.385, allocations: 235 MB / 241.9 MB, free: 9.77 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2/2.585, allocations: 57.22 MB / 299.2 MB, free: 448 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/2.882, allocations: 54.85 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.18/3.062, allocations: 87.54 MB / 441.5 MB, free: 5.77 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003793/3.063, allocations: 99.86 kB / 441.6 MB, free: 5.672 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.2884/3.351, allocations: 11.94 MB / 453.6 MB, free: 86.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.965e-05/3.351, allocations: 8.062 kB / 453.6 MB, free: 86.63 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003769/3.352, allocations: 50.06 kB / 453.6 MB, free: 86.6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/3.353, allocations: 293.2 kB / 453.9 MB, free: 86.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.933e-05/3.353, allocations: 18.09 kB / 453.9 MB, free: 86.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001804/3.353, allocations: 30.92 kB / 454 MB, free: 86.35 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002502/3.356, allocations: 0.5997 MB / 454.6 MB, free: 86.19 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00256/3.358, allocations: 0.5761 MB / 455.1 MB, free: 86.03 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.388e-05/3.358, allocations: 2.297 kB / 455.2 MB, free: 86.03 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.225e-05/3.358, allocations: 0 / 455.2 MB, free: 86.03 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.594e-05/3.359, allocations: 50.38 kB / 455.2 MB, free: 86.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004299/3.363, allocations: 1.237 MB / 456.4 MB, free: 85.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002226/3.365, allocations: 0.5499 MB / 457 MB, free: 85.42 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008533/3.366, allocations: 174 kB / 457.2 MB, free: 85.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/3.366, allocations: 15.56 kB / 457.2 MB, free: 85.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.412e-05/3.366, allocations: 40.16 kB / 457.2 MB, free: 85.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=37): time 5.981e-06/3.366, allocations: 1.219 kB / 457.2 MB, free: 85.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=37): time 0.002233/3.369, allocations: 420.3 kB / 457.6 MB, free: 85.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/3.369, allocations: 54.09 kB / 457.7 MB, free: 85.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003596/3.369, allocations: 177.8 kB / 457.9 MB, free: 85.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001182/3.369, allocations: 25.7 kB / 457.9 MB, free: 85.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000197/3.369, allocations: 223.2 kB / 458.1 MB, free: 84.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000272/3.37, allocations: 121.1 kB / 458.2 MB, free: 84.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.411e-05/3.37, allocations: 0 / 458.2 MB, free: 84.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/3.37, allocations: 334.3 kB / 458.5 MB, free: 84.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007897/3.371, allocations: 174.2 kB / 458.7 MB, free: 84.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008717/3.372, allocations: 265.7 kB / 459 MB, free: 84.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/3.373, allocations: 225.6 kB / 459.2 MB, free: 84.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/3.373, allocations: 1 kB / 459.2 MB, free: 84.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002507/3.375, allocations: 0.4938 MB / 459.7 MB, free: 84.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.233e-05/3.375, allocations: 5.812 kB / 459.7 MB, free: 84.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/3.375, allocations: 4.375 kB / 459.7 MB, free: 84.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.01e-05/3.376, allocations: 4.625 kB / 459.7 MB, free: 84.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003389/3.379, allocations: 207.6 kB / 459.9 MB, free: 84.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006228/3.385, allocations: 7.402 MB / 467.3 MB, free: 76.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009169/3.386, allocations: 32.27 kB / 467.3 MB, free: 76.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/3.386, allocations: 23.7 kB / 467.4 MB, free: 76.93 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: 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 (49): * Single equations (assignments): 37 * 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.0003299/3.387, allocations: 122.2 kB / 467.5 MB, free: 76.81 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001877/3.387, allocations: 22.75 kB / 467.5 MB, free: 76.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003181/3.39, allocations: 0.6337 MB / 468.1 MB, free: 76.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.116e-05/3.39, allocations: 8.344 kB / 468.1 MB, free: 76.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/3.39, allocations: 0 / 468.1 MB, free: 76.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/3.39, allocations: 0 / 468.1 MB, free: 76.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/3.392, allocations: 386.4 kB / 468.5 MB, free: 76.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-05/3.392, allocations: 3.906 kB / 468.5 MB, free: 76.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003203/3.395, allocations: 214 kB / 468.7 MB, free: 76.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.519e-05/3.395, allocations: 0 / 468.7 MB, free: 76.03 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001451/3.395, allocations: 11.98 kB / 468.7 MB, free: 76.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005662/3.401, allocations: 7.384 MB / 476.1 MB, free: 68.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.289e-05/3.401, allocations: 3.938 kB / 476.1 MB, free: 68.35 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00177/3.403, allocations: 0.5232 MB / 476.7 MB, free: 67.81 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001792/3.405, allocations: 0.9044 MB / 477.6 MB, free: 66.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/3.405, allocations: 100.8 kB / 477.7 MB, free: 66.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/3.405, allocations: 0 / 477.7 MB, free: 66.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006647/3.406, allocations: 15.98 kB / 477.7 MB, free: 66.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001727/3.406, allocations: 31.7 kB / 477.7 MB, free: 66.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.938e-05/3.406, allocations: 11.98 kB / 477.7 MB, free: 66.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002589/3.406, allocations: 132.3 kB / 477.8 MB, free: 66.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002806/3.409, allocations: 159.4 kB / 478 MB, free: 66.43 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.0007371/3.41, allocations: 179.1 kB / 478.2 MB, free: 66.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004596/3.414, allocations: 0.5741 MB / 478.7 MB, free: 65.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/3.415, allocations: 0 / 478.7 MB, free: 65.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003678/3.418, allocations: 383.6 kB / 479.1 MB, free: 65.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006734/3.419, allocations: 12.94 kB / 479.1 MB, free: 65.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00323/3.422, allocations: 0.6634 MB / 479.8 MB, free: 64.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009232/3.423, allocations: 0.9432 MB / 480.7 MB, free: 63.64 MB / 378.7 MB Notification: Performance of SimCode: time 1.994e-06/3.423, allocations: 0 / 480.7 MB, free: 63.64 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat