Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",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 2.296/2.296, allocations: 235 MB / 241.9 MB, free: 9.77 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1832/2.479, allocations: 57.21 MB / 299.1 MB, free: 452 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/2.761, allocations: 54.84 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1814/2.943, allocations: 79.67 MB / 433.6 MB, free: 13.65 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/2.943, allocations: 75.88 kB / 433.7 MB, free: 13.57 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.05369/2.997, allocations: 8.228 MB / 441.9 MB, free: 5.289 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/2.997, allocations: 12 kB / 442 MB, free: 5.277 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.453e-05/2.997, allocations: 7.906 kB / 442 MB, free: 5.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/2.997, allocations: 163.1 kB / 442.1 MB, free: 5.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/2.997, allocations: 0 / 442.1 MB, free: 5.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/2.997, allocations: 0 / 442.1 MB, free: 5.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.993e-05/2.997, allocations: 4 kB / 442.1 MB, free: 5.066 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.228e-05/2.997, allocations: 37.64 kB / 442.2 MB, free: 5.023 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/2.997, allocations: 0 / 442.2 MB, free: 5.023 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/2.997, allocations: 3.906 kB / 442.2 MB, free: 5.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/2.997, allocations: 0 / 442.2 MB, free: 5.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001667/2.997, allocations: 126.2 kB / 442.3 MB, free: 4.859 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.572e-05/2.997, allocations: 26.55 kB / 442.3 MB, free: 4.824 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.401e-05/2.997, allocations: 8.797 kB / 442.3 MB, free: 4.812 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/2.997, allocations: 64 / 442.3 MB, free: 4.812 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/2.997, allocations: 38.56 kB / 442.4 MB, free: 4.766 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.503e-06/2.997, allocations: 0 / 442.4 MB, free: 4.766 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002239/2.998, allocations: 29.7 kB / 442.4 MB, free: 4.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/2.998, allocations: 59.31 kB / 442.5 MB, free: 4.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.618e-05/2.998, allocations: 88.98 kB / 442.5 MB, free: 4.566 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/2.998, allocations: 25.7 kB / 442.6 MB, free: 4.535 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.961e-05/2.998, allocations: 84.3 kB / 442.6 MB, free: 4.449 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/2.998, allocations: 7.938 kB / 442.7 MB, free: 4.441 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/2.998, allocations: 4 kB / 442.7 MB, free: 4.438 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/2.998, allocations: 310.8 kB / 443 MB, free: 4.125 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.624e-05/2.998, allocations: 3.938 kB / 443 MB, free: 4.121 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.239e-05/2.998, allocations: 0 / 443 MB, free: 4.121 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.549e-05/2.998, allocations: 4 kB / 443 MB, free: 4.117 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/2.998, allocations: 0 / 443 MB, free: 4.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001189/2.998, allocations: 41.59 kB / 443 MB, free: 4.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/2.998, allocations: 8.094 kB / 443 MB, free: 4.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/2.998, allocations: 4 kB / 443 MB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/2.999, allocations: 0 / 443 MB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.182e-06/2.999, allocations: 0 / 443 MB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/2.999, allocations: 0 / 443 MB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.448e-05/2.999, allocations: 0 / 443 MB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/2.999, allocations: 0 / 443 MB, free: 4.059 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 8.4e-05/2.999, allocations: 105.7 kB / 443.1 MB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/2.999, allocations: 3.906 kB / 443.1 MB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002082/2.999, allocations: 56.73 kB / 443.2 MB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/2.999, allocations: 0 / 443.2 MB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/2.999, allocations: 0 / 443.2 MB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/2.999, allocations: 4 kB / 443.2 MB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/2.999, allocations: 126.2 kB / 443.3 MB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/2.999, allocations: 0 / 443.3 MB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.072e-06/2.999, allocations: 4.031 kB / 443.3 MB, free: 3.711 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/2.999, allocations: 4 kB / 443.3 MB, free: 3.707 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/2.999, allocations: 3.906 kB / 443.3 MB, free: 3.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.175e-05/2.999, allocations: 4 kB / 443.3 MB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/2.999, allocations: 7.875 kB / 443.3 MB, free: 3.691 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001283/2.999, allocations: 57.14 kB / 443.4 MB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003082/3, allocations: 449.4 kB / 443.8 MB, free: 3.156 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-05/3, allocations: 81.11 kB / 443.9 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/3, allocations: 0 / 443.9 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.279e-05/3, allocations: 3.984 kB / 443.9 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.818e-05/3, allocations: 4 kB / 443.9 MB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/3, allocations: 7.891 kB / 443.9 MB, free: 3.043 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.69e-05/3, allocations: 75.28 kB / 444 MB, free: 2.969 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002462/3.002, allocations: 56.06 kB / 444.1 MB, free: 2.914 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.000884/3.003, allocations: 151.1 kB / 444.2 MB, free: 2.758 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001711/3.004, allocations: 29.7 kB / 444.2 MB, free: 2.723 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/3.004, allocations: 0 / 444.2 MB, free: 2.723 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.818e-05/3.004, allocations: 29.7 kB / 444.3 MB, free: 2.688 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/3.004, allocations: 3.938 kB / 444.3 MB, free: 2.684 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004575/3.004, allocations: 56.05 kB / 444.3 MB, free: 2.605 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005023/3.005, allocations: 0.688 MB / 445 MB, free: 1.891 MB / 378.7 MB Notification: Performance of SimCode: time 1.823e-06/3.005, allocations: 0 / 445 MB, free: 1.891 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat does not exist to compare? outputFormat=mat