Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_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.791/2.791, allocations: 235 MB / 242 MB, free: 9.762 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1719/2.963, allocations: 57.22 MB / 299.2 MB, free: 428 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/3.27, allocations: 54.86 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.196/3.466, allocations: 87.55 MB / 441.6 MB, free: 5.703 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005302/3.466, allocations: 91.94 kB / 441.7 MB, free: 5.613 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.3281/3.795, allocations: 14.26 MB / 456 MB, free: 86.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/3.795, allocations: 8.656 kB / 456 MB, free: 86.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001851/3.795, allocations: 53.36 kB / 456.1 MB, free: 86.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006935/3.796, allocations: 298.7 kB / 456.3 MB, free: 86.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.713e-05/3.796, allocations: 15.75 kB / 456.4 MB, free: 86.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/3.796, allocations: 29.38 kB / 456.4 MB, free: 86.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001809/3.798, allocations: 0.6462 MB / 457 MB, free: 86.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/3.799, allocations: 0.6199 MB / 457.7 MB, free: 86.04 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/3.799, allocations: 5.125 kB / 457.7 MB, free: 86.04 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.342e-05/3.8, allocations: 0.6094 kB / 457.7 MB, free: 86.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.481e-05/3.8, allocations: 47.8 kB / 457.7 MB, free: 86.03 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004204/3.804, allocations: 1.319 MB / 459 MB, free: 85.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/3.806, allocations: 0.55 MB / 459.6 MB, free: 85.08 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005616/3.806, allocations: 176.8 kB / 459.7 MB, free: 85.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.647e-05/3.806, allocations: 13.2 kB / 459.8 MB, free: 85.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/3.806, allocations: 36.38 kB / 459.8 MB, free: 84.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=37): time 3.817e-06/3.806, allocations: 0 / 459.8 MB, free: 84.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=37): time 0.001794/3.808, allocations: 429.1 kB / 460.2 MB, free: 84.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/3.808, allocations: 55.28 kB / 460.3 MB, free: 84.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003236/3.809, allocations: 171.8 kB / 460.4 MB, free: 84.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.017e-05/3.809, allocations: 30.2 kB / 460.5 MB, free: 84.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/3.809, allocations: 237.5 kB / 460.7 MB, free: 84.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/3.809, allocations: 134.3 kB / 460.8 MB, free: 84.24 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/3.809, allocations: 0 / 460.8 MB, free: 84.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/3.809, allocations: 333.3 kB / 461.2 MB, free: 83.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005725/3.81, allocations: 171.8 kB / 461.3 MB, free: 83.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007315/3.81, allocations: 268.8 kB / 461.6 MB, free: 83.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006412/3.811, allocations: 229.9 kB / 461.8 MB, free: 83.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/3.811, allocations: 0 / 461.8 MB, free: 83.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001558/3.813, allocations: 0.5009 MB / 462.3 MB, free: 82.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/3.813, allocations: 4 kB / 462.3 MB, free: 82.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/3.813, allocations: 4 kB / 462.3 MB, free: 82.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.97e-05/3.813, allocations: 4 kB / 462.3 MB, free: 82.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002503/3.815, allocations: 211.7 kB / 462.5 MB, free: 82.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004729/3.82, allocations: 7.419 MB / 469.9 MB, free: 75.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007384/3.821, allocations: 27.77 kB / 470 MB, free: 75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.404e-05/3.821, allocations: 23.98 kB / 470 MB, free: 74.98 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.000236/3.821, allocations: 112.9 kB / 470.1 MB, free: 74.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/3.821, allocations: 23.72 kB / 470.1 MB, free: 74.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002139/3.824, allocations: 0.6458 MB / 470.8 MB, free: 74.19 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/3.824, allocations: 4 kB / 470.8 MB, free: 74.19 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/3.824, allocations: 0 / 470.8 MB, free: 74.19 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/3.824, allocations: 7.984 kB / 470.8 MB, free: 74.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/3.825, allocations: 409.4 kB / 471.2 MB, free: 73.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/3.825, allocations: 4 kB / 471.2 MB, free: 73.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002609/3.827, allocations: 211.8 kB / 471.4 MB, free: 73.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.568e-05/3.827, allocations: 4 kB / 471.4 MB, free: 73.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000122/3.828, allocations: 7.984 kB / 471.4 MB, free: 73.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006589/3.834, allocations: 7.403 MB / 478.8 MB, free: 65.85 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.138e-05/3.834, allocations: 3.984 kB / 478.8 MB, free: 65.84 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001952/3.836, allocations: 0.5309 MB / 479.3 MB, free: 65.3 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002086/3.838, allocations: 0.9027 MB / 480.3 MB, free: 64.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/3.839, allocations: 100.8 kB / 480.3 MB, free: 64.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/3.839, allocations: 3.938 kB / 480.4 MB, free: 64.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007853/3.84, allocations: 15.98 kB / 480.4 MB, free: 64.24 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002109/3.84, allocations: 31.7 kB / 480.4 MB, free: 64.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/3.84, allocations: 19.92 kB / 480.4 MB, free: 64.19 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002324/3.84, allocations: 132.1 kB / 480.5 MB, free: 64.06 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003417/3.844, allocations: 163.3 kB / 480.7 MB, free: 63.9 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.0007774/3.844, allocations: 194.8 kB / 480.9 MB, free: 63.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004896/3.849, allocations: 0.578 MB / 481.5 MB, free: 63.13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/3.849, allocations: 0 / 481.5 MB, free: 63.13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003235/3.853, allocations: 391.5 kB / 481.9 MB, free: 62.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004832/3.853, allocations: 23.95 kB / 481.9 MB, free: 62.72 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002562/3.856, allocations: 0.6909 MB / 482.6 MB, free: 62.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007667/3.857, allocations: 0.9593 MB / 483.5 MB, free: 61.02 MB / 378.7 MB Notification: Performance of SimCode: time 1.573e-06/3.857, allocations: 0 / 483.5 MB, free: 61.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.Channel.kc_evenGapLaminar_KC_res.mat does not exist to compare? outputFormat=mat