Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestOnly_DryAirNasa",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.355/2.355, allocations: 235 MB / 241.9 MB, free: 9.785 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.158/2.514, allocations: 57.2 MB / 299.1 MB, free: 472 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/2.808, allocations: 54.84 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.567/4.374, allocations: 0.6059 GB / 0.9516 GB, free: 6.914 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/4.375, allocations: 67.97 kB / 0.9516 GB, free: 6.879 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.3987/4.773, allocations: 45.11 MB / 0.9957 GB, free: 155.4 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/4.773, allocations: 8 kB / 0.9957 GB, free: 155.4 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/4.773, allocations: 15.83 kB / 0.9957 GB, free: 155.4 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/4.774, allocations: 163 kB / 0.9959 GB, free: 155.2 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/4.774, allocations: 7.906 kB / 0.9959 GB, free: 155.2 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/4.774, allocations: 11.98 kB / 0.9959 GB, free: 155.2 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001443/4.774, allocations: 39.98 kB / 0.9959 GB, free: 155.2 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/4.774, allocations: 57.67 kB / 0.996 GB, free: 155.1 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/4.774, allocations: 4 kB / 0.996 GB, free: 155.1 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/4.774, allocations: 0 / 0.996 GB, free: 155.1 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/4.774, allocations: 0 / 0.996 GB, free: 155.1 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005021/4.774, allocations: 362.2 kB / 0.9963 GB, free: 154.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/4.775, allocations: 65.62 kB / 0.9964 GB, free: 154.6 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.143e-05/4.775, allocations: 16.8 kB / 0.9964 GB, free: 154.6 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001703/4.776, allocations: 1.005 MB / 0.9974 GB, free: 153.4 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/4.777, allocations: 34.55 kB / 0.9974 GB, free: 153.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=9): time 3.086e-06/4.777, allocations: 0 / 0.9974 GB, free: 153.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.01438/4.791, allocations: 0.9143 MB / 0.9983 GB, free: 152.4 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/4.791, allocations: 55.41 kB / 0.9984 GB, free: 152.4 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/4.791, allocations: 89 kB / 0.9984 GB, free: 152.3 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.168e-05/4.791, allocations: 25.7 kB / 0.9985 GB, free: 152.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.795e-05/4.791, allocations: 88.33 kB / 0.9986 GB, free: 152.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.048e-05/4.791, allocations: 47.3 kB / 0.9986 GB, free: 152.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/4.791, allocations: 0 / 0.9986 GB, free: 152.1 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.428e-05/4.791, allocations: 318.8 kB / 0.9989 GB, free: 151.8 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/4.792, allocations: 75.98 kB / 0.999 GB, free: 151.7 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/4.792, allocations: 95.81 kB / 0.9991 GB, free: 151.6 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002312/4.794, allocations: 239.6 kB / 0.9993 GB, free: 151.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/4.794, allocations: 0 / 0.9993 GB, free: 151.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.002687/4.797, allocations: 366.2 kB / 0.9996 GB, free: 151 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/4.797, allocations: 12.06 kB / 0.9997 GB, free: 151 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/4.797, allocations: 3.938 kB / 0.9997 GB, free: 151 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/4.797, allocations: 3.938 kB / 0.9997 GB, free: 151 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/4.798, allocations: 59.94 kB / 0.9997 GB, free: 150.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/4.798, allocations: 7.906 kB / 0.9997 GB, free: 150.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008559/4.799, allocations: 15.98 kB / 0.9997 GB, free: 150.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/4.799, allocations: 11.98 kB / 0.9998 GB, free: 150.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0001514/4.799, allocations: 108.9 kB / 0.9999 GB, free: 150.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.346e-05/4.799, allocations: 7.906 kB / 0.9999 GB, free: 150.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00346/4.803, allocations: 487 kB / 1 GB, free: 150.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/4.803, allocations: 4 kB / 1 GB, free: 150.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.597e-06/4.803, allocations: 3.906 kB / 1 GB, free: 150.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/4.803, allocations: 0 / 1 GB, free: 150.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00356/4.807, allocations: 0.84 MB / 1.001 GB, free: 149.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/4.807, allocations: 0 / 1.001 GB, free: 149.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009794/4.808, allocations: 47.91 kB / 1.001 GB, free: 149.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/4.808, allocations: 0 / 1.001 GB, free: 149.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.125e-05/4.808, allocations: 15.92 kB / 1.001 GB, free: 149.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/4.808, allocations: 3.906 kB / 1.001 GB, free: 149.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/4.808, allocations: 0 / 1.001 GB, free: 149.3 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002812/4.811, allocations: 481.5 kB / 1.002 GB, free: 148.8 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003151/4.814, allocations: 0.861 MB / 1.003 GB, free: 147.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002116/4.814, allocations: 101 kB / 1.003 GB, free: 147.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/4.814, allocations: 0 / 1.003 GB, free: 147.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000824/4.815, allocations: 7.984 kB / 1.003 GB, free: 147.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.144e-05/4.815, allocations: 23.91 kB / 1.003 GB, free: 147.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-05/4.815, allocations: 7.984 kB / 1.003 GB, free: 147.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.632e-05/4.815, allocations: 79.28 kB / 1.003 GB, free: 147.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002166/4.817, allocations: 191.9 kB / 1.003 GB, free: 147.5 MB / 474.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 (19): * Single equations (assignments): 19 * 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.001361/4.819, allocations: 0.7374 MB / 1.004 GB, free: 146.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007092/4.82, allocations: 183.8 kB / 1.004 GB, free: 146.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/4.82, allocations: 0 / 1.004 GB, free: 146.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000289/4.82, allocations: 107.9 kB / 1.004 GB, free: 146.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005085/4.82, allocations: 23.89 kB / 1.004 GB, free: 146.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000857/4.821, allocations: 175.6 kB / 1.004 GB, free: 146.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005966/4.822, allocations: 0.7467 MB / 1.005 GB, free: 145.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.292e-06/4.822, allocations: 0 / 1.005 GB, free: 145.6 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat does not exist to compare? outputFormat=mat