Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar",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.703/2.703, allocations: 235 MB / 242 MB, free: 9.762 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.205/2.909, allocations: 57.22 MB / 299.2 MB, free: 424 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/3.177, allocations: 54.85 MB / 354.1 MB, free: 13.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2081/3.385, allocations: 87.79 MB / 441.9 MB, free: 5.496 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000533/3.386, allocations: 95.88 kB / 442 MB, free: 5.402 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.2925/3.678, allocations: 11.02 MB / 453 MB, free: 86.47 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/3.678, allocations: 6.844 kB / 453 MB, free: 86.47 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/3.678, allocations: 49.03 kB / 453.1 MB, free: 86.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000486/3.679, allocations: 273.7 kB / 453.3 MB, free: 86.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.012e-05/3.679, allocations: 13.38 kB / 453.3 MB, free: 86.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.543e-05/3.679, allocations: 24.72 kB / 453.4 MB, free: 86.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001015/3.68, allocations: 351.4 kB / 453.7 MB, free: 86.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/3.681, allocations: 0.4928 MB / 454.2 MB, free: 85.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/3.681, allocations: 2.75 kB / 454.2 MB, free: 85.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.787e-05/3.682, allocations: 1.406 kB / 454.2 MB, free: 85.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.186e-05/3.682, allocations: 20.53 kB / 454.2 MB, free: 85.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003614/3.685, allocations: 1.249 MB / 455.5 MB, free: 85.24 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006943/3.686, allocations: 253.2 kB / 455.7 MB, free: 85.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003486/3.686, allocations: 112.6 kB / 455.8 MB, free: 85.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.747e-05/3.686, allocations: 16.94 kB / 455.8 MB, free: 85.1 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/3.686, allocations: 37.48 kB / 455.9 MB, free: 85.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 3.517e-06/3.686, allocations: 0 / 455.9 MB, free: 85.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.001116/3.688, allocations: 271 kB / 456.1 MB, free: 84.99 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/3.688, allocations: 112.6 kB / 456.3 MB, free: 84.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003026/3.688, allocations: 182 kB / 456.4 MB, free: 84.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/3.688, allocations: 25.7 kB / 456.5 MB, free: 84.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/3.688, allocations: 208.9 kB / 456.7 MB, free: 84.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.273e-05/3.688, allocations: 55.78 kB / 456.7 MB, free: 84.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/3.688, allocations: 0 / 456.7 MB, free: 84.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.016e-05/3.688, allocations: 330.6 kB / 457 MB, free: 84.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003717/3.689, allocations: 113.6 kB / 457.2 MB, free: 84.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004086/3.689, allocations: 144.4 kB / 457.3 MB, free: 84.08 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004511/3.69, allocations: 116.2 kB / 457.4 MB, free: 84.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/3.69, allocations: 5.281 kB / 457.4 MB, free: 84.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001541/3.691, allocations: 309.8 kB / 457.7 MB, free: 84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/3.691, allocations: 6.469 kB / 457.7 MB, free: 84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001481/3.691, allocations: 27.86 kB / 457.7 MB, free: 84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.526e-05/3.692, allocations: 7.219 kB / 457.8 MB, free: 83.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005102/3.692, allocations: 42.08 kB / 457.8 MB, free: 83.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/3.692, allocations: 2.75 kB / 457.8 MB, free: 83.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004883/3.693, allocations: 38.55 kB / 457.8 MB, free: 83.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.095e-05/3.693, allocations: 16.08 kB / 457.9 MB, free: 83.97 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.0001201/3.693, allocations: 107.2 kB / 458 MB, free: 83.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/3.693, allocations: 16.06 kB / 458 MB, free: 83.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001431/3.694, allocations: 391.8 kB / 458.4 MB, free: 83.76 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/3.694, allocations: 3.719 kB / 458.4 MB, free: 83.76 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/3.694, allocations: 6 kB / 458.4 MB, free: 83.76 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/3.694, allocations: 1.906 kB / 458.4 MB, free: 83.76 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009017/3.695, allocations: 332.2 kB / 458.7 MB, free: 83.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001195/3.695, allocations: 27.23 kB / 458.7 MB, free: 83.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004237/3.696, allocations: 44.02 kB / 458.8 MB, free: 83.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/3.696, allocations: 1.062 kB / 458.8 MB, free: 83.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.845e-05/3.696, allocations: 8.594 kB / 458.8 MB, free: 83.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/3.696, allocations: 6.312 kB / 458.8 MB, free: 83.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/3.696, allocations: 1.25 kB / 458.8 MB, free: 83.54 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001189/3.697, allocations: 0.53 MB / 459.3 MB, free: 83.18 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001269/3.699, allocations: 0.9084 MB / 460.2 MB, free: 82.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.155e-05/3.699, allocations: 97.16 kB / 460.3 MB, free: 82.35 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.598e-05/3.699, allocations: 2.516 kB / 460.3 MB, free: 82.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006125/3.699, allocations: 26.42 kB / 460.3 MB, free: 82.35 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/3.7, allocations: 24.14 kB / 460.4 MB, free: 82.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.465e-05/3.7, allocations: 8.906 kB / 460.4 MB, free: 82.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.000214/3.7, allocations: 151.6 kB / 460.5 MB, free: 82.24 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002191/3.702, allocations: 149.5 kB / 460.7 MB, free: 82.2 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.0007783/3.703, allocations: 208.5 kB / 460.9 MB, free: 82.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001185/3.704, allocations: 482.9 kB / 461.3 MB, free: 81.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/3.704, allocations: 0 / 461.3 MB, free: 81.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007213/3.705, allocations: 358.9 kB / 461.7 MB, free: 81.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000636/3.706, allocations: 27.67 kB / 461.7 MB, free: 81.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/3.708, allocations: 0.5512 MB / 462.3 MB, free: 81.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008938/3.709, allocations: 0.8747 MB / 463.1 MB, free: 80.53 MB / 378.7 MB Notification: Performance of SimCode: time 1.623e-06/3.709, allocations: 4 kB / 463.1 MB, free: 80.52 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_res.mat does not exist to compare? outputFormat=mat