Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",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.691/2.691, allocations: 235.1 MB / 242 MB, free: 9.754 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1883/2.88, allocations: 57.22 MB / 299.2 MB, free: 428 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/3.186, allocations: 54.85 MB / 354.1 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2027/3.389, allocations: 86 MB / 440.1 MB, free: 7.309 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004335/3.389, allocations: 95.92 kB / 440.2 MB, free: 7.215 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.2915/3.681, allocations: 9.53 MB / 449.7 MB, free: 87.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/3.681, allocations: 9 kB / 449.7 MB, free: 87.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/3.681, allocations: 40.94 kB / 449.8 MB, free: 87.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000474/3.681, allocations: 288.4 kB / 450 MB, free: 86.85 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/3.681, allocations: 11.53 kB / 450.1 MB, free: 86.85 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.339e-05/3.682, allocations: 23.06 kB / 450.1 MB, free: 86.85 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001148/3.683, allocations: 0.5012 MB / 450.6 MB, free: 86.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/3.684, allocations: 484.1 kB / 451.1 MB, free: 86.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/3.684, allocations: 0 / 451.1 MB, free: 86.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.98e-05/3.684, allocations: 5.062 kB / 451.1 MB, free: 86.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.11e-05/3.684, allocations: 41.73 kB / 451.1 MB, free: 86.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00286/3.687, allocations: 1.059 MB / 452.2 MB, free: 86.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/3.688, allocations: 451.7 kB / 452.6 MB, free: 86.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004645/3.689, allocations: 143.8 kB / 452.7 MB, free: 86.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.695e-05/3.689, allocations: 9.078 kB / 452.7 MB, free: 86.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/3.689, allocations: 44.55 kB / 452.8 MB, free: 86.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 3.246e-06/3.689, allocations: 0 / 452.8 MB, free: 86.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001281/3.69, allocations: 349.6 kB / 453.1 MB, free: 86.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/3.69, allocations: 57.66 kB / 453.2 MB, free: 86.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/3.69, allocations: 132.5 kB / 453.3 MB, free: 86.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/3.691, allocations: 25.7 kB / 453.3 MB, free: 86.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/3.691, allocations: 195.9 kB / 453.5 MB, free: 86.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/3.691, allocations: 93.25 kB / 453.6 MB, free: 85.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/3.691, allocations: 0 / 453.6 MB, free: 85.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.698e-05/3.691, allocations: 333.9 kB / 454 MB, free: 85.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004206/3.691, allocations: 128.6 kB / 454.1 MB, free: 85.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004104/3.692, allocations: 127.2 kB / 454.2 MB, free: 85.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005075/3.692, allocations: 147.3 kB / 454.3 MB, free: 85.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/3.692, allocations: 1.312 kB / 454.3 MB, free: 85.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001132/3.693, allocations: 346.1 kB / 454.7 MB, free: 85.58 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/3.693, allocations: 8.906 kB / 454.7 MB, free: 85.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/3.694, allocations: 0 / 454.7 MB, free: 85.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/3.694, allocations: 1.375 kB / 454.7 MB, free: 85.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001869/3.695, allocations: 160.4 kB / 454.9 MB, free: 85.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003633/3.699, allocations: 5.599 MB / 460.4 MB, free: 80.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004418/3.7, allocations: 20.02 kB / 460.5 MB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.054e-05/3.7, allocations: 10.94 kB / 460.5 MB, free: 80.2 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.0001522/3.7, allocations: 111.8 kB / 460.6 MB, free: 80.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/3.7, allocations: 15.94 kB / 460.6 MB, free: 80.08 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001834/3.702, allocations: 0.4968 MB / 461.1 MB, free: 79.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/3.702, allocations: 3.812 kB / 461.1 MB, free: 79.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/3.702, allocations: 3.906 kB / 461.1 MB, free: 79.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/3.702, allocations: 5.391 kB / 461.1 MB, free: 79.94 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008243/3.703, allocations: 350.6 kB / 461.5 MB, free: 79.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/3.703, allocations: 1.375 kB / 461.5 MB, free: 79.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001884/3.705, allocations: 156.1 kB / 461.6 MB, free: 79.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.265e-05/3.705, allocations: 5.375 kB / 461.6 MB, free: 79.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.325e-05/3.705, allocations: 8.031 kB / 461.6 MB, free: 79.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003796/3.709, allocations: 5.596 MB / 467.2 MB, free: 74.37 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/3.709, allocations: 5.562 kB / 467.2 MB, free: 74.37 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001262/3.71, allocations: 458.9 kB / 467.7 MB, free: 74.19 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00129/3.711, allocations: 0.8333 MB / 468.5 MB, free: 73.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.063e-05/3.711, allocations: 98.86 kB / 468.6 MB, free: 73.51 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.74e-05/3.711, allocations: 1.344 kB / 468.6 MB, free: 73.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004489/3.712, allocations: 10 kB / 468.6 MB, free: 73.51 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/3.712, allocations: 22.59 kB / 468.6 MB, free: 73.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.805e-05/3.712, allocations: 14.58 kB / 468.6 MB, free: 73.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001172/3.712, allocations: 111.5 kB / 468.8 MB, free: 73.42 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001817/3.714, allocations: 128.1 kB / 468.9 MB, free: 73.39 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.0004856/3.715, allocations: 177.7 kB / 469.1 MB, free: 73.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002839/3.717, allocations: 436.1 kB / 469.5 MB, free: 73.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/3.718, allocations: 1.562 kB / 469.5 MB, free: 73.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002238/3.72, allocations: 305.9 kB / 469.8 MB, free: 73.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004497/3.72, allocations: 14.31 kB / 469.8 MB, free: 73.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003001/3.723, allocations: 0.5502 MB / 470.3 MB, free: 73.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001305/3.725, allocations: 0.8887 MB / 471.2 MB, free: 72.3 MB / 378.7 MB Notification: Performance of SimCode: time 2.034e-06/3.725, allocations: 0.5625 kB / 471.2 MB, free: 72.3 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_laminar_KC_res.mat does not exist to compare? outputFormat=mat