Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",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.706/2.706, allocations: 235.1 MB / 242 MB, free: 9.734 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1943/2.901, allocations: 57.21 MB / 299.2 MB, free: 408 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/3.241, allocations: 54.85 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1865/3.428, allocations: 87.46 MB / 441.6 MB, free: 5.809 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004288/3.428, allocations: 95.86 kB / 441.6 MB, free: 5.715 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.3522/3.781, allocations: 14.59 MB / 456.2 MB, free: 86.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.406e-05/3.781, allocations: 10.38 kB / 456.2 MB, free: 86.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003863/3.781, allocations: 49.34 kB / 456.3 MB, free: 86.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/3.782, allocations: 297.7 kB / 456.6 MB, free: 86.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.664e-05/3.782, allocations: 16.5 kB / 456.6 MB, free: 86.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/3.782, allocations: 29.67 kB / 456.6 MB, free: 86.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001356/3.784, allocations: 449.7 kB / 457.1 MB, free: 86.08 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001753/3.785, allocations: 0.57 MB / 457.6 MB, free: 85.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/3.786, allocations: 4 kB / 457.6 MB, free: 85.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.275e-05/3.786, allocations: 0 / 457.6 MB, free: 85.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.96e-05/3.786, allocations: 43.05 kB / 457.7 MB, free: 85.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004555/3.79, allocations: 1.257 MB / 458.9 MB, free: 85.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/3.792, allocations: 480.4 kB / 459.4 MB, free: 84.99 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005127/3.793, allocations: 140.9 kB / 459.5 MB, free: 84.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.828e-05/3.793, allocations: 25.42 kB / 459.6 MB, free: 84.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/3.793, allocations: 40.38 kB / 459.6 MB, free: 84.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 3.987e-06/3.793, allocations: 0 / 459.6 MB, free: 84.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.001394/3.794, allocations: 358.2 kB / 460 MB, free: 84.74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/3.794, allocations: 62.08 kB / 460 MB, free: 84.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003454/3.795, allocations: 185.2 kB / 460.2 MB, free: 84.53 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.103e-05/3.795, allocations: 26.27 kB / 460.2 MB, free: 84.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/3.795, allocations: 244.3 kB / 460.5 MB, free: 84.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/3.795, allocations: 86.28 kB / 460.6 MB, free: 84.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/3.795, allocations: 0 / 460.6 MB, free: 84.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.051e-05/3.795, allocations: 328.4 kB / 460.9 MB, free: 83.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006083/3.796, allocations: 162.3 kB / 461 MB, free: 83.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/3.797, allocations: 253.4 kB / 461.3 MB, free: 83.65 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008826/3.798, allocations: 202.3 kB / 461.5 MB, free: 83.58 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/3.798, allocations: 1.156 kB / 461.5 MB, free: 83.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001814/3.8, allocations: 485.1 kB / 461.9 MB, free: 83.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/3.8, allocations: 4 kB / 462 MB, free: 83.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001443/3.8, allocations: 39.95 kB / 462 MB, free: 83.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.634e-05/3.8, allocations: 8 kB / 462 MB, free: 83.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004259/3.8, allocations: 36.33 kB / 462 MB, free: 83.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/3.8, allocations: 11.98 kB / 462 MB, free: 83.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004254/3.801, allocations: 11.84 kB / 462.1 MB, free: 83.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-05/3.801, allocations: 27.98 kB / 462.1 MB, free: 83.11 MB / 378.7 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (41): * Single equations (assignments): 29 * 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.0002296/3.801, allocations: 128.6 kB / 462.2 MB, free: 82.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/3.801, allocations: 15.81 kB / 462.2 MB, free: 82.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002009/3.803, allocations: 0.5778 MB / 462.8 MB, free: 82.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/3.803, allocations: 7.984 kB / 462.8 MB, free: 82.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/3.803, allocations: 0 / 462.8 MB, free: 82.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/3.803, allocations: 7.984 kB / 462.8 MB, free: 82.38 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009523/3.804, allocations: 385.6 kB / 463.2 MB, free: 81.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001284/3.805, allocations: 39.97 kB / 463.2 MB, free: 81.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003611/3.805, allocations: 27.92 kB / 463.3 MB, free: 81.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.029e-05/3.805, allocations: 11.84 kB / 463.3 MB, free: 81.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.338e-05/3.805, allocations: 4 kB / 463.3 MB, free: 81.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/3.805, allocations: 8 kB / 463.3 MB, free: 81.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/3.805, allocations: 0 / 463.3 MB, free: 81.88 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002245/3.807, allocations: 0.6992 MB / 464 MB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003517/3.811, allocations: 1.324 MB / 465.3 MB, free: 79.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/3.811, allocations: 96.98 kB / 465.4 MB, free: 79.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.835e-05/3.811, allocations: 4 kB / 465.4 MB, free: 79.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003261/3.811, allocations: 0 / 465.4 MB, free: 79.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.254e-05/3.812, allocations: 24.34 kB / 465.4 MB, free: 79.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.397e-05/3.812, allocations: 19.98 kB / 465.5 MB, free: 79.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.000177/3.812, allocations: 136.3 kB / 465.6 MB, free: 79.53 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002061/3.814, allocations: 183.4 kB / 465.8 MB, free: 79.35 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dimlesslength) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 16 * 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.0006119/3.815, allocations: 214.9 kB / 466 MB, free: 79.13 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001338/3.816, allocations: 0.668 MB / 466.6 MB, free: 78.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/3.816, allocations: 4.812 kB / 466.6 MB, free: 78.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006655/3.817, allocations: 496.2 kB / 467.1 MB, free: 77.83 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/3.817, allocations: 17.88 kB / 467.1 MB, free: 77.81 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003292/3.82, allocations: 0.7554 MB / 467.9 MB, free: 77.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006403/3.821, allocations: 0.9309 MB / 468.8 MB, free: 76.08 MB / 378.7 MB Notification: Performance of SimCode: time 2.024e-06/3.821, allocations: 0 / 468.8 MB, free: 76.08 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_evenGapLaminar_res.mat does not exist to compare? outputFormat=mat