Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_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 1.976/1.976, allocations: 209.3 MB / 216.3 MB, free: 6.797 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2285/2.205, allocations: 51.05 MB / 267.3 MB, free: 5.121 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/2.318, allocations: 48.68 MB / 316 MB, free: 4.34 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3267/2.645, allocations: 79.67 MB / 395.7 MB, free: 13.09 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003713/2.645, allocations: 101.5 kB / 395.8 MB, free: 13.02 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.04722/2.692, allocations: 10.09 MB / 405.9 MB, free: 4.492 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/2.692, allocations: 12 kB / 405.9 MB, free: 4.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/2.692, allocations: 27.62 kB / 405.9 MB, free: 4.453 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004311/2.693, allocations: 246.1 kB / 406.1 MB, free: 4.176 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/2.693, allocations: 12 kB / 406.2 MB, free: 4.164 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.694e-05/2.693, allocations: 16 kB / 406.2 MB, free: 4.148 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008447/2.694, allocations: 351.7 kB / 406.5 MB, free: 3.895 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007998/2.695, allocations: 344.9 kB / 406.9 MB, free: 3.613 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/2.695, allocations: 0 / 406.9 MB, free: 3.613 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.773e-05/2.695, allocations: 0 / 406.9 MB, free: 3.613 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.797e-05/2.695, allocations: 24.64 kB / 406.9 MB, free: 3.586 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002134/2.697, allocations: 0.8026 MB / 407.7 MB, free: 2.836 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008819/2.698, allocations: 333.7 kB / 408 MB, free: 2.535 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/2.698, allocations: 106.7 kB / 408.1 MB, free: 2.438 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.963e-05/2.698, allocations: 11.8 kB / 408.1 MB, free: 2.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/2.698, allocations: 30.56 kB / 408.1 MB, free: 2.391 MB / 330.7 MB Notification: Performance of pre-optimization done (n=19): time 2.896e-06/2.698, allocations: 0 / 408.1 MB, free: 2.391 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.0008393/2.699, allocations: 265.8 kB / 408.4 MB, free: 2.148 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/2.699, allocations: 55.41 kB / 408.5 MB, free: 2.082 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/2.699, allocations: 148.1 kB / 408.6 MB, free: 1.938 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/2.699, allocations: 25.7 kB / 408.6 MB, free: 1.906 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.983e-05/2.7, allocations: 173.5 kB / 408.8 MB, free: 1.746 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.931e-05/2.7, allocations: 62.23 kB / 408.9 MB, free: 1.691 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.236e-05/2.7, allocations: 3.938 kB / 408.9 MB, free: 1.688 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/2.7, allocations: 325.6 kB / 409.2 MB, free: 1.367 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000288/2.7, allocations: 101.7 kB / 409.3 MB, free: 1.277 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003357/2.7, allocations: 157.2 kB / 409.4 MB, free: 1.121 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003511/2.701, allocations: 125.7 kB / 409.6 MB, free: 1.012 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/2.701, allocations: 0 / 409.6 MB, free: 1.012 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008974/2.702, allocations: 303.4 kB / 409.9 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/2.702, allocations: 8.031 kB / 409.9 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/2.702, allocations: 4 kB / 409.9 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/2.702, allocations: 4 kB / 409.9 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/2.703, allocations: 114.5 kB / 410 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003089/2.706, allocations: 3.768 MB / 413.8 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003704/2.707, allocations: 24.22 kB / 413.8 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.326e-05/2.707, allocations: 11.94 kB / 413.8 MB, free: 12.71 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].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 (25): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001692/2.707, allocations: 114.3 kB / 413.9 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-05/2.707, allocations: 15.81 kB / 413.9 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/2.708, allocations: 392.2 kB / 414.3 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/2.708, allocations: 7.922 kB / 414.3 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/2.708, allocations: 7.906 kB / 414.3 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/2.708, allocations: 0 / 414.3 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006819/2.709, allocations: 287.7 kB / 414.6 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/2.709, allocations: 0 / 414.6 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001199/2.71, allocations: 111 kB / 414.7 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.864e-06/2.71, allocations: 0 / 414.7 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.034e-05/2.71, allocations: 7.938 kB / 414.7 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003012/2.713, allocations: 3.766 MB / 418.5 MB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.746e-06/2.713, allocations: 4 kB / 418.5 MB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008151/2.714, allocations: 370.6 kB / 418.8 MB, free: 7.605 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00106/2.715, allocations: 0.7386 MB / 419.6 MB, free: 6.875 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.261e-05/2.715, allocations: 88.92 kB / 419.7 MB, free: 6.77 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.304e-05/2.715, allocations: 0 / 419.7 MB, free: 6.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00033/2.716, allocations: 11.98 kB / 419.7 MB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.301e-05/2.716, allocations: 11.98 kB / 419.7 MB, free: 6.746 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.772e-05/2.716, allocations: 11.05 kB / 419.7 MB, free: 6.738 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001403/2.716, allocations: 128.1 kB / 419.8 MB, free: 6.625 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001589/2.718, allocations: 95.38 kB / 419.9 MB, free: 6.539 MB / 346.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 (19): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004136/2.718, allocations: 168.3 kB / 420.1 MB, free: 6.367 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001903/2.72, allocations: 331.6 kB / 420.4 MB, free: 6.07 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/2.72, allocations: 0 / 420.4 MB, free: 6.07 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001453/2.721, allocations: 214.8 kB / 420.6 MB, free: 5.871 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/2.722, allocations: 15.2 kB / 420.6 MB, free: 5.859 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/2.723, allocations: 424.6 kB / 421 MB, free: 5.453 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006064/2.724, allocations: 0.8319 MB / 421.9 MB, free: 4.602 MB / 346.7 MB Notification: Performance of SimCode: time 1.182e-06/2.724, allocations: 4 kB / 421.9 MB, free: 4.598 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat does not exist to compare? outputFormat=mat