Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",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.482/2.482, allocations: 235.1 MB / 242 MB, free: 9.742 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1864/2.669, allocations: 57.21 MB / 299.2 MB, free: 416 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/2.996, allocations: 54.85 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2186/3.215, allocations: 92.36 MB / 446.5 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000607/3.215, allocations: 91.88 kB / 446.5 MB, free: 0.8008 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.3648/3.58, allocations: 21.53 MB / 468.1 MB, free: 77.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/3.58, allocations: 8 kB / 468.1 MB, free: 77.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/3.58, allocations: 51.34 kB / 468.1 MB, free: 77.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005934/3.581, allocations: 297.1 kB / 468.4 MB, free: 77.51 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.07e-05/3.581, allocations: 23.91 kB / 468.4 MB, free: 77.49 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.963e-05/3.581, allocations: 28 kB / 468.5 MB, free: 77.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001136/3.582, allocations: 422.1 kB / 468.9 MB, free: 77.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/3.584, allocations: 0.6083 MB / 469.5 MB, free: 76.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/3.584, allocations: 0 / 469.5 MB, free: 76.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.111e-05/3.584, allocations: 0 / 469.5 MB, free: 76.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-05/3.584, allocations: 24.94 kB / 469.5 MB, free: 76.4 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003647/3.588, allocations: 1.352 MB / 470.9 MB, free: 75.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007537/3.588, allocations: 293.3 kB / 471.2 MB, free: 74.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003878/3.589, allocations: 132.4 kB / 471.3 MB, free: 74.56 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-05/3.589, allocations: 22.86 kB / 471.3 MB, free: 74.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/3.589, allocations: 42.42 kB / 471.4 MB, free: 74.49 MB / 378.7 MB Notification: Performance of pre-optimization done (n=23): time 3.727e-06/3.589, allocations: 0 / 471.4 MB, free: 74.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.001197/3.59, allocations: 311.6 kB / 471.7 MB, free: 74.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/3.59, allocations: 106.8 kB / 471.8 MB, free: 74.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000282/3.59, allocations: 198.9 kB / 472 MB, free: 73.85 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.802e-05/3.59, allocations: 29.77 kB / 472 MB, free: 73.81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/3.591, allocations: 239.5 kB / 472.2 MB, free: 73.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.872e-05/3.591, allocations: 78.84 kB / 472.3 MB, free: 73.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/3.591, allocations: 0 / 472.3 MB, free: 73.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.342e-05/3.591, allocations: 330.8 kB / 472.6 MB, free: 73.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003953/3.591, allocations: 123.9 kB / 472.7 MB, free: 73.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004568/3.592, allocations: 224.8 kB / 473 MB, free: 72.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004773/3.592, allocations: 157.3 kB / 473.1 MB, free: 72.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/3.592, allocations: 4 kB / 473.1 MB, free: 72.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001275/3.594, allocations: 414.1 kB / 473.5 MB, free: 72.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/3.594, allocations: 4 kB / 473.5 MB, free: 72.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001496/3.594, allocations: 35.97 kB / 473.6 MB, free: 72.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.75e-05/3.594, allocations: 8 kB / 473.6 MB, free: 72.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004463/3.594, allocations: 48.27 kB / 473.6 MB, free: 72.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/3.594, allocations: 4 kB / 473.6 MB, free: 72.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004829/3.595, allocations: 39.88 kB / 473.7 MB, free: 72.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.042e-05/3.595, allocations: 20 kB / 473.7 MB, free: 72.05 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (30): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001533/3.595, allocations: 116.8 kB / 473.8 MB, free: 71.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/3.595, allocations: 27.7 kB / 473.8 MB, free: 71.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001708/3.597, allocations: 495.6 kB / 474.3 MB, free: 71.42 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/3.597, allocations: 8 kB / 474.3 MB, free: 71.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/3.597, allocations: 7.906 kB / 474.3 MB, free: 71.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/3.597, allocations: 4 kB / 474.3 MB, free: 71.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009271/3.598, allocations: 360.9 kB / 474.7 MB, free: 71.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001427/3.598, allocations: 35.97 kB / 474.7 MB, free: 70.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003775/3.598, allocations: 43.91 kB / 474.8 MB, free: 70.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.076e-05/3.598, allocations: 4 kB / 474.8 MB, free: 70.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.044e-05/3.599, allocations: 11.98 kB / 474.8 MB, free: 70.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/3.599, allocations: 0 / 474.8 MB, free: 70.92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/3.599, allocations: 0 / 474.8 MB, free: 70.92 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001128/3.6, allocations: 0.5858 MB / 475.4 MB, free: 70.3 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001209/3.601, allocations: 0.9668 MB / 476.3 MB, free: 69.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.515e-05/3.601, allocations: 92.86 kB / 476.4 MB, free: 69.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.592e-05/3.601, allocations: 7.906 kB / 476.4 MB, free: 69.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005776/3.602, allocations: 23.97 kB / 476.4 MB, free: 69.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/3.602, allocations: 27.91 kB / 476.5 MB, free: 69.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.617e-05/3.602, allocations: 12 kB / 476.5 MB, free: 69.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001907/3.602, allocations: 153.9 kB / 476.6 MB, free: 68.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002354/3.605, allocations: 211.3 kB / 476.8 MB, free: 68.77 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009128/3.605, allocations: 303.9 kB / 477.1 MB, free: 68.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001225/3.607, allocations: 0.6136 MB / 477.7 MB, free: 67.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/3.607, allocations: 0 / 477.7 MB, free: 67.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005962/3.607, allocations: 465.1 kB / 478.2 MB, free: 67.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006304/3.608, allocations: 24.56 kB / 478.2 MB, free: 67.24 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00271/3.611, allocations: 0.6419 MB / 478.9 MB, free: 66.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006095/3.611, allocations: 0.9166 MB / 479.8 MB, free: 65.62 MB / 378.7 MB Notification: Performance of SimCode: time 1.433e-06/3.611, allocations: 0 / 479.8 MB, free: 65.62 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_res.mat does not exist to compare? outputFormat=mat