Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_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.643/2.643, allocations: 235 MB / 242 MB, free: 9.762 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1741/2.817, allocations: 57.23 MB / 299.2 MB, free: 424 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/3.125, allocations: 54.85 MB / 354.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2098/3.335, allocations: 91.83 MB / 445.9 MB, free: 1.445 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004253/3.336, allocations: 95.88 kB / 446 MB, free: 1.352 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.3335/3.669, allocations: 20.46 MB / 466.5 MB, free: 79.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/3.669, allocations: 8 kB / 466.5 MB, free: 79.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/3.669, allocations: 51.34 kB / 466.5 MB, free: 79.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005681/3.67, allocations: 302.8 kB / 466.8 MB, free: 79.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/3.67, allocations: 16 kB / 466.8 MB, free: 79.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.921e-05/3.67, allocations: 32 kB / 466.9 MB, free: 79.08 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001443/3.672, allocations: 0.6545 MB / 467.5 MB, free: 78.42 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/3.673, allocations: 0.6167 MB / 468.1 MB, free: 77.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/3.673, allocations: 0 / 468.1 MB, free: 77.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.161e-05/3.673, allocations: 3.984 kB / 468.1 MB, free: 77.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.09e-05/3.673, allocations: 45.28 kB / 468.2 MB, free: 77.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003724/3.677, allocations: 1.315 MB / 469.5 MB, free: 76.39 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/3.678, allocations: 0.5449 MB / 470.1 MB, free: 75.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004573/3.679, allocations: 184.7 kB / 470.2 MB, free: 75.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.773e-05/3.679, allocations: 7.984 kB / 470.2 MB, free: 75.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/3.679, allocations: 34.56 kB / 470.3 MB, free: 75.6 MB / 378.7 MB Notification: Performance of pre-optimization done (n=37): time 3.617e-06/3.679, allocations: 0 / 470.3 MB, free: 75.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=37): time 0.001341/3.68, allocations: 429.5 kB / 470.7 MB, free: 75.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/3.68, allocations: 59.41 kB / 470.8 MB, free: 75.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004125/3.681, allocations: 191.9 kB / 470.9 MB, free: 74.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.384e-05/3.681, allocations: 25.7 kB / 471 MB, free: 74.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/3.681, allocations: 248 kB / 471.2 MB, free: 74.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/3.681, allocations: 118.2 kB / 471.3 MB, free: 74.51 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.973e-05/3.681, allocations: 0 / 471.3 MB, free: 74.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/3.682, allocations: 338.8 kB / 471.7 MB, free: 74.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007199/3.682, allocations: 172.9 kB / 471.8 MB, free: 74 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008567/3.683, allocations: 320.1 kB / 472.1 MB, free: 73.63 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009471/3.684, allocations: 251.5 kB / 472.4 MB, free: 73.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/3.684, allocations: 0 / 472.4 MB, free: 73.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002227/3.687, allocations: 0.5358 MB / 472.9 MB, free: 72.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.407e-05/3.687, allocations: 4 kB / 472.9 MB, free: 72.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.263e-05/3.687, allocations: 8 kB / 472.9 MB, free: 72.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.25e-05/3.687, allocations: 11.94 kB / 472.9 MB, free: 72.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002997/3.69, allocations: 227.7 kB / 473.2 MB, free: 72.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006288/3.696, allocations: 7.407 MB / 480.6 MB, free: 64.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/3.697, allocations: 35.67 kB / 480.6 MB, free: 64.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/3.697, allocations: 23.98 kB / 480.6 MB, free: 64.85 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (55): * Single equations (assignments): 43 * 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.0003114/3.698, allocations: 137.1 kB / 480.8 MB, free: 64.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/3.698, allocations: 27.81 kB / 480.8 MB, free: 64.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003014/3.701, allocations: 0.6397 MB / 481.4 MB, free: 64.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.64e-05/3.701, allocations: 0 / 481.4 MB, free: 64.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/3.701, allocations: 7.984 kB / 481.4 MB, free: 64.03 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/3.701, allocations: 3.984 kB / 481.4 MB, free: 64.03 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/3.703, allocations: 401.7 kB / 481.8 MB, free: 63.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/3.703, allocations: 0 / 481.8 MB, free: 63.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003271/3.706, allocations: 207.8 kB / 482 MB, free: 63.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.126e-05/3.706, allocations: 4 kB / 482 MB, free: 63.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001159/3.706, allocations: 11.98 kB / 482.1 MB, free: 63.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006059/3.712, allocations: 7.395 MB / 489.4 MB, free: 55.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.928e-06/3.712, allocations: 0 / 489.4 MB, free: 55.7 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001914/3.714, allocations: 0.5307 MB / 490 MB, free: 55.15 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001901/3.716, allocations: 0.9106 MB / 490.9 MB, free: 54.22 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/3.716, allocations: 100.8 kB / 491 MB, free: 54.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000147/3.716, allocations: 7.906 kB / 491 MB, free: 54.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006717/3.717, allocations: 11.98 kB / 491 MB, free: 54.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001884/3.717, allocations: 27.72 kB / 491 MB, free: 54.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.603e-05/3.717, allocations: 19.98 kB / 491.1 MB, free: 54.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002314/3.718, allocations: 144.2 kB / 491.2 MB, free: 53.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003128/3.721, allocations: 207.3 kB / 491.4 MB, free: 53.7 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.001001/3.722, allocations: 276.2 kB / 491.7 MB, free: 53.42 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004507/3.726, allocations: 0.594 MB / 492.3 MB, free: 52.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/3.727, allocations: 4 kB / 492.3 MB, free: 52.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004067/3.731, allocations: 395.4 kB / 492.6 MB, free: 52.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006346/3.731, allocations: 27.81 kB / 492.7 MB, free: 52.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003159/3.734, allocations: 0.6947 MB / 493.4 MB, free: 51.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/3.736, allocations: 0.9593 MB / 494.3 MB, free: 50.7 MB / 378.7 MB Notification: Performance of SimCode: time 2.074e-06/3.736, allocations: 4 kB / 494.3 MB, free: 50.7 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.Channel.kc_evenGapOverall_KC_res.mat does not exist to compare? outputFormat=mat