Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_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.364/2.364, allocations: 235 MB / 241.9 MB, free: 9.781 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1437/2.508, allocations: 57.23 MB / 299.2 MB, free: 448 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/2.793, allocations: 54.85 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2015/2.994, allocations: 87.53 MB / 441.5 MB, free: 5.781 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003796/2.995, allocations: 95.92 kB / 441.6 MB, free: 5.688 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.2643/3.259, allocations: 14.27 MB / 455.9 MB, free: 86.69 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/3.259, allocations: 9.75 kB / 455.9 MB, free: 86.69 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/3.259, allocations: 52.17 kB / 456 MB, free: 86.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005621/3.26, allocations: 302.8 kB / 456.2 MB, free: 86.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.366e-05/3.26, allocations: 16.91 kB / 456.3 MB, free: 86.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.822e-05/3.26, allocations: 27.66 kB / 456.3 MB, free: 86.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001554/3.262, allocations: 0.6505 MB / 456.9 MB, free: 86.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/3.263, allocations: 0.6167 MB / 457.6 MB, free: 86.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/3.263, allocations: 0 / 457.6 MB, free: 86.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-05/3.263, allocations: 5.609 kB / 457.6 MB, free: 86.06 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.298e-05/3.263, allocations: 43.69 kB / 457.6 MB, free: 86.06 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003682/3.267, allocations: 1.316 MB / 458.9 MB, free: 85.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/3.269, allocations: 0.5461 MB / 459.5 MB, free: 85.13 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004968/3.269, allocations: 176.3 kB / 459.6 MB, free: 85.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.854e-05/3.269, allocations: 13.28 kB / 459.7 MB, free: 85.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/3.269, allocations: 36.78 kB / 459.7 MB, free: 85.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=37): time 3.387e-06/3.269, allocations: 0 / 459.7 MB, free: 85.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=37): time 0.00151/3.271, allocations: 437 kB / 460.1 MB, free: 84.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/3.271, allocations: 55.09 kB / 460.2 MB, free: 84.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002877/3.271, allocations: 172.1 kB / 460.3 MB, free: 84.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.516e-05/3.271, allocations: 26.23 kB / 460.4 MB, free: 84.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/3.271, allocations: 244.6 kB / 460.6 MB, free: 84.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/3.272, allocations: 126.3 kB / 460.7 MB, free: 84.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/3.272, allocations: 0.5938 kB / 460.7 MB, free: 84.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.202e-05/3.272, allocations: 333.4 kB / 461.1 MB, free: 83.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005145/3.272, allocations: 171 kB / 461.2 MB, free: 83.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005769/3.273, allocations: 277.5 kB / 461.5 MB, free: 83.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005879/3.273, allocations: 223.9 kB / 461.7 MB, free: 83.56 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/3.274, allocations: 4 kB / 461.7 MB, free: 83.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001307/3.275, allocations: 0.4889 MB / 462.2 MB, free: 83.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/3.275, allocations: 8.375 kB / 462.2 MB, free: 83.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/3.275, allocations: 8 kB / 462.2 MB, free: 83.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.634e-05/3.275, allocations: 4 kB / 462.2 MB, free: 83.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002071/3.277, allocations: 219.7 kB / 462.4 MB, free: 82.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003953/3.281, allocations: 7.411 MB / 469.8 MB, free: 75.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005905/3.282, allocations: 32.02 kB / 469.9 MB, free: 75.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.535e-05/3.282, allocations: 20 kB / 469.9 MB, free: 75.08 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (49): * Single equations (assignments): 37 * 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.0001999/3.282, allocations: 116.9 kB / 470 MB, free: 74.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.072e-05/3.282, allocations: 23.72 kB / 470 MB, free: 74.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001747/3.284, allocations: 0.6448 MB / 470.7 MB, free: 74.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/3.284, allocations: 4 kB / 470.7 MB, free: 74.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/3.284, allocations: 0 / 470.7 MB, free: 74.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/3.284, allocations: 0 / 470.7 MB, free: 74.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008592/3.285, allocations: 409.5 kB / 471.1 MB, free: 73.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/3.285, allocations: 0 / 471.1 MB, free: 73.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001907/3.287, allocations: 211.8 kB / 471.3 MB, free: 73.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/3.287, allocations: 3.938 kB / 471.3 MB, free: 73.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.146e-05/3.287, allocations: 19.98 kB / 471.3 MB, free: 73.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003901/3.291, allocations: 7.403 MB / 478.7 MB, free: 65.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/3.291, allocations: 0 / 478.7 MB, free: 65.95 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001168/3.292, allocations: 0.5229 MB / 479.2 MB, free: 65.41 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001168/3.293, allocations: 0.9107 MB / 480.2 MB, free: 64.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/3.293, allocations: 100.8 kB / 480.2 MB, free: 64.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.348e-05/3.293, allocations: 0 / 480.2 MB, free: 64.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000457/3.294, allocations: 11.98 kB / 480.3 MB, free: 64.35 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/3.294, allocations: 39.64 kB / 480.3 MB, free: 64.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.672e-05/3.294, allocations: 12 kB / 480.3 MB, free: 64.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001282/3.294, allocations: 136 kB / 480.4 MB, free: 64.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001763/3.296, allocations: 163.4 kB / 480.6 MB, free: 64.01 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.0004297/3.296, allocations: 194.9 kB / 480.8 MB, free: 63.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002965/3.299, allocations: 0.5741 MB / 481.4 MB, free: 63.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/3.299, allocations: 0 / 481.4 MB, free: 63.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002359/3.302, allocations: 391.5 kB / 481.7 MB, free: 62.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/3.302, allocations: 20.03 kB / 481.8 MB, free: 62.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/3.304, allocations: 0.6947 MB / 482.5 MB, free: 62.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006176/3.305, allocations: 0.9554 MB / 483.4 MB, free: 61.14 MB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/3.305, allocations: 0 / 483.4 MB, free: 61.14 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_evenGapLaminar_KC_res.mat does not exist to compare? outputFormat=mat