Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestStrings,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Utilities_TestStrings",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.377/2.377, allocations: 235 MB / 241.9 MB, free: 9.758 MB / 194.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2051/2.582, allocations: 57.18 MB / 299.1 MB, free: 0.9414 MB / 242.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/2.941, allocations: 54.84 MB / 354 MB, free: 1.562 MB / 290.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1566/3.098, allocations: 81.89 MB / 435.8 MB, free: 10.23 MB / 370.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/3.098, allocations: 51.98 kB / 435.9 MB, free: 10.18 MB / 370.8 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.09115/3.189, allocations: 17 MB / 452.9 MB, free: 9.141 MB / 386.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/3.19, allocations: 12 kB / 452.9 MB, free: 9.129 MB / 386.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/3.19, allocations: 0 / 452.9 MB, free: 9.129 MB / 386.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/3.19, allocations: 159.1 kB / 453.1 MB, free: 8.934 MB / 386.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/3.19, allocations: 0.6562 kB / 453.1 MB, free: 8.934 MB / 386.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/3.19, allocations: 0 / 453.1 MB, free: 8.934 MB / 386.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.884e-05/3.19, allocations: 7.938 kB / 453.1 MB, free: 8.926 MB / 386.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.027e-05/3.19, allocations: 29.61 kB / 453.1 MB, free: 8.891 MB / 386.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/3.19, allocations: 0 / 453.1 MB, free: 8.891 MB / 386.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/3.19, allocations: 0 / 453.1 MB, free: 8.891 MB / 386.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/3.19, allocations: 7.984 kB / 453.1 MB, free: 8.883 MB / 386.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001351/3.19, allocations: 131.1 kB / 453.2 MB, free: 8.719 MB / 386.8 MB Notification: Performance of preOpt comSubExp (simulation): time 4.141e-05/3.19, allocations: 14.58 kB / 453.2 MB, free: 8.695 MB / 386.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.815e-05/3.19, allocations: 8.797 kB / 453.3 MB, free: 8.684 MB / 386.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/3.19, allocations: 0 / 453.3 MB, free: 8.684 MB / 386.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.754e-05/3.19, allocations: 60.36 kB / 453.3 MB, free: 8.609 MB / 386.8 MB Notification: Performance of pre-optimization done (n=1): time 3.787e-06/3.19, allocations: 7.938 kB / 453.3 MB, free: 8.598 MB / 386.8 MB Notification: Performance of matching and sorting (n=1): time 0.0001839/3.19, allocations: 33.69 kB / 453.4 MB, free: 8.559 MB / 386.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/3.191, allocations: 81.02 kB / 453.4 MB, free: 8.461 MB / 386.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.584e-05/3.191, allocations: 85 kB / 453.5 MB, free: 8.371 MB / 386.8 MB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/3.191, allocations: 27.3 kB / 453.5 MB, free: 8.34 MB / 386.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/3.191, allocations: 84.14 kB / 453.6 MB, free: 8.254 MB / 386.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/3.191, allocations: 0 / 453.6 MB, free: 8.254 MB / 386.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-06/3.191, allocations: 0 / 453.6 MB, free: 8.254 MB / 386.8 MB Notification: Performance of setup shared object (initialization): time 0.0001206/3.191, allocations: 314.8 kB / 453.9 MB, free: 7.938 MB / 386.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.237e-06/3.191, allocations: 4.031 kB / 453.9 MB, free: 7.934 MB / 386.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.311e-06/3.191, allocations: 0 / 453.9 MB, free: 7.934 MB / 386.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.653e-05/3.191, allocations: 0 / 453.9 MB, free: 7.934 MB / 386.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/3.191, allocations: 0 / 453.9 MB, free: 7.934 MB / 386.8 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.255e-05/3.191, allocations: 41.62 kB / 454 MB, free: 7.887 MB / 386.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/3.191, allocations: 4 kB / 454 MB, free: 7.883 MB / 386.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/3.191, allocations: 0 / 454 MB, free: 7.883 MB / 386.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/3.191, allocations: 0 / 454 MB, free: 7.883 MB / 386.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.376e-06/3.191, allocations: 3.906 kB / 454 MB, free: 7.879 MB / 386.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/3.191, allocations: 4.094 kB / 454 MB, free: 7.875 MB / 386.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.49e-05/3.191, allocations: 7.984 kB / 454 MB, free: 7.867 MB / 386.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/3.191, allocations: 4 kB / 454 MB, free: 7.863 MB / 386.8 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.0001033/3.191, allocations: 128.8 kB / 454.1 MB, free: 7.727 MB / 386.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.014e-05/3.191, allocations: 0 / 454.1 MB, free: 7.727 MB / 386.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.668e-05/3.191, allocations: 3 kB / 454.1 MB, free: 7.723 MB / 386.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/3.191, allocations: 4 kB / 454.1 MB, free: 7.719 MB / 386.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/3.191, allocations: 0 / 454.1 MB, free: 7.719 MB / 386.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/3.191, allocations: 7.891 kB / 454.1 MB, free: 7.711 MB / 386.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.899e-05/3.192, allocations: 130.2 kB / 454.3 MB, free: 7.547 MB / 386.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/3.192, allocations: 0 / 454.3 MB, free: 7.547 MB / 386.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.82e-07/3.192, allocations: 0 / 454.3 MB, free: 7.547 MB / 386.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/3.192, allocations: 0 / 454.3 MB, free: 7.547 MB / 386.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/3.192, allocations: 4 kB / 454.3 MB, free: 7.543 MB / 386.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/3.192, allocations: 0 / 454.3 MB, free: 7.543 MB / 386.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/3.192, allocations: 3.938 kB / 454.3 MB, free: 7.539 MB / 386.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001165/3.192, allocations: 64.97 kB / 454.3 MB, free: 7.457 MB / 386.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002638/3.192, allocations: 445.6 kB / 454.8 MB, free: 7 MB / 386.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-05/3.192, allocations: 81.11 kB / 454.9 MB, free: 6.902 MB / 386.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/3.192, allocations: 3.906 kB / 454.9 MB, free: 6.898 MB / 386.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.386e-05/3.192, allocations: 0 / 454.9 MB, free: 6.898 MB / 386.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.426e-05/3.192, allocations: 0 / 454.9 MB, free: 6.898 MB / 386.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/3.192, allocations: 0 / 454.9 MB, free: 6.898 MB / 386.8 MB Notification: Performance of sort global known variables: time 3.807e-05/3.192, allocations: 83.31 kB / 454.9 MB, free: 6.816 MB / 386.8 MB Notification: Performance of remove unused functions: time 0.001646/3.194, allocations: 151.9 kB / 455.1 MB, free: 6.668 MB / 386.8 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.00186/3.196, allocations: 462.7 kB / 455.5 MB, free: 6.246 MB / 386.8 MB Notification: Performance of simCode: created initialization part: time 0.0001469/3.196, allocations: 29.7 kB / 455.6 MB, free: 6.211 MB / 386.8 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/3.196, allocations: 0 / 455.6 MB, free: 6.211 MB / 386.8 MB Notification: Performance of simCode: created simulation system equations: time 6.433e-05/3.196, allocations: 29.77 kB / 455.6 MB, free: 6.176 MB / 386.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/3.196, allocations: 11.92 kB / 455.6 MB, free: 6.164 MB / 386.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001887/3.196, allocations: 47.94 kB / 455.7 MB, free: 6.094 MB / 386.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003291/3.197, allocations: 0.6854 MB / 456.3 MB, free: 5.383 MB / 386.8 MB Notification: Performance of SimCode: time 1.192e-06/3.197, allocations: 3.938 kB / 456.3 MB, free: 5.379 MB / 386.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Utilities.TestStrings_res.mat does not exist to compare? outputFormat=mat