Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestFiles,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Utilities_TestFiles",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.243/2.243, allocations: 234.9 MB / 241.9 MB, free: 9.758 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1692/2.412, allocations: 57.21 MB / 299.1 MB, free: 448 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/2.699, allocations: 54.84 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1602/2.86, allocations: 78.87 MB / 432.8 MB, free: 14.45 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/2.86, allocations: 59.92 kB / 432.9 MB, free: 14.39 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.008944/2.869, allocations: 1.987 MB / 434.9 MB, free: 12.36 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/2.869, allocations: 8 kB / 434.9 MB, free: 12.35 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/2.869, allocations: 11.89 kB / 434.9 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/2.869, allocations: 159.1 kB / 435.1 MB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/2.869, allocations: 0 / 435.1 MB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/2.869, allocations: 4 kB / 435.1 MB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.79e-05/2.869, allocations: 0 / 435.1 MB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.956e-05/2.869, allocations: 33.64 kB / 435.1 MB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/2.87, allocations: 0 / 435.1 MB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/2.87, allocations: 0 / 435.1 MB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/2.87, allocations: 0 / 435.1 MB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/2.87, allocations: 134.1 kB / 435.2 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.669e-05/2.87, allocations: 22.61 kB / 435.2 MB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.925e-05/2.87, allocations: 12.84 kB / 435.3 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-06/2.87, allocations: 0 / 435.3 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.552e-05/2.87, allocations: 56.27 kB / 435.3 MB, free: 11.81 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.383e-06/2.87, allocations: 0 / 435.3 MB, free: 11.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001626/2.87, allocations: 29.77 kB / 435.3 MB, free: 11.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/2.87, allocations: 81.11 kB / 435.4 MB, free: 11.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.513e-05/2.87, allocations: 85 kB / 435.5 MB, free: 11.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/2.87, allocations: 29.73 kB / 435.5 MB, free: 11.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.366e-05/2.87, allocations: 84.12 kB / 435.6 MB, free: 11.47 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/2.87, allocations: 7.938 kB / 435.6 MB, free: 11.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-06/2.87, allocations: 0 / 435.6 MB, free: 11.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001635/2.87, allocations: 314.8 kB / 435.9 MB, free: 11.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.456e-06/2.87, allocations: 3.938 kB / 435.9 MB, free: 11.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.398e-06/2.871, allocations: 4 kB / 435.9 MB, free: 11.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.705e-05/2.871, allocations: 0 / 435.9 MB, free: 11.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/2.871, allocations: 0 / 435.9 MB, free: 11.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.397e-05/2.871, allocations: 33.77 kB / 436 MB, free: 11.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/2.871, allocations: 8 kB / 436 MB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/2.871, allocations: 0 / 436 MB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/2.871, allocations: 0 / 436 MB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.303e-06/2.871, allocations: 0 / 436 MB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/2.871, allocations: 3.984 kB / 436 MB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.934e-05/2.871, allocations: 0 / 436 MB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/2.871, allocations: 0 / 436 MB, free: 11.09 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: 1 (result) * 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: 1 * 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.0001111/2.871, allocations: 134.6 kB / 436.1 MB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/2.871, allocations: 8.031 kB / 436.1 MB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.773e-05/2.871, allocations: 6.953 kB / 436.1 MB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/2.871, allocations: 0 / 436.1 MB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/2.871, allocations: 0 / 436.1 MB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/2.871, allocations: 0 / 436.1 MB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/2.871, allocations: 142.1 kB / 436.3 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/2.871, allocations: 0 / 436.3 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-06/2.871, allocations: 0 / 436.3 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/2.871, allocations: 0 / 436.3 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/2.871, allocations: 0 / 436.3 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/2.871, allocations: 0 / 436.3 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/2.871, allocations: 7.938 kB / 436.3 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001118/2.871, allocations: 57.12 kB / 436.3 MB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002711/2.872, allocations: 441.5 kB / 436.8 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.954e-05/2.872, allocations: 85.16 kB / 436.8 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/2.872, allocations: 3.938 kB / 436.8 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.352e-05/2.872, allocations: 4 kB / 436.9 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.343e-05/2.872, allocations: 0 / 436.9 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/2.872, allocations: 0 / 436.9 MB, free: 10.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.712e-05/2.872, allocations: 79.19 kB / 436.9 MB, free: 10.03 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001239/2.873, allocations: 55.91 kB / 437 MB, free: 9.973 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: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000656/2.874, allocations: 217.4 kB / 437.2 MB, free: 9.777 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001063/2.874, allocations: 29.7 kB / 437.2 MB, free: 9.742 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/2.874, allocations: 4.062 kB / 437.2 MB, free: 9.738 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.682e-05/2.874, allocations: 29.7 kB / 437.3 MB, free: 9.703 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001067/2.874, allocations: 0 / 437.3 MB, free: 9.703 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001772/2.874, allocations: 48.02 kB / 437.3 MB, free: 9.633 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002942/2.875, allocations: 0.6841 MB / 438 MB, free: 8.922 MB / 378.7 MB Notification: Performance of SimCode: time 7.61e-07/2.875, allocations: 0 / 438 MB, free: 8.922 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles_res.mat does not exist to compare? outputFormat=mat