Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_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.912/1.912, allocations: 209.3 MB / 216.3 MB, free: 6.801 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2158/2.128, allocations: 51.05 MB / 267.3 MB, free: 5.129 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/2.258, allocations: 48.68 MB / 316 MB, free: 4.352 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3327/2.591, allocations: 78.72 MB / 394.7 MB, free: 14.09 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003815/2.591, allocations: 101.4 kB / 394.8 MB, free: 14.04 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.05765/2.649, allocations: 11.85 MB / 406.7 MB, free: 4.129 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/2.649, allocations: 12 kB / 406.7 MB, free: 4.117 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.67e-05/2.649, allocations: 31.62 kB / 406.7 MB, free: 4.086 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000416/2.649, allocations: 233.1 kB / 406.9 MB, free: 3.824 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/2.649, allocations: 8 kB / 406.9 MB, free: 3.816 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.547e-05/2.649, allocations: 16 kB / 407 MB, free: 3.801 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000788/2.65, allocations: 322.4 kB / 407.3 MB, free: 3.574 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007617/2.651, allocations: 325.3 kB / 407.6 MB, free: 3.309 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/2.651, allocations: 0 / 407.6 MB, free: 3.309 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/2.651, allocations: 0 / 407.6 MB, free: 3.309 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-05/2.651, allocations: 24.64 kB / 407.6 MB, free: 3.281 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002029/2.653, allocations: 0.7683 MB / 408.4 MB, free: 2.566 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006633/2.654, allocations: 246.9 kB / 408.6 MB, free: 2.336 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002314/2.654, allocations: 83.36 kB / 408.7 MB, free: 2.262 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.609e-05/2.654, allocations: 4 kB / 408.7 MB, free: 2.258 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/2.654, allocations: 34 kB / 408.7 MB, free: 2.219 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 5.05e-06/2.654, allocations: 0 / 408.7 MB, free: 2.219 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.00074/2.655, allocations: 218.9 kB / 409 MB, free: 2.016 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/2.655, allocations: 55.41 kB / 409 MB, free: 1.949 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/2.655, allocations: 177.1 kB / 409.2 MB, free: 1.789 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/2.655, allocations: 25.7 kB / 409.2 MB, free: 1.758 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/2.655, allocations: 167.1 kB / 409.4 MB, free: 1.602 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.811e-05/2.656, allocations: 62.59 kB / 409.4 MB, free: 1.547 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-05/2.656, allocations: 0 / 409.4 MB, free: 1.547 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001609/2.656, allocations: 325.2 kB / 409.7 MB, free: 1.227 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002512/2.656, allocations: 84.84 kB / 409.8 MB, free: 1.152 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003433/2.656, allocations: 176.6 kB / 410 MB, free: 0.957 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/2.657, allocations: 128.4 kB / 410.1 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/2.657, allocations: 0 / 410.1 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008839/2.658, allocations: 284.5 kB / 410.4 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/2.658, allocations: 4 kB / 410.4 MB, free: 0.582 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/2.658, allocations: 4 kB / 410.4 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.657e-05/2.658, allocations: 4 kB / 410.4 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/2.659, allocations: 127.6 kB / 410.5 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003535/2.663, allocations: 3.706 MB / 414.3 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003928/2.663, allocations: 19.83 kB / 414.3 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-05/2.663, allocations: 12 kB / 414.3 MB, free: 12.62 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: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * 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.0001715/2.663, allocations: 116.1 kB / 414.4 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.055e-05/2.663, allocations: 19.72 kB / 414.4 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/2.664, allocations: 327.3 kB / 414.7 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/2.664, allocations: 4 kB / 414.7 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/2.664, allocations: 0 / 414.7 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/2.664, allocations: 0 / 414.7 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005584/2.665, allocations: 271.1 kB / 415 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/2.665, allocations: 3.984 kB / 415 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/2.666, allocations: 99.91 kB / 415.1 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.056e-05/2.666, allocations: 0 / 415.1 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.689e-05/2.666, allocations: 11.3 kB / 415.1 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004706/2.671, allocations: 3.7 MB / 418.8 MB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/2.671, allocations: 4.094 kB / 418.8 MB, free: 7.984 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001234/2.672, allocations: 316.7 kB / 419.1 MB, free: 7.68 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001278/2.674, allocations: 0.6843 MB / 419.8 MB, free: 7 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001612/2.674, allocations: 92.86 kB / 419.9 MB, free: 6.891 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/2.674, allocations: 7.938 kB / 419.9 MB, free: 6.883 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006015/2.675, allocations: 11.98 kB / 419.9 MB, free: 6.871 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/2.675, allocations: 10.48 kB / 419.9 MB, free: 6.863 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.886e-05/2.675, allocations: 7.984 kB / 419.9 MB, free: 6.855 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0002903/2.675, allocations: 130.4 kB / 420.1 MB, free: 6.742 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00294/2.678, allocations: 83.19 kB / 420.1 MB, free: 6.66 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 (16): * Single equations (assignments): 10 * 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.0008414/2.679, allocations: 159.1 kB / 420.3 MB, free: 6.496 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002425/2.681, allocations: 300.1 kB / 420.6 MB, free: 6.227 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/2.682, allocations: 0 / 420.6 MB, free: 6.227 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001939/2.684, allocations: 177.6 kB / 420.8 MB, free: 6.062 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005573/2.684, allocations: 23.08 kB / 420.8 MB, free: 6.043 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/2.686, allocations: 377.4 kB / 421.2 MB, free: 5.672 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008597/2.687, allocations: 0.8239 MB / 422 MB, free: 4.832 MB / 346.7 MB Notification: Performance of SimCode: time 1.693e-06/2.687, allocations: 0 / 422 MB, free: 4.832 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat