Running command: "" <> buildModelFMU(ModelicaTest.Math.TestScalarFunctions,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_TestScalarFunctions",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.361/2.361, allocations: 234.9 MB / 241.9 MB, free: 9.758 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1549/2.516, allocations: 57.21 MB / 299.1 MB, free: 444 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/2.887, allocations: 54.84 MB / 354 MB, free: 13.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2097/3.097, allocations: 79.85 MB / 433.8 MB, free: 13.46 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/3.097, allocations: 63.91 kB / 433.9 MB, free: 13.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.03949/3.137, allocations: 6.177 MB / 440 MB, free: 7.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.776e-05/3.137, allocations: 8 kB / 440.1 MB, free: 7.152 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.749e-05/3.137, allocations: 3.906 kB / 440.1 MB, free: 7.148 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/3.137, allocations: 159.1 kB / 440.2 MB, free: 6.953 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/3.137, allocations: 3.938 kB / 440.2 MB, free: 6.949 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/3.137, allocations: 4 kB / 440.2 MB, free: 6.945 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.953e-05/3.137, allocations: 3.938 kB / 440.2 MB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.612e-05/3.137, allocations: 29.69 kB / 440.3 MB, free: 6.906 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/3.137, allocations: 0 / 440.3 MB, free: 6.906 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/3.137, allocations: 8 kB / 440.3 MB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/3.137, allocations: 0 / 440.3 MB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001382/3.137, allocations: 126.2 kB / 440.4 MB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.159e-05/3.138, allocations: 14.58 kB / 440.4 MB, free: 6.715 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.971e-05/3.138, allocations: 12.95 kB / 440.4 MB, free: 6.699 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.995e-06/3.138, allocations: 0 / 440.4 MB, free: 6.699 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.512e-05/3.138, allocations: 64.14 kB / 440.5 MB, free: 6.621 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.413e-06/3.138, allocations: 4 kB / 440.5 MB, free: 6.617 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001855/3.138, allocations: 33.69 kB / 440.5 MB, free: 6.578 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/3.138, allocations: 77.11 kB / 440.6 MB, free: 6.484 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.7e-05/3.138, allocations: 85 kB / 440.7 MB, free: 6.395 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/3.138, allocations: 25.7 kB / 440.7 MB, free: 6.363 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.246e-05/3.138, allocations: 80.14 kB / 440.8 MB, free: 6.281 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/3.138, allocations: 4 kB / 440.8 MB, free: 6.277 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-06/3.138, allocations: 0 / 440.8 MB, free: 6.277 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/3.138, allocations: 322.8 kB / 441.1 MB, free: 5.953 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.436e-06/3.138, allocations: 0 / 441.1 MB, free: 5.953 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.454e-06/3.138, allocations: 0 / 441.1 MB, free: 5.953 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.648e-05/3.138, allocations: 0 / 441.1 MB, free: 5.953 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/3.138, allocations: 4 kB / 441.1 MB, free: 5.949 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.102e-05/3.138, allocations: 41.62 kB / 441.1 MB, free: 5.902 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/3.138, allocations: 4 kB / 441.1 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/3.138, allocations: 0 / 441.1 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/3.138, allocations: 0 / 441.1 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.472e-06/3.138, allocations: 4.094 kB / 441.1 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/3.138, allocations: 0 / 441.1 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.681e-05/3.139, allocations: 0 / 441.1 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/3.139, allocations: 4 kB / 441.2 MB, free: 5.891 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.0001182/3.139, allocations: 131.3 kB / 441.3 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.049e-05/3.139, allocations: 0 / 441.3 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.938e-05/3.139, allocations: 6.953 kB / 441.3 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/3.139, allocations: 4 kB / 441.3 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/3.139, allocations: 0 / 441.3 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/3.139, allocations: 7.984 kB / 441.3 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/3.139, allocations: 122.2 kB / 441.4 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/3.139, allocations: 3.906 kB / 441.4 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.72e-07/3.139, allocations: 0 / 441.4 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/3.139, allocations: 3.938 kB / 441.4 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/3.139, allocations: 4 kB / 441.4 MB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/3.139, allocations: 0 / 441.4 MB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/3.139, allocations: 0 / 441.4 MB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.812e-05/3.139, allocations: 65.06 kB / 441.5 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002511/3.139, allocations: 449.4 kB / 441.9 MB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.489e-05/3.139, allocations: 77.11 kB / 442 MB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/3.139, allocations: 4 kB / 442 MB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.33e-05/3.139, allocations: 0 / 442 MB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.527e-05/3.139, allocations: 3.984 kB / 442 MB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/3.139, allocations: 4.062 kB / 442 MB, free: 4.914 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.213e-05/3.139, allocations: 75.28 kB / 442.1 MB, free: 4.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001098/3.141, allocations: 7.906 kB / 442.1 MB, free: 4.832 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.0001302/3.141, allocations: 95.25 kB / 442.2 MB, free: 4.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.236e-05/3.141, allocations: 25.7 kB / 442.2 MB, free: 4.699 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/3.141, allocations: 4 kB / 442.2 MB, free: 4.695 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.636e-05/3.141, allocations: 33.64 kB / 442.3 MB, free: 4.656 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/3.141, allocations: 9.094 kB / 442.3 MB, free: 4.648 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001782/3.141, allocations: 44.08 kB / 442.3 MB, free: 4.582 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003074/3.142, allocations: 0.6802 MB / 443 MB, free: 3.875 MB / 378.7 MB Notification: Performance of SimCode: time 1.102e-06/3.142, allocations: 0 / 443 MB, free: 3.875 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions_res.mat does not exist to compare? outputFormat=mat