Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestUtilities_TestRegStep",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.427/2.427, allocations: 235.1 MB / 242 MB, free: 9.754 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1992/2.626, allocations: 57.2 MB / 299.2 MB, free: 444 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/2.916, allocations: 54.86 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2025/3.119, allocations: 78.33 MB / 432.4 MB, free: 14.95 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/3.119, allocations: 67.91 kB / 432.5 MB, free: 14.88 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.00341/3.123, allocations: 0.6368 MB / 433.1 MB, free: 14.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/3.123, allocations: 8 kB / 433.1 MB, free: 14.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.81e-05/3.123, allocations: 7.906 kB / 433.1 MB, free: 14.19 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/3.123, allocations: 167 kB / 433.3 MB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/3.123, allocations: 0 / 433.3 MB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.54e-05/3.123, allocations: 0 / 433.3 MB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.096e-05/3.123, allocations: 4 kB / 433.3 MB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.891e-05/3.123, allocations: 41.59 kB / 433.3 MB, free: 13.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/3.123, allocations: 0 / 433.3 MB, free: 13.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/3.123, allocations: 0 / 433.3 MB, free: 13.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/3.123, allocations: 8 kB / 433.3 MB, free: 13.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001858/3.124, allocations: 122.2 kB / 433.5 MB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/3.124, allocations: 33.69 kB / 433.5 MB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.203e-05/3.124, allocations: 8.859 kB / 433.5 MB, free: 13.72 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006288/3.124, allocations: 125.2 kB / 433.6 MB, free: 13.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/3.125, allocations: 30.56 kB / 433.7 MB, free: 13.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.735e-06/3.125, allocations: 4 kB / 433.7 MB, free: 13.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.002452/3.127, allocations: 185.3 kB / 433.8 MB, free: 13.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/3.127, allocations: 55.41 kB / 433.9 MB, free: 13.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/3.127, allocations: 89 kB / 434 MB, free: 13.19 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/3.127, allocations: 25.7 kB / 434 MB, free: 13.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.648e-05/3.127, allocations: 80.14 kB / 434.1 MB, free: 13.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.67e-05/3.127, allocations: 19.72 kB / 434.1 MB, free: 13.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-06/3.127, allocations: 0 / 434.1 MB, free: 13.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001641/3.128, allocations: 314.8 kB / 434.4 MB, free: 12.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.821e-05/3.128, allocations: 8 kB / 434.4 MB, free: 12.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.808e-05/3.128, allocations: 12 kB / 434.4 MB, free: 12.72 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/3.128, allocations: 16.09 kB / 434.5 MB, free: 12.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/3.128, allocations: 4 kB / 434.5 MB, free: 12.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002766/3.128, allocations: 61.67 kB / 434.5 MB, free: 12.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/3.128, allocations: 4 kB / 434.5 MB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/3.128, allocations: 4 kB / 434.5 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/3.128, allocations: 0 / 434.5 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/3.129, allocations: 19.92 kB / 434.5 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/3.129, allocations: 7.844 kB / 434.5 MB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/3.129, allocations: 11.98 kB / 434.6 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/3.129, allocations: 4 kB / 434.6 MB, free: 12.58 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001013/3.129, allocations: 108.9 kB / 434.7 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.944e-05/3.129, allocations: 0 / 434.7 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000396/3.129, allocations: 85.55 kB / 434.8 MB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/3.129, allocations: 7.906 kB / 434.8 MB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/3.129, allocations: 0 / 434.8 MB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/3.129, allocations: 0 / 434.8 MB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/3.131, allocations: 331.9 kB / 435.1 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/3.131, allocations: 0 / 435.1 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003356/3.131, allocations: 15.98 kB / 435.1 MB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/3.131, allocations: 0 / 435.1 MB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/3.131, allocations: 0 / 435.1 MB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-05/3.131, allocations: 7.984 kB / 435.1 MB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.834e-06/3.131, allocations: 7.969 kB / 435.1 MB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004674/3.132, allocations: 174 kB / 435.3 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007037/3.132, allocations: 0.5453 MB / 435.8 MB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.682e-05/3.132, allocations: 77.11 kB / 435.9 MB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.46e-05/3.132, allocations: 7.984 kB / 435.9 MB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004008/3.133, allocations: 4 kB / 435.9 MB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/3.133, allocations: 8 kB / 435.9 MB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/3.133, allocations: 7.922 kB / 435.9 MB, free: 11.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.262e-05/3.133, allocations: 83.19 kB / 436 MB, free: 10.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002935/3.136, allocations: 8 kB / 436 MB, free: 10.98 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0003817/3.137, allocations: 103.2 kB / 436.1 MB, free: 10.87 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000297/3.137, allocations: 23.98 kB / 436.1 MB, free: 10.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/3.137, allocations: 0 / 436.1 MB, free: 10.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001148/3.137, allocations: 19.94 kB / 436.2 MB, free: 10.83 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/3.137, allocations: 160 / 436.2 MB, free: 10.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/3.139, allocations: 92.75 kB / 436.3 MB, free: 10.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005544/3.139, allocations: 0.7035 MB / 437 MB, free: 9.98 MB / 378.7 MB Notification: Performance of SimCode: time 1.403e-06/3.139, allocations: 0 / 437 MB, free: 9.98 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat does not exist to compare? outputFormat=mat