Running command: "" <> buildModelFMU(ModelicaTest.Math.TestPolynomials,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Math_TestPolynomials",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.588/2.588, allocations: 235.1 MB / 242 MB, free: 9.766 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1849/2.773, allocations: 57.19 MB / 299.2 MB, free: 464 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/3.083, allocations: 54.86 MB / 354.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6977/3.78, allocations: 191.8 MB / 0.5331 GB, free: 13.83 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/3.781, allocations: 66.41 kB / 0.5331 GB, free: 13.8 MB / 410.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.06773/3.848, allocations: 10.75 MB / 0.5436 GB, free: 4.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.272e-05/3.848, allocations: 11.94 kB / 0.5436 GB, free: 4.809 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.997e-05/3.849, allocations: 0 / 0.5436 GB, free: 4.809 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/3.849, allocations: 167.1 kB / 0.5438 GB, free: 4.605 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/3.849, allocations: 0 / 0.5438 GB, free: 4.605 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/3.849, allocations: 3.984 kB / 0.5438 GB, free: 4.602 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.311e-05/3.849, allocations: 0 / 0.5438 GB, free: 4.602 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.458e-05/3.849, allocations: 33.61 kB / 0.5438 GB, free: 4.562 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/3.849, allocations: 0 / 0.5438 GB, free: 4.562 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/3.849, allocations: 4 kB / 0.5438 GB, free: 4.559 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/3.849, allocations: 0 / 0.5438 GB, free: 4.559 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001976/3.849, allocations: 122.2 kB / 0.5439 GB, free: 4.402 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.511e-05/3.849, allocations: 26.53 kB / 0.544 GB, free: 4.367 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.543e-05/3.849, allocations: 4.859 kB / 0.544 GB, free: 4.359 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/3.849, allocations: 0 / 0.544 GB, free: 4.359 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.993e-05/3.849, allocations: 60.02 kB / 0.544 GB, free: 4.289 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 2.966e-06/3.85, allocations: 4 kB / 0.544 GB, free: 4.285 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002912/3.85, allocations: 29.77 kB / 0.5441 GB, free: 4.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.307e-05/3.85, allocations: 77.11 kB / 0.5441 GB, free: 4.156 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.992e-05/3.85, allocations: 92.91 kB / 0.5442 GB, free: 4.059 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/3.85, allocations: 25.7 kB / 0.5442 GB, free: 4.027 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.017e-05/3.85, allocations: 80.14 kB / 0.5443 GB, free: 3.945 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/3.85, allocations: 0 / 0.5443 GB, free: 3.945 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/3.85, allocations: 0 / 0.5443 GB, free: 3.945 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002008/3.85, allocations: 318.9 kB / 0.5446 GB, free: 3.625 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.482e-05/3.85, allocations: 3.5 kB / 0.5446 GB, free: 3.625 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.097e-05/3.85, allocations: 7.938 kB / 0.5446 GB, free: 3.617 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.374e-05/3.851, allocations: 0 / 0.5446 GB, free: 3.617 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/3.851, allocations: 0 / 0.5446 GB, free: 3.617 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001708/3.851, allocations: 29.7 kB / 0.5447 GB, free: 3.582 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/3.851, allocations: 4 kB / 0.5447 GB, free: 3.578 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/3.851, allocations: 4 kB / 0.5447 GB, free: 3.574 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/3.851, allocations: 0 / 0.5447 GB, free: 3.574 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.816e-06/3.851, allocations: 4.094 kB / 0.5447 GB, free: 3.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/3.851, allocations: 3.906 kB / 0.5447 GB, free: 3.566 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.966e-05/3.851, allocations: 3.984 kB / 0.5447 GB, free: 3.562 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/3.851, allocations: 0 / 0.5447 GB, free: 3.562 MB / 410.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.0001637/3.851, allocations: 134.6 kB / 0.5448 GB, free: 3.418 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.965e-05/3.851, allocations: 3.938 kB / 0.5448 GB, free: 3.414 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.365e-05/3.851, allocations: 3 kB / 0.5448 GB, free: 3.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/3.851, allocations: 0 / 0.5448 GB, free: 3.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/3.851, allocations: 4 kB / 0.5448 GB, free: 3.406 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/3.851, allocations: 7.906 kB / 0.5448 GB, free: 3.398 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/3.852, allocations: 130.2 kB / 0.545 GB, free: 3.234 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/3.852, allocations: 0 / 0.545 GB, free: 3.234 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.874e-06/3.852, allocations: 0 / 0.545 GB, free: 3.234 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/3.852, allocations: 0 / 0.545 GB, free: 3.234 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/3.852, allocations: 0 / 0.545 GB, free: 3.234 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/3.852, allocations: 0 / 0.545 GB, free: 3.234 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/3.852, allocations: 3.938 kB / 0.545 GB, free: 3.23 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002086/3.852, allocations: 68.28 kB / 0.545 GB, free: 3.148 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004183/3.852, allocations: 437.2 kB / 0.5454 GB, free: 2.707 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.077e-05/3.852, allocations: 77.11 kB / 0.5455 GB, free: 2.613 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.704e-05/3.852, allocations: 7.891 kB / 0.5455 GB, free: 2.605 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.201e-05/3.853, allocations: 7.688 kB / 0.5455 GB, free: 2.602 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.594e-05/3.853, allocations: 0 / 0.5455 GB, free: 2.602 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.495e-06/3.853, allocations: 4.062 kB / 0.5455 GB, free: 2.598 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.914e-05/3.853, allocations: 75.28 kB / 0.5456 GB, free: 2.523 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002494/3.855, allocations: 91.05 kB / 0.5457 GB, free: 2.441 MB / 410.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.001094/3.856, allocations: 213.4 kB / 0.5459 GB, free: 2.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001199/3.856, allocations: 29.7 kB / 0.5459 GB, free: 2.195 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/3.856, allocations: 0 / 0.5459 GB, free: 2.195 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.124e-05/3.856, allocations: 29.64 kB / 0.546 GB, free: 2.164 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/3.857, allocations: 4 kB / 0.546 GB, free: 2.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002208/3.857, allocations: 47.88 kB / 0.546 GB, free: 2.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003842/3.857, allocations: 0.6919 MB / 0.5467 GB, free: 1.371 MB / 410.7 MB Notification: Performance of SimCode: time 1.353e-06/3.857, allocations: 4.125 kB / 0.5467 GB, free: 1.367 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Math.TestPolynomials_res.mat does not exist to compare? outputFormat=mat