Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent",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.623/2.623, allocations: 235 MB / 242 MB, free: 9.754 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1933/2.817, allocations: 57.22 MB / 299.2 MB, free: 420 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/3.1, allocations: 54.86 MB / 354.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1897/3.29, allocations: 86.99 MB / 441.1 MB, free: 6.262 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004391/3.29, allocations: 95.92 kB / 441.2 MB, free: 6.168 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.2875/3.578, allocations: 10.88 MB / 452.1 MB, free: 84.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.149e-05/3.578, allocations: 15.27 kB / 452.1 MB, free: 84.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002507/3.578, allocations: 42.59 kB / 452.1 MB, free: 84.49 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008215/3.579, allocations: 270.4 kB / 452.4 MB, free: 84.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.114e-05/3.579, allocations: 15.22 kB / 452.4 MB, free: 84.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/3.579, allocations: 23.38 kB / 452.4 MB, free: 84.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001955/3.581, allocations: 348.6 kB / 452.8 MB, free: 84.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002323/3.584, allocations: 0.5024 MB / 453.3 MB, free: 84.19 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/3.584, allocations: 0 / 453.3 MB, free: 84.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.143e-05/3.584, allocations: 0 / 453.3 MB, free: 84.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.33e-05/3.584, allocations: 26.17 kB / 453.3 MB, free: 84.19 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004043/3.588, allocations: 1.247 MB / 454.5 MB, free: 83.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009717/3.589, allocations: 249.6 kB / 454.8 MB, free: 83.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005207/3.589, allocations: 109.5 kB / 454.9 MB, free: 83.53 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.515e-05/3.59, allocations: 14.67 kB / 454.9 MB, free: 83.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/3.59, allocations: 39.19 kB / 454.9 MB, free: 83.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 4.388e-06/3.59, allocations: 0.9688 kB / 454.9 MB, free: 83.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.001747/3.591, allocations: 266.1 kB / 455.2 MB, free: 83.44 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/3.591, allocations: 108.1 kB / 455.3 MB, free: 83.31 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004816/3.592, allocations: 181.1 kB / 455.5 MB, free: 83.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.575e-05/3.592, allocations: 25.7 kB / 455.5 MB, free: 83.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/3.592, allocations: 208.8 kB / 455.7 MB, free: 83.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/3.592, allocations: 62.17 kB / 455.8 MB, free: 82.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.093e-05/3.592, allocations: 0 / 455.8 MB, free: 82.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/3.593, allocations: 331 kB / 456.1 MB, free: 82.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/3.594, allocations: 107.7 kB / 456.2 MB, free: 82.67 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000608/3.594, allocations: 146.5 kB / 456.3 MB, free: 82.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006405/3.595, allocations: 121.3 kB / 456.5 MB, free: 82.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/3.595, allocations: 0 / 456.5 MB, free: 82.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001656/3.597, allocations: 308.4 kB / 456.8 MB, free: 82.56 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/3.597, allocations: 9.594 kB / 456.8 MB, free: 82.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001947/3.597, allocations: 30.91 kB / 456.8 MB, free: 82.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.016e-05/3.597, allocations: 6.344 kB / 456.8 MB, free: 82.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006745/3.598, allocations: 37.88 kB / 456.8 MB, free: 82.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.639e-05/3.598, allocations: 5.562 kB / 456.8 MB, free: 82.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007051/3.598, allocations: 38.61 kB / 456.9 MB, free: 82.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.393e-05/3.599, allocations: 10.38 kB / 456.9 MB, free: 82.54 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0001671/3.599, allocations: 111.8 kB / 457 MB, free: 82.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002461/3.599, allocations: 15.8 kB / 457 MB, free: 82.42 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002324/3.601, allocations: 391 kB / 457.4 MB, free: 82.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.98e-05/3.601, allocations: 7.375 kB / 457.4 MB, free: 82.35 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.828e-05/3.602, allocations: 5.062 kB / 457.4 MB, free: 82.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.579e-05/3.602, allocations: 0.6094 kB / 457.4 MB, free: 82.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002002/3.604, allocations: 333.3 kB / 457.7 MB, free: 82.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002099/3.604, allocations: 28.55 kB / 457.8 MB, free: 82.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005805/3.604, allocations: 39.56 kB / 457.8 MB, free: 82.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.712e-05/3.605, allocations: 2.375 kB / 457.8 MB, free: 82.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.528e-05/3.605, allocations: 8.203 kB / 457.8 MB, free: 82.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.608e-06/3.605, allocations: 5.688 kB / 457.8 MB, free: 82.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.044e-06/3.605, allocations: 4 kB / 457.8 MB, free: 82.17 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001575/3.606, allocations: 0.5325 MB / 458.4 MB, free: 81.83 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002186/3.608, allocations: 0.913 MB / 459.3 MB, free: 81.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/3.609, allocations: 96.33 kB / 459.4 MB, free: 80.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/3.609, allocations: 2.031 kB / 459.4 MB, free: 80.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/3.61, allocations: 27.78 kB / 459.4 MB, free: 80.99 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001829/3.61, allocations: 20.28 kB / 459.4 MB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.283e-05/3.61, allocations: 13.7 kB / 459.4 MB, free: 80.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0005379/3.611, allocations: 150.9 kB / 459.6 MB, free: 80.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005008/3.616, allocations: 147.5 kB / 459.7 MB, free: 80.84 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0008763/3.617, allocations: 197.7 kB / 459.9 MB, free: 80.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001561/3.618, allocations: 478.2 kB / 460.4 MB, free: 80.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/3.618, allocations: 0 / 460.4 MB, free: 80.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007943/3.619, allocations: 362.4 kB / 460.7 MB, free: 80.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009842/3.62, allocations: 31.45 kB / 460.8 MB, free: 80.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003659/3.624, allocations: 0.5434 MB / 461.3 MB, free: 79.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007295/3.625, allocations: 0.8777 MB / 462.2 MB, free: 79.18 MB / 378.7 MB Notification: Performance of SimCode: time 1.413e-06/3.625, allocations: 0 / 462.2 MB, free: 79.18 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.HelicalPipe.kc_turbulent_res.mat does not exist to compare? outputFormat=mat