Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_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.275/2.275, allocations: 235 MB / 241.9 MB, free: 9.777 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1907/2.466, allocations: 57.24 MB / 299.2 MB, free: 440 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/2.751, allocations: 54.84 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1742/2.925, allocations: 84.13 MB / 438.1 MB, free: 9.176 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004068/2.926, allocations: 99.86 kB / 438.2 MB, free: 9.078 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.03484/2.961, allocations: 6.697 MB / 444.9 MB, free: 2.289 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/2.961, allocations: 12 kB / 444.9 MB, free: 2.277 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.959e-05/2.961, allocations: 19.73 kB / 445 MB, free: 2.258 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000414/2.961, allocations: 202.9 kB / 445.1 MB, free: 2.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/2.961, allocations: 0 / 445.1 MB, free: 2.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-05/2.961, allocations: 11.91 kB / 445.2 MB, free: 2.008 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004976/2.962, allocations: 127.9 kB / 445.3 MB, free: 1.883 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003866/2.962, allocations: 149.5 kB / 445.4 MB, free: 1.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/2.962, allocations: 0 / 445.4 MB, free: 1.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/2.962, allocations: 0 / 445.4 MB, free: 1.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.011e-05/2.962, allocations: 12 kB / 445.4 MB, free: 1.719 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/2.964, allocations: 452.8 kB / 445.9 MB, free: 1.238 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005871/2.964, allocations: 154.4 kB / 446 MB, free: 1.078 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/2.964, allocations: 44.94 kB / 446.1 MB, free: 1.031 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.427e-05/2.964, allocations: 7.922 kB / 446.1 MB, free: 1.023 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/2.964, allocations: 34.56 kB / 446.1 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 3.086e-06/2.964, allocations: 0 / 446.1 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.000446/2.965, allocations: 129.6 kB / 446.2 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/2.965, allocations: 51.41 kB / 446.3 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/2.965, allocations: 136.6 kB / 446.4 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/2.965, allocations: 25.7 kB / 446.5 MB, free: 0.6133 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.362e-05/2.965, allocations: 115.8 kB / 446.6 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.736e-05/2.965, allocations: 27.55 kB / 446.6 MB, free: 480 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.122e-05/2.965, allocations: 0 / 446.6 MB, free: 480 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/2.966, allocations: 326.7 kB / 446.9 MB, free: 144 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/2.966, allocations: 35.98 kB / 447 MB, free: 108 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/2.966, allocations: 66.47 kB / 447 MB, free: 32 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1642/3.13, allocations: 49.77 kB / 447.1 MB, free: 132.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/3.13, allocations: 0 / 447.1 MB, free: 132.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004261/3.131, allocations: 133.6 kB / 447.2 MB, free: 132.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/3.131, allocations: 10.62 kB / 447.2 MB, free: 132.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/3.131, allocations: 0 / 447.2 MB, free: 132.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/3.131, allocations: 0 / 447.2 MB, free: 132.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005835/3.131, allocations: 52.5 kB / 447.3 MB, free: 132.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007429/3.132, allocations: 1.237 MB / 448.5 MB, free: 131.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/3.132, allocations: 13.78 kB / 448.5 MB, free: 131.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/3.132, allocations: 10 kB / 448.5 MB, free: 131.7 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.0001039/3.132, allocations: 106.8 kB / 448.6 MB, free: 131.6 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.943e-05/3.132, allocations: 14.34 kB / 448.6 MB, free: 131.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004497/3.133, allocations: 163.1 kB / 448.8 MB, free: 131.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/3.133, allocations: 7.266 kB / 448.8 MB, free: 131.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/3.133, allocations: 0 / 448.8 MB, free: 131.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/3.133, allocations: 3.906 kB / 448.8 MB, free: 131.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/3.133, allocations: 192 kB / 449 MB, free: 131.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/3.133, allocations: 4.094 kB / 449 MB, free: 131.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004565/3.134, allocations: 48.7 kB / 449 MB, free: 131.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/3.134, allocations: 0 / 449 MB, free: 131.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/3.134, allocations: 7.438 kB / 449.1 MB, free: 131.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006689/3.134, allocations: 1.228 MB / 450.3 MB, free: 130.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/3.134, allocations: 0 / 450.3 MB, free: 130.2 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003418/3.135, allocations: 234.2 kB / 450.5 MB, free: 130.1 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003664/3.135, allocations: 0.5819 MB / 451.1 MB, free: 129.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.775e-05/3.135, allocations: 88.08 kB / 451.2 MB, free: 129.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.856e-05/3.135, allocations: 7.703 kB / 451.2 MB, free: 129.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/3.136, allocations: 9 kB / 451.2 MB, free: 129.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.864e-05/3.136, allocations: 10.34 kB / 451.2 MB, free: 129.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/3.136, allocations: 3.688 kB / 451.2 MB, free: 129.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.224e-05/3.136, allocations: 107 kB / 451.3 MB, free: 129.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001575/3.137, allocations: 54.11 kB / 451.4 MB, free: 129.4 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.0004308/3.138, allocations: 146.2 kB / 451.5 MB, free: 129.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006622/3.138, allocations: 123.5 kB / 451.6 MB, free: 129.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/3.138, allocations: 0 / 451.6 MB, free: 129.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004653/3.139, allocations: 77.84 kB / 451.7 MB, free: 129.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/3.139, allocations: 18.25 kB / 451.7 MB, free: 129.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006605/3.14, allocations: 204.5 kB / 451.9 MB, free: 129.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003025/3.14, allocations: 0.7428 MB / 452.7 MB, free: 128.5 MB / 378.7 MB Notification: Performance of SimCode: time 7.91e-07/3.14, allocations: 0 / 452.7 MB, free: 128.5 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat does not exist to compare? outputFormat=mat