Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_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.333/2.333, allocations: 235 MB / 241.9 MB, free: 9.762 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1903/2.524, allocations: 57.23 MB / 299.2 MB, free: 432 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/2.821, allocations: 54.83 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2395/3.06, allocations: 91.82 MB / 445.8 MB, free: 1.488 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000493/3.061, allocations: 95.88 kB / 445.9 MB, free: 1.395 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.3342/3.395, allocations: 20.47 MB / 466.4 MB, free: 78.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/3.395, allocations: 15.98 kB / 466.4 MB, free: 78.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/3.395, allocations: 51.34 kB / 466.4 MB, free: 78.9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005356/3.396, allocations: 301 kB / 466.7 MB, free: 78.56 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/3.396, allocations: 16 kB / 466.7 MB, free: 78.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.182e-05/3.396, allocations: 32 kB / 466.8 MB, free: 78.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001368/3.397, allocations: 0.6466 MB / 467.4 MB, free: 77.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/3.399, allocations: 0.6168 MB / 468 MB, free: 77.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/3.399, allocations: 3.938 kB / 468 MB, free: 77.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.355e-05/3.399, allocations: 0 / 468 MB, free: 77.24 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.237e-05/3.399, allocations: 53.27 kB / 468.1 MB, free: 77.19 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003264/3.402, allocations: 1.312 MB / 469.4 MB, free: 75.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/3.403, allocations: 0.5489 MB / 470 MB, free: 75.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004121/3.404, allocations: 176.7 kB / 470.1 MB, free: 75.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.918e-05/3.404, allocations: 10.95 kB / 470.1 MB, free: 75.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/3.404, allocations: 38.56 kB / 470.2 MB, free: 75.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=37): time 3.206e-06/3.404, allocations: 0 / 470.2 MB, free: 75.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=37): time 0.00193/3.406, allocations: 429.5 kB / 470.6 MB, free: 74.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/3.406, allocations: 55.41 kB / 470.6 MB, free: 74.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004075/3.406, allocations: 191.8 kB / 470.8 MB, free: 74.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.365e-05/3.406, allocations: 33.69 kB / 470.9 MB, free: 74.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/3.407, allocations: 240 kB / 471.1 MB, free: 74.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001954/3.407, allocations: 122.2 kB / 471.2 MB, free: 73.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-05/3.407, allocations: 0 / 471.2 MB, free: 73.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/3.407, allocations: 338.8 kB / 471.6 MB, free: 73.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006437/3.408, allocations: 176.9 kB / 471.7 MB, free: 73.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009152/3.409, allocations: 316.1 kB / 472 MB, free: 73.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/3.41, allocations: 247.5 kB / 472.3 MB, free: 72.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/3.41, allocations: 7.844 kB / 472.3 MB, free: 72.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002461/3.412, allocations: 0.5361 MB / 472.8 MB, free: 72.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/3.412, allocations: 8.094 kB / 472.8 MB, free: 72.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/3.412, allocations: 4 kB / 472.8 MB, free: 72.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.776e-05/3.413, allocations: 8 kB / 472.8 MB, free: 72.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003345/3.416, allocations: 227.7 kB / 473.1 MB, free: 72.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005695/3.422, allocations: 7.403 MB / 480.5 MB, free: 64.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009684/3.423, allocations: 31.67 kB / 480.5 MB, free: 64.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002497/3.423, allocations: 27.98 kB / 480.5 MB, free: 64.32 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.0006084/3.424, allocations: 133 kB / 480.7 MB, free: 64.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/3.424, allocations: 23.72 kB / 480.7 MB, free: 64.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002411/3.426, allocations: 0.6398 MB / 481.3 MB, free: 63.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/3.426, allocations: 4 kB / 481.3 MB, free: 63.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/3.426, allocations: 4 kB / 481.3 MB, free: 63.51 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/3.426, allocations: 3.984 kB / 481.3 MB, free: 63.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008091/3.427, allocations: 406.2 kB / 481.7 MB, free: 63.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/3.427, allocations: 0 / 481.7 MB, free: 63.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001955/3.429, allocations: 211.8 kB / 481.9 MB, free: 62.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.084e-05/3.429, allocations: 0 / 481.9 MB, free: 62.87 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.248e-05/3.429, allocations: 8 kB / 481.9 MB, free: 62.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004065/3.433, allocations: 7.403 MB / 489.3 MB, free: 55.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/3.433, allocations: 4.031 kB / 489.3 MB, free: 55.18 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001209/3.435, allocations: 0.5268 MB / 489.9 MB, free: 54.63 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001216/3.436, allocations: 0.9106 MB / 490.8 MB, free: 53.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.261e-05/3.436, allocations: 100.8 kB / 490.9 MB, free: 53.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.231e-05/3.436, allocations: 3.906 kB / 490.9 MB, free: 53.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004712/3.437, allocations: 11.98 kB / 490.9 MB, free: 53.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/3.437, allocations: 31.7 kB / 490.9 MB, free: 53.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.77e-05/3.437, allocations: 19.98 kB / 490.9 MB, free: 53.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001637/3.437, allocations: 144.2 kB / 491.1 MB, free: 53.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001962/3.439, allocations: 211.3 kB / 491.3 MB, free: 53.17 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.0006891/3.44, allocations: 266.9 kB / 491.6 MB, free: 52.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003021/3.443, allocations: 0.6017 MB / 492.2 MB, free: 52.31 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/3.443, allocations: 0 / 492.2 MB, free: 52.31 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002406/3.445, allocations: 391.5 kB / 492.5 MB, free: 51.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005621/3.446, allocations: 19.98 kB / 492.6 MB, free: 51.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002406/3.448, allocations: 0.7004 MB / 493.3 MB, free: 51.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006231/3.449, allocations: 0.9594 MB / 494.2 MB, free: 50.2 MB / 378.7 MB Notification: Performance of SimCode: time 1.814e-06/3.449, allocations: 4 kB / 494.2 MB, free: 50.2 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_evenGapOverall_KC_res.mat does not exist to compare? outputFormat=mat