Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_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.936/1.936, allocations: 209.3 MB / 216.3 MB, free: 6.801 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2771/2.213, allocations: 51.06 MB / 267.3 MB, free: 5.125 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/2.338, allocations: 48.69 MB / 316 MB, free: 4.336 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3629/2.701, allocations: 79.92 MB / 395.9 MB, free: 12.77 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003738/2.702, allocations: 105.2 kB / 396 MB, free: 12.71 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.05085/2.752, allocations: 9.569 MB / 405.6 MB, free: 4.535 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/2.752, allocations: 12 kB / 405.6 MB, free: 4.523 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/2.753, allocations: 47.44 kB / 405.7 MB, free: 4.477 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006508/2.753, allocations: 288.4 kB / 405.9 MB, free: 4.164 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/2.753, allocations: 12 kB / 406 MB, free: 4.152 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.619e-05/2.753, allocations: 20 kB / 406 MB, free: 4.133 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00129/2.755, allocations: 0.5001 MB / 406.5 MB, free: 3.766 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/2.756, allocations: 485.7 kB / 406.9 MB, free: 3.371 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/2.756, allocations: 3.938 kB / 407 MB, free: 3.367 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.036e-05/2.756, allocations: 0 / 407 MB, free: 3.367 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.039e-05/2.756, allocations: 40.66 kB / 407 MB, free: 3.332 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004925/2.761, allocations: 1.07 MB / 408.1 MB, free: 2.344 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/2.763, allocations: 447.4 kB / 408.5 MB, free: 1.941 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006639/2.764, allocations: 147.8 kB / 408.6 MB, free: 1.812 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.036e-05/2.764, allocations: 8.219 kB / 408.7 MB, free: 1.805 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.331e-05/2.764, allocations: 34.67 kB / 408.7 MB, free: 1.766 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 5.53e-06/2.764, allocations: 4 kB / 408.7 MB, free: 1.762 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.001909/2.766, allocations: 353.8 kB / 409 MB, free: 1.438 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/2.766, allocations: 51.41 kB / 409.1 MB, free: 1.375 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/2.766, allocations: 135.8 kB / 409.2 MB, free: 1.246 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.07e-05/2.766, allocations: 25.7 kB / 409.2 MB, free: 1.215 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/2.766, allocations: 193.5 kB / 409.4 MB, free: 1.031 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/2.767, allocations: 97.12 kB / 409.5 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/2.767, allocations: 0 / 409.5 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001739/2.767, allocations: 329.3 kB / 409.8 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006548/2.767, allocations: 129 kB / 410 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006689/2.768, allocations: 130.4 kB / 410.1 MB, free: 404 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006687/2.769, allocations: 149.3 kB / 410.2 MB, free: 268 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/2.769, allocations: 0 / 410.2 MB, free: 268 kB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001544/2.77, allocations: 349.5 kB / 410.6 MB, free: 15.94 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/2.771, allocations: 8 kB / 410.6 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/2.771, allocations: 3.984 kB / 410.6 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/2.771, allocations: 0 / 410.6 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001657/2.772, allocations: 151.9 kB / 410.7 MB, free: 15.78 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004566/2.777, allocations: 5.605 MB / 416.4 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003894/2.777, allocations: 23.77 kB / 416.4 MB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.306e-05/2.777, allocations: 11 kB / 416.4 MB, free: 10 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (28): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001673/2.778, allocations: 112.9 kB / 416.5 MB, free: 9.883 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.901e-05/2.778, allocations: 19.81 kB / 416.5 MB, free: 9.863 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00156/2.779, allocations: 0.4917 MB / 417 MB, free: 9.418 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/2.779, allocations: 4 kB / 417 MB, free: 9.414 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/2.779, allocations: 3.984 kB / 417 MB, free: 9.41 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/2.779, allocations: 0 / 417 MB, free: 9.41 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007513/2.78, allocations: 344.6 kB / 417.4 MB, free: 9.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/2.78, allocations: 7.938 kB / 417.4 MB, free: 9.062 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001641/2.782, allocations: 163.3 kB / 417.5 MB, free: 8.906 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/2.782, allocations: 0 / 417.5 MB, free: 8.906 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.353e-05/2.782, allocations: 7.984 kB / 417.5 MB, free: 8.898 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004712/2.786, allocations: 5.598 MB / 423.1 MB, free: 3.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.707e-06/2.787, allocations: 8 kB / 423.1 MB, free: 3.152 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001129/2.788, allocations: 451.4 kB / 423.6 MB, free: 2.727 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001234/2.789, allocations: 0.8213 MB / 424.4 MB, free: 1.922 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.603e-05/2.789, allocations: 100.8 kB / 424.5 MB, free: 1.805 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.439e-05/2.789, allocations: 12 kB / 424.5 MB, free: 1.793 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003898/2.79, allocations: 7.984 kB / 424.5 MB, free: 1.785 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/2.79, allocations: 23.53 kB / 424.5 MB, free: 1.766 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.587e-05/2.79, allocations: 8 kB / 424.5 MB, free: 1.758 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001201/2.79, allocations: 113.9 kB / 424.7 MB, free: 1.656 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001667/2.792, allocations: 130.5 kB / 424.8 MB, free: 1.535 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 (28): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {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.0005178/2.792, allocations: 175.1 kB / 425 MB, free: 1.355 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002614/2.795, allocations: 435.2 kB / 425.4 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/2.795, allocations: 0 / 425.4 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002193/2.797, allocations: 305.9 kB / 425.7 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/2.797, allocations: 11.98 kB / 425.7 MB, free: 0.668 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/2.799, allocations: 0.5528 MB / 426.2 MB, free: 116 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008052/2.8, allocations: 0.8943 MB / 427.1 MB, free: 15.2 MB / 362.7 MB Notification: Performance of SimCode: time 1.974e-06/2.8, allocations: 0 / 427.1 MB, free: 15.2 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat