Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_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 2.279/2.279, allocations: 235 MB / 241.9 MB, free: 9.797 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1814/2.46, allocations: 57.23 MB / 299.2 MB, free: 468 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/2.735, allocations: 54.85 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2083/2.943, allocations: 85.99 MB / 440 MB, free: 7.324 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003742/2.944, allocations: 99.75 kB / 440.1 MB, free: 7.23 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.2561/3.2, allocations: 9.534 MB / 449.6 MB, free: 87.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/3.2, allocations: 9.719 kB / 449.6 MB, free: 87.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/3.2, allocations: 37.62 kB / 449.7 MB, free: 87.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004197/3.2, allocations: 277.6 kB / 449.9 MB, free: 86.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/3.2, allocations: 12.59 kB / 449.9 MB, free: 86.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.847e-05/3.2, allocations: 23 kB / 450 MB, free: 86.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009612/3.201, allocations: 0.5068 MB / 450.5 MB, free: 86.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009677/3.202, allocations: 484.4 kB / 451 MB, free: 86.76 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/3.202, allocations: 3.312 kB / 451 MB, free: 86.76 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.951e-05/3.202, allocations: 3.844 kB / 451 MB, free: 86.76 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.354e-05/3.202, allocations: 34.91 kB / 451 MB, free: 86.76 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00239/3.205, allocations: 1.062 MB / 452.1 MB, free: 86.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/3.206, allocations: 451.2 kB / 452.5 MB, free: 86.42 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003821/3.206, allocations: 145.9 kB / 452.6 MB, free: 86.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.094e-05/3.206, allocations: 12.2 kB / 452.6 MB, free: 86.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/3.206, allocations: 37.77 kB / 452.7 MB, free: 86.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 2.885e-06/3.207, allocations: 1.062 kB / 452.7 MB, free: 86.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001074/3.208, allocations: 357.1 kB / 453 MB, free: 86.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/3.208, allocations: 54.16 kB / 453.1 MB, free: 86.26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/3.208, allocations: 136.5 kB / 453.2 MB, free: 86.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/3.208, allocations: 25.7 kB / 453.2 MB, free: 86.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.081e-05/3.208, allocations: 195.6 kB / 453.4 MB, free: 85.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.957e-05/3.208, allocations: 92.67 kB / 453.5 MB, free: 85.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/3.208, allocations: 0 / 453.5 MB, free: 85.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.638e-05/3.208, allocations: 333.1 kB / 453.9 MB, free: 85.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003651/3.209, allocations: 124.8 kB / 454 MB, free: 85.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003603/3.209, allocations: 128.4 kB / 454.1 MB, free: 85.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004076/3.209, allocations: 149.3 kB / 454.2 MB, free: 85.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/3.209, allocations: 0.8438 kB / 454.2 MB, free: 85.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009957/3.21, allocations: 350.9 kB / 454.6 MB, free: 85.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/3.21, allocations: 5.375 kB / 454.6 MB, free: 85.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/3.21, allocations: 0 / 454.6 MB, free: 85.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/3.21, allocations: 4.688 kB / 454.6 MB, free: 85.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/3.212, allocations: 157 kB / 454.8 MB, free: 85.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003186/3.215, allocations: 5.599 MB / 460.4 MB, free: 80.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003789/3.216, allocations: 20.28 kB / 460.4 MB, free: 80.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.084e-05/3.216, allocations: 16.5 kB / 460.4 MB, free: 80.16 MB / 378.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.0001377/3.216, allocations: 111.3 kB / 460.5 MB, free: 80.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.426e-05/3.216, allocations: 16.84 kB / 460.5 MB, free: 80.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001468/3.217, allocations: 0.4981 MB / 461 MB, free: 79.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/3.217, allocations: 2.75 kB / 461 MB, free: 79.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/3.218, allocations: 3.906 kB / 461 MB, free: 79.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.188e-06/3.218, allocations: 7.188 kB / 461 MB, free: 79.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007959/3.218, allocations: 349.6 kB / 461.4 MB, free: 79.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/3.218, allocations: 0.9844 kB / 461.4 MB, free: 79.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00212/3.22, allocations: 155.6 kB / 461.5 MB, free: 79.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.439e-05/3.221, allocations: 1.406 kB / 461.5 MB, free: 79.69 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-05/3.221, allocations: 11.67 kB / 461.5 MB, free: 79.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005437/3.226, allocations: 5.599 MB / 467.1 MB, free: 74.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.949e-06/3.226, allocations: 0 / 467.1 MB, free: 74.32 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001829/3.228, allocations: 459.8 kB / 467.6 MB, free: 74.14 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001558/3.23, allocations: 0.8257 MB / 468.4 MB, free: 73.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.73e-05/3.23, allocations: 98.95 kB / 468.5 MB, free: 73.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/3.23, allocations: 0 / 468.5 MB, free: 73.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006966/3.231, allocations: 11.03 kB / 468.5 MB, free: 73.47 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001737/3.231, allocations: 22.7 kB / 468.5 MB, free: 73.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/3.231, allocations: 15.11 kB / 468.6 MB, free: 73.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001608/3.231, allocations: 108.1 kB / 468.7 MB, free: 73.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002319/3.233, allocations: 129.4 kB / 468.8 MB, free: 73.35 MB / 378.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.0004854/3.234, allocations: 182.1 kB / 469 MB, free: 73.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002473/3.236, allocations: 431.4 kB / 469.4 MB, free: 73.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/3.237, allocations: 1.062 kB / 469.4 MB, free: 73.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002024/3.239, allocations: 307 kB / 469.7 MB, free: 73.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/3.239, allocations: 13.22 kB / 469.7 MB, free: 73.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/3.241, allocations: 0.5461 MB / 470.2 MB, free: 72.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007455/3.242, allocations: 0.8967 MB / 471.1 MB, free: 72.25 MB / 378.7 MB Notification: Performance of SimCode: time 1.142e-06/3.242, allocations: 3.938 kB / 471.1 MB, free: 72.25 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat