Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_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.505/2.505, allocations: 235 MB / 242 MB, free: 9.77 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1607/2.666, allocations: 57.22 MB / 299.2 MB, free: 440 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/2.997, allocations: 54.86 MB / 354.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2066/3.204, allocations: 84.13 MB / 438.2 MB, free: 9.156 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005742/3.204, allocations: 103.9 kB / 438.3 MB, free: 9.055 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.04511/3.249, allocations: 6.693 MB / 445 MB, free: 2.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/3.249, allocations: 8 kB / 445 MB, free: 2.262 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.972e-05/3.25, allocations: 15.81 kB / 445 MB, free: 2.246 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000325/3.25, allocations: 198.8 kB / 445.2 MB, free: 2.012 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/3.25, allocations: 11.98 kB / 445.3 MB, free: 2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.983e-05/3.25, allocations: 7.906 kB / 445.3 MB, free: 1.992 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004025/3.25, allocations: 127.9 kB / 445.4 MB, free: 1.867 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004022/3.251, allocations: 153.5 kB / 445.5 MB, free: 1.711 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/3.251, allocations: 0 / 445.5 MB, free: 1.711 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/3.251, allocations: 0 / 445.5 MB, free: 1.711 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.146e-05/3.251, allocations: 12 kB / 445.5 MB, free: 1.699 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/3.252, allocations: 460.7 kB / 446 MB, free: 1.211 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006383/3.253, allocations: 138.5 kB / 446.1 MB, free: 1.066 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/3.253, allocations: 44.88 kB / 446.2 MB, free: 1.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.528e-05/3.253, allocations: 12.05 kB / 446.2 MB, free: 1.008 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/3.253, allocations: 42.75 kB / 446.2 MB, free: 0.957 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 5.09e-06/3.253, allocations: 0 / 446.2 MB, free: 0.957 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004998/3.254, allocations: 117.5 kB / 446.3 MB, free: 0.8359 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/3.254, allocations: 51.41 kB / 446.4 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/3.254, allocations: 137.2 kB / 446.5 MB, free: 0.6289 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/3.254, allocations: 25.7 kB / 446.6 MB, free: 0.5977 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.468e-05/3.254, allocations: 111.8 kB / 446.7 MB, free: 496 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.758e-05/3.254, allocations: 35.48 kB / 446.7 MB, free: 460 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.38e-05/3.254, allocations: 0 / 446.7 MB, free: 460 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/3.254, allocations: 326.7 kB / 447 MB, free: 124 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/3.255, allocations: 35.98 kB / 447.1 MB, free: 88 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/3.255, allocations: 62.47 kB / 447.1 MB, free: 16 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.161/3.416, allocations: 43.92 kB / 447.2 MB, free: 132.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/3.416, allocations: 3.781 kB / 447.2 MB, free: 132.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004588/3.416, allocations: 139.7 kB / 447.3 MB, free: 132.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/3.416, allocations: 6.5 kB / 447.3 MB, free: 132.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/3.416, allocations: 0 / 447.3 MB, free: 132.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.008e-05/3.416, allocations: 3.781 kB / 447.3 MB, free: 132.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006188/3.417, allocations: 43.75 kB / 447.4 MB, free: 132.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008185/3.418, allocations: 1.241 MB / 448.6 MB, free: 131.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/3.418, allocations: 11.03 kB / 448.6 MB, free: 131.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/3.418, allocations: 7.906 kB / 448.6 MB, free: 131.8 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001177/3.418, allocations: 112.8 kB / 448.7 MB, free: 131.6 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.376e-05/3.418, allocations: 9.906 kB / 448.7 MB, free: 131.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005204/3.419, allocations: 163.6 kB / 448.9 MB, free: 131.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/3.419, allocations: 0 / 448.9 MB, free: 131.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/3.419, allocations: 0 / 448.9 MB, free: 131.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/3.419, allocations: 3.891 kB / 448.9 MB, free: 131.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003092/3.419, allocations: 197.3 kB / 449.1 MB, free: 131.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/3.419, allocations: 0 / 449.1 MB, free: 131.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005201/3.42, allocations: 46.66 kB / 449.1 MB, free: 131.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/3.42, allocations: 2.719 kB / 449.1 MB, free: 131.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/3.42, allocations: 3.875 kB / 449.1 MB, free: 131.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000756/3.421, allocations: 1.234 MB / 450.4 MB, free: 130.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/3.421, allocations: 10.91 kB / 450.4 MB, free: 130.3 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000356/3.421, allocations: 222.3 kB / 450.6 MB, free: 130.2 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004204/3.422, allocations: 0.5864 MB / 451.2 MB, free: 129.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.347e-05/3.422, allocations: 85.58 kB / 451.3 MB, free: 129.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.439e-05/3.422, allocations: 8.75 kB / 451.3 MB, free: 129.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002541/3.422, allocations: 11.25 kB / 451.3 MB, free: 129.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.003e-05/3.422, allocations: 6.906 kB / 451.3 MB, free: 129.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/3.422, allocations: 3.375 kB / 451.3 MB, free: 129.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.683e-05/3.422, allocations: 103.3 kB / 451.4 MB, free: 129.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001467/3.424, allocations: 52.22 kB / 451.5 MB, free: 129.5 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003327/3.424, allocations: 152.6 kB / 451.6 MB, free: 129.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007331/3.425, allocations: 119.5 kB / 451.7 MB, free: 129.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/3.425, allocations: 0 / 451.7 MB, free: 129.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004905/3.425, allocations: 83.31 kB / 451.8 MB, free: 129.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/3.426, allocations: 15.16 kB / 451.8 MB, free: 129.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007576/3.426, allocations: 198.7 kB / 452 MB, free: 129.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003138/3.427, allocations: 0.7478 MB / 452.8 MB, free: 128.6 MB / 378.7 MB Notification: Performance of SimCode: time 8.92e-07/3.427, allocations: 0 / 452.8 MB, free: 128.6 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_evenGapTurbulent_KC_res.mat does not exist to compare? outputFormat=mat