Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_3_2_1_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 1.963/1.963, allocations: 209.3 MB / 216.3 MB, free: 6.797 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.216/2.179, allocations: 51.06 MB / 267.3 MB, free: 5.129 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/2.298, allocations: 48.69 MB / 316 MB, free: 4.34 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.353/2.651, allocations: 81.41 MB / 397.4 MB, free: 11.31 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005317/2.652, allocations: 98 kB / 397.5 MB, free: 11.25 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.07358/2.726, allocations: 14.27 MB / 411.8 MB, free: 15.12 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/2.726, allocations: 8 kB / 411.8 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/2.726, allocations: 51.34 kB / 411.8 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005991/2.726, allocations: 300.2 kB / 412.1 MB, free: 14.74 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.574e-05/2.727, allocations: 23.91 kB / 412.2 MB, free: 14.72 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/2.727, allocations: 28 kB / 412.2 MB, free: 14.69 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001488/2.728, allocations: 0.6522 MB / 412.8 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/2.73, allocations: 0.6163 MB / 413.5 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/2.73, allocations: 0 / 413.5 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.406e-05/2.73, allocations: 3.938 kB / 413.5 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.403e-05/2.73, allocations: 45.28 kB / 413.5 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003881/2.734, allocations: 1.312 MB / 414.8 MB, free: 12.49 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/2.735, allocations: 0.5494 MB / 415.4 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004963/2.736, allocations: 185 kB / 415.6 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.995e-05/2.736, allocations: 11.98 kB / 415.6 MB, free: 11.81 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/2.736, allocations: 37.5 kB / 415.6 MB, free: 11.77 MB / 346.7 MB Notification: Performance of pre-optimization done (n=37): time 3.567e-06/2.736, allocations: 3.938 kB / 415.6 MB, free: 11.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=37): time 0.001371/2.737, allocations: 435.5 kB / 416 MB, free: 11.37 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/2.738, allocations: 55.41 kB / 416.1 MB, free: 11.3 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002748/2.738, allocations: 169.8 kB / 416.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.041e-05/2.738, allocations: 29.7 kB / 416.3 MB, free: 11.11 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/2.738, allocations: 235.5 kB / 416.5 MB, free: 10.89 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/2.738, allocations: 121.8 kB / 416.6 MB, free: 10.79 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/2.738, allocations: 4 kB / 416.6 MB, free: 10.79 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001766/2.738, allocations: 333.2 kB / 417 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005177/2.739, allocations: 171.2 kB / 417.1 MB, free: 10.31 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005955/2.74, allocations: 266.5 kB / 417.4 MB, free: 10.04 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006146/2.74, allocations: 227.3 kB / 417.6 MB, free: 9.844 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/2.74, allocations: 0 / 417.6 MB, free: 9.844 MB / 346.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001636/2.742, allocations: 0.4933 MB / 418.1 MB, free: 9.387 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/2.742, allocations: 6.5 kB / 418.1 MB, free: 9.383 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/2.742, allocations: 4 kB / 418.1 MB, free: 9.379 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/2.742, allocations: 8.312 kB / 418.1 MB, free: 9.371 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002402/2.744, allocations: 222.4 kB / 418.3 MB, free: 9.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007059/2.752, allocations: 7.409 MB / 425.7 MB, free: 1.555 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005912/2.752, allocations: 32.08 kB / 425.8 MB, free: 1.523 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.769e-05/2.752, allocations: 23.05 kB / 425.8 MB, free: 1.504 MB / 346.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.0002367/2.753, allocations: 124.1 kB / 425.9 MB, free: 1.379 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.582e-05/2.753, allocations: 23.72 kB / 425.9 MB, free: 1.355 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002011/2.755, allocations: 0.626 MB / 426.6 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/2.755, allocations: 7.984 kB / 426.6 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/2.755, allocations: 4 kB / 426.6 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/2.755, allocations: 0 / 426.6 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009515/2.756, allocations: 407 kB / 427 MB, free: 388 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/2.756, allocations: 0 / 427 MB, free: 388 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002083/2.758, allocations: 211.4 kB / 427.2 MB, free: 180 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.211e-05/2.758, allocations: 0 / 427.2 MB, free: 180 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.716e-05/2.758, allocations: 11.31 kB / 427.2 MB, free: 172 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006704/2.765, allocations: 7.416 MB / 434.6 MB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-05/2.765, allocations: 7.844 kB / 434.6 MB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001431/2.766, allocations: 0.5315 MB / 435.1 MB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001525/2.768, allocations: 0.9015 MB / 436.1 MB, free: 7.164 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/2.768, allocations: 104.7 kB / 436.2 MB, free: 7.043 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/2.768, allocations: 3.984 kB / 436.2 MB, free: 7.039 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005557/2.769, allocations: 8 kB / 436.2 MB, free: 7.031 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/2.769, allocations: 27.33 kB / 436.2 MB, free: 7.008 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/2.769, allocations: 21.98 kB / 436.2 MB, free: 6.988 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0002769/2.769, allocations: 134.7 kB / 436.3 MB, free: 6.871 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001802/2.771, allocations: 167.6 kB / 436.5 MB, free: 6.715 MB / 362.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.0005595/2.772, allocations: 181.5 kB / 436.7 MB, free: 6.531 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004616/2.776, allocations: 0.5827 MB / 437.3 MB, free: 5.992 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/2.776, allocations: 4 kB / 437.3 MB, free: 5.988 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004394/2.781, allocations: 389.4 kB / 437.7 MB, free: 5.629 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007286/2.782, allocations: 26.47 kB / 437.7 MB, free: 5.609 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00406/2.786, allocations: 0.6856 MB / 438.4 MB, free: 4.938 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001403/2.787, allocations: 0.9486 MB / 439.3 MB, free: 3.977 MB / 362.7 MB Notification: Performance of SimCode: time 1.583e-06/2.787, allocations: 0 / 439.3 MB, free: 3.977 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat does not exist to compare? outputFormat=mat