Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",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.385/2.385, allocations: 235.1 MB / 242 MB, free: 9.754 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.208/2.593, allocations: 57.2 MB / 299.2 MB, free: 452 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/2.877, allocations: 54.85 MB / 354.1 MB, free: 13.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1592/3.037, allocations: 78.44 MB / 432.5 MB, free: 14.87 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/3.037, allocations: 67.91 kB / 432.6 MB, free: 14.8 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.004871/3.042, allocations: 0.9212 MB / 433.5 MB, free: 13.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/3.042, allocations: 8 kB / 433.5 MB, free: 13.83 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.239e-05/3.042, allocations: 4 kB / 433.5 MB, free: 13.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/3.042, allocations: 174.9 kB / 433.7 MB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/3.042, allocations: 3.984 kB / 433.7 MB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/3.042, allocations: 4 kB / 433.7 MB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001818/3.042, allocations: 43.97 kB / 433.7 MB, free: 13.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/3.043, allocations: 49.69 kB / 433.8 MB, free: 13.51 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/3.043, allocations: 0 / 433.8 MB, free: 13.51 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/3.043, allocations: 4 kB / 433.8 MB, free: 13.51 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/3.043, allocations: 7.922 kB / 433.8 MB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002332/3.043, allocations: 146.1 kB / 433.9 MB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/3.043, allocations: 70.55 kB / 434 MB, free: 13.24 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.173e-05/3.043, allocations: 24.86 kB / 434 MB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005319/3.044, allocations: 247.3 kB / 434.3 MB, free: 12.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/3.044, allocations: 42.55 kB / 434.3 MB, free: 12.87 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.294e-06/3.044, allocations: 0 / 434.3 MB, free: 12.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004453/3.044, allocations: 89.73 kB / 434.4 MB, free: 12.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/3.044, allocations: 55.41 kB / 434.5 MB, free: 12.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.609e-05/3.044, allocations: 85 kB / 434.5 MB, free: 12.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/3.045, allocations: 25.7 kB / 434.6 MB, free: 12.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.824e-05/3.045, allocations: 80.14 kB / 434.6 MB, free: 12.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.522e-05/3.045, allocations: 31.55 kB / 434.7 MB, free: 12.47 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-06/3.045, allocations: 0 / 434.7 MB, free: 12.47 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000151/3.045, allocations: 315 kB / 435 MB, free: 12.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.146e-05/3.045, allocations: 20 kB / 435 MB, free: 12.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.051e-05/3.045, allocations: 12 kB / 435 MB, free: 12.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/3.045, allocations: 31.81 kB / 435 MB, free: 12.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/3.045, allocations: 0 / 435 MB, free: 12.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003254/3.046, allocations: 81.89 kB / 435.1 MB, free: 12.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/3.046, allocations: 4 kB / 435.1 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/3.046, allocations: 7.922 kB / 435.1 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/3.046, allocations: 4 kB / 435.1 MB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/3.046, allocations: 15.94 kB / 435.2 MB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/3.046, allocations: 0 / 435.2 MB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.192e-05/3.046, allocations: 7.906 kB / 435.2 MB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/3.046, allocations: 4 kB / 435.2 MB, free: 11.96 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 (10): * Single equations (assignments): 10 * 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.0001351/3.046, allocations: 101 kB / 435.3 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/3.046, allocations: 7.906 kB / 435.3 MB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004451/3.047, allocations: 101.9 kB / 435.4 MB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/3.047, allocations: 0 / 435.4 MB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/3.047, allocations: 96 / 435.4 MB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/3.047, allocations: 7.938 kB / 435.4 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001954/3.047, allocations: 146.1 kB / 435.5 MB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/3.047, allocations: 8 kB / 435.5 MB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/3.047, allocations: 19.98 kB / 435.5 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/3.047, allocations: 0 / 435.5 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/3.047, allocations: 0 / 435.5 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/3.047, allocations: 0 / 435.5 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/3.047, allocations: 0 / 435.5 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003615/3.047, allocations: 120.9 kB / 435.7 MB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005425/3.048, allocations: 489.4 kB / 436.1 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.873e-05/3.048, allocations: 85 kB / 436.2 MB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/3.048, allocations: 4 kB / 436.2 MB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.975e-05/3.048, allocations: 0 / 436.2 MB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.157e-05/3.048, allocations: 0 / 436.2 MB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/3.048, allocations: 4 kB / 436.2 MB, free: 10.78 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.624e-05/3.048, allocations: 83.27 kB / 436.3 MB, free: 10.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001341/3.05, allocations: 19.94 kB / 436.3 MB, free: 10.68 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 (10): * Single equations (assignments): 10 * 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.0002381/3.05, allocations: 119.2 kB / 436.5 MB, free: 10.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002216/3.05, allocations: 43.98 kB / 436.5 MB, free: 10.51 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/3.05, allocations: 0 / 436.5 MB, free: 10.51 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.16e-05/3.05, allocations: 32.31 kB / 436.5 MB, free: 10.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/3.05, allocations: 3.906 kB / 436.5 MB, free: 10.47 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004371/3.051, allocations: 92 kB / 436.6 MB, free: 10.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004115/3.051, allocations: 0.7074 MB / 437.3 MB, free: 9.625 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/3.051, allocations: 0 / 437.3 MB, free: 9.625 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat does not exist to compare? outputFormat=mat