Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_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.558/2.558, allocations: 235 MB / 242 MB, free: 9.762 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1665/2.725, allocations: 57.22 MB / 299.2 MB, free: 432 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/3.05, allocations: 54.86 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1849/3.235, allocations: 85.78 MB / 439.9 MB, free: 7.484 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004508/3.236, allocations: 99.86 kB / 440 MB, free: 7.387 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.285/3.521, allocations: 10.08 MB / 450.1 MB, free: 87.1 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/3.521, allocations: 7.125 kB / 450.1 MB, free: 87.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/3.521, allocations: 30.97 kB / 450.1 MB, free: 87.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004166/3.521, allocations: 241.2 kB / 450.3 MB, free: 86.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/3.522, allocations: 9.719 kB / 450.3 MB, free: 86.87 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.335e-05/3.522, allocations: 16.62 kB / 450.4 MB, free: 86.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008861/3.523, allocations: 356.9 kB / 450.7 MB, free: 86.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008386/3.523, allocations: 345.3 kB / 451 MB, free: 86.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/3.523, allocations: 0 / 451 MB, free: 86.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.609e-05/3.523, allocations: 0 / 451 MB, free: 86.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.126e-05/3.524, allocations: 25.66 kB / 451.1 MB, free: 86.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00236/3.526, allocations: 0.803 MB / 451.9 MB, free: 86.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009813/3.527, allocations: 331.8 kB / 452.2 MB, free: 86.51 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003346/3.527, allocations: 107.1 kB / 452.3 MB, free: 86.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.321e-05/3.527, allocations: 8.016 kB / 452.3 MB, free: 86.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/3.527, allocations: 41.31 kB / 452.4 MB, free: 86.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=19): time 2.926e-06/3.527, allocations: 0 / 452.4 MB, free: 86.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.0009399/3.528, allocations: 257.3 kB / 452.6 MB, free: 86.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/3.528, allocations: 54.81 kB / 452.7 MB, free: 86.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002206/3.529, allocations: 157.5 kB / 452.8 MB, free: 86.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/3.529, allocations: 26.45 kB / 452.8 MB, free: 86.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.779e-05/3.529, allocations: 162.7 kB / 453 MB, free: 86.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.376e-05/3.529, allocations: 66.41 kB / 453.1 MB, free: 86.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.68e-05/3.529, allocations: 0 / 453.1 MB, free: 86.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.633e-05/3.529, allocations: 328.9 kB / 453.4 MB, free: 85.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000353/3.529, allocations: 98.73 kB / 453.5 MB, free: 85.74 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004493/3.53, allocations: 160.2 kB / 453.6 MB, free: 85.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004149/3.53, allocations: 132.1 kB / 453.8 MB, free: 85.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/3.53, allocations: 1.875 kB / 453.8 MB, free: 85.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001019/3.531, allocations: 301.9 kB / 454.1 MB, free: 85.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/3.531, allocations: 8.531 kB / 454.1 MB, free: 85.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/3.531, allocations: 6.031 kB / 454.1 MB, free: 85.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/3.531, allocations: 2.938 kB / 454.1 MB, free: 85.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/3.533, allocations: 115.7 kB / 454.2 MB, free: 85.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002631/3.536, allocations: 3.767 MB / 458 MB, free: 82.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004391/3.536, allocations: 23.86 kB / 458 MB, free: 82.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.115e-05/3.536, allocations: 11.55 kB / 458 MB, free: 82.01 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].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 (25): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001724/3.536, allocations: 118.3 kB / 458.1 MB, free: 81.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.205e-05/3.536, allocations: 14.47 kB / 458.1 MB, free: 81.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/3.538, allocations: 393.8 kB / 458.5 MB, free: 81.78 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/3.538, allocations: 1.906 kB / 458.5 MB, free: 81.78 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/3.538, allocations: 0 / 458.5 MB, free: 81.78 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/3.538, allocations: 5 kB / 458.5 MB, free: 81.78 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006105/3.538, allocations: 288 kB / 458.8 MB, free: 81.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/3.539, allocations: 0 / 458.8 MB, free: 81.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/3.54, allocations: 119 kB / 458.9 MB, free: 81.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/3.54, allocations: 1.188 kB / 458.9 MB, free: 81.58 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.653e-05/3.54, allocations: 2.625 kB / 458.9 MB, free: 81.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002654/3.543, allocations: 3.763 MB / 462.7 MB, free: 78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.635e-06/3.543, allocations: 0.6562 kB / 462.7 MB, free: 78 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009716/3.544, allocations: 371.1 kB / 463 MB, free: 77.82 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00101/3.545, allocations: 0.7374 MB / 463.8 MB, free: 77.28 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.341e-05/3.545, allocations: 89.91 kB / 463.9 MB, free: 77.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.986e-05/3.545, allocations: 0.5625 kB / 463.9 MB, free: 77.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003936/3.545, allocations: 14.67 kB / 463.9 MB, free: 77.17 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.972e-05/3.545, allocations: 20.28 kB / 463.9 MB, free: 77.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.213e-05/3.545, allocations: 7.672 kB / 463.9 MB, free: 77.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001717/3.546, allocations: 122 kB / 464 MB, free: 77.08 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001738/3.547, allocations: 94.75 kB / 464.1 MB, free: 77.05 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 (19): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004424/3.548, allocations: 172.5 kB / 464.3 MB, free: 76.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002248/3.55, allocations: 336.3 kB / 464.6 MB, free: 76.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/3.55, allocations: 4.031 kB / 464.6 MB, free: 76.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001693/3.552, allocations: 210.9 kB / 464.8 MB, free: 76.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/3.552, allocations: 14.67 kB / 464.8 MB, free: 76.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/3.554, allocations: 417.4 kB / 465.2 MB, free: 76.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006151/3.555, allocations: 0.8362 MB / 466.1 MB, free: 76.02 MB / 378.7 MB Notification: Performance of SimCode: time 1.533e-06/3.555, allocations: 0 / 466.1 MB, free: 76.02 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.General.kc_approxForcedConvection_KC_res.mat does not exist to compare? outputFormat=mat