Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_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.964/1.964, allocations: 209.3 MB / 216.3 MB, free: 6.793 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.217/2.181, allocations: 51.05 MB / 267.3 MB, free: 5.113 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/2.32, allocations: 48.69 MB / 316 MB, free: 4.324 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3682/2.688, allocations: 84.88 MB / 400.9 MB, free: 7.797 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003697/2.689, allocations: 98.06 kB / 401 MB, free: 7.742 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.07669/2.765, allocations: 14.48 MB / 415.5 MB, free: 11.46 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/2.765, allocations: 12 kB / 415.5 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/2.765, allocations: 39.44 kB / 415.5 MB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005484/2.766, allocations: 276.7 kB / 415.8 MB, free: 11.11 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.036e-05/2.766, allocations: 15.98 kB / 415.8 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.084e-05/2.766, allocations: 20 kB / 415.8 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001162/2.767, allocations: 0.4989 MB / 416.3 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/2.769, allocations: 487.6 kB / 416.8 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/2.769, allocations: 3.938 kB / 416.8 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.114e-05/2.769, allocations: 0 / 416.8 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.471e-05/2.769, allocations: 44.53 kB / 416.8 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003096/2.772, allocations: 1.067 MB / 417.9 MB, free: 9.285 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/2.773, allocations: 448.1 kB / 418.4 MB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004113/2.774, allocations: 146 kB / 418.5 MB, free: 8.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.195e-05/2.774, allocations: 11.53 kB / 418.5 MB, free: 8.742 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/2.774, allocations: 42.11 kB / 418.5 MB, free: 8.695 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 3.166e-06/2.774, allocations: 0 / 418.5 MB, free: 8.695 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.00116/2.775, allocations: 350.8 kB / 418.9 MB, free: 8.375 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/2.775, allocations: 51.41 kB / 418.9 MB, free: 8.312 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/2.775, allocations: 135.9 kB / 419.1 MB, free: 8.184 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.153e-05/2.775, allocations: 29.7 kB / 419.1 MB, free: 8.148 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/2.775, allocations: 188.4 kB / 419.3 MB, free: 7.969 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000136/2.776, allocations: 92.44 kB / 419.4 MB, free: 7.887 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.687e-05/2.776, allocations: 0 / 419.4 MB, free: 7.887 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001765/2.776, allocations: 337.4 kB / 419.7 MB, free: 7.555 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003708/2.776, allocations: 127.1 kB / 419.8 MB, free: 7.445 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003706/2.777, allocations: 129.2 kB / 420 MB, free: 7.332 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004733/2.777, allocations: 148.1 kB / 420.1 MB, free: 7.199 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/2.777, allocations: 3.938 kB / 420.1 MB, free: 7.195 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001035/2.778, allocations: 341.9 kB / 420.4 MB, free: 6.883 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/2.778, allocations: 11.98 kB / 420.4 MB, free: 6.871 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/2.778, allocations: 0 / 420.4 MB, free: 6.871 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/2.778, allocations: 0 / 420.4 MB, free: 6.871 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001653/2.78, allocations: 162.8 kB / 420.6 MB, free: 6.715 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004793/2.785, allocations: 5.593 MB / 426.2 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004404/2.785, allocations: 23.77 kB / 426.2 MB, free: 0.957 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.942e-05/2.785, allocations: 12.19 kB / 426.2 MB, free: 0.9453 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.0001746/2.785, allocations: 112.9 kB / 426.3 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.109e-05/2.785, allocations: 15.81 kB / 426.4 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001612/2.787, allocations: 0.4953 MB / 426.9 MB, free: 372 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/2.787, allocations: 4 kB / 426.9 MB, free: 368 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/2.787, allocations: 0 / 426.9 MB, free: 368 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/2.787, allocations: 0 / 426.9 MB, free: 368 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008154/2.788, allocations: 349.8 kB / 427.2 MB, free: 16 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/2.788, allocations: 7.938 kB / 427.2 MB, free: 8 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001665/2.79, allocations: 154.6 kB / 427.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.588e-05/2.79, allocations: 0 / 427.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.19e-05/2.79, allocations: 15.17 kB / 427.4 MB, free: 15.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004821/2.795, allocations: 5.601 MB / 433 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.976e-06/2.795, allocations: 3.906 kB / 433 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001124/2.796, allocations: 454.8 kB / 433.4 MB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001337/2.797, allocations: 0.8187 MB / 434.2 MB, free: 8.871 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/2.797, allocations: 100.8 kB / 434.3 MB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.686e-05/2.797, allocations: 4.094 kB / 434.3 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003851/2.798, allocations: 11.98 kB / 434.4 MB, free: 8.738 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.856e-05/2.798, allocations: 19.16 kB / 434.4 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.853e-05/2.798, allocations: 11.25 kB / 434.4 MB, free: 8.715 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001208/2.798, allocations: 109.8 kB / 434.5 MB, free: 8.613 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001779/2.8, allocations: 183.8 kB / 434.7 MB, free: 8.449 MB / 362.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.0007491/2.801, allocations: 262.9 kB / 434.9 MB, free: 8.188 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00249/2.803, allocations: 442.4 kB / 435.4 MB, free: 7.785 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/2.803, allocations: 0 / 435.4 MB, free: 7.785 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002016/2.805, allocations: 308.5 kB / 435.7 MB, free: 7.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/2.806, allocations: 19.55 kB / 435.7 MB, free: 7.484 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/2.808, allocations: 0.5387 MB / 436.2 MB, free: 6.941 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008117/2.809, allocations: 0.8981 MB / 437.1 MB, free: 6.023 MB / 362.7 MB Notification: Performance of SimCode: time 1.472e-06/2.809, allocations: 0 / 437.1 MB, free: 6.023 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_overall_KC_res.mat does not exist to compare? outputFormat=mat