Running command: "" <> buildModelFMU(ModelicaTest.Math.TestScalarFunctions,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Math_TestScalarFunctions",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.553/2.553, allocations: 235.1 MB / 242 MB, free: 9.758 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1783/2.732, allocations: 57.18 MB / 299.2 MB, free: 460 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/3.076, allocations: 54.86 MB / 354.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1685/3.244, allocations: 79.85 MB / 433.9 MB, free: 13.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/3.244, allocations: 63.91 kB / 434 MB, free: 13.37 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.03656/3.281, allocations: 6.165 MB / 440.2 MB, free: 7.148 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/3.281, allocations: 12 kB / 440.2 MB, free: 7.137 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/3.281, allocations: 3.906 kB / 440.2 MB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/3.281, allocations: 167 kB / 440.3 MB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/3.281, allocations: 0 / 440.3 MB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/3.281, allocations: 0 / 440.3 MB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.298e-05/3.281, allocations: 4 kB / 440.3 MB, free: 6.926 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.714e-05/3.282, allocations: 29.69 kB / 440.4 MB, free: 6.891 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/3.282, allocations: 0 / 440.4 MB, free: 6.891 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/3.282, allocations: 0 / 440.4 MB, free: 6.891 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/3.282, allocations: 0 / 440.4 MB, free: 6.891 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001437/3.282, allocations: 134.2 kB / 440.5 MB, free: 6.723 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.127e-05/3.282, allocations: 18.58 kB / 440.5 MB, free: 6.695 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.041e-05/3.282, allocations: 8.797 kB / 440.5 MB, free: 6.684 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/3.282, allocations: 0 / 440.5 MB, free: 6.684 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.397e-05/3.282, allocations: 64.3 kB / 440.6 MB, free: 6.605 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.933e-06/3.282, allocations: 0 / 440.6 MB, free: 6.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001735/3.282, allocations: 41.67 kB / 440.6 MB, free: 6.559 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/3.282, allocations: 77.11 kB / 440.7 MB, free: 6.465 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.05e-05/3.282, allocations: 85 kB / 440.8 MB, free: 6.375 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/3.282, allocations: 25.7 kB / 440.8 MB, free: 6.344 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.093e-05/3.282, allocations: 80.14 kB / 440.9 MB, free: 6.262 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/3.282, allocations: 4 kB / 440.9 MB, free: 6.258 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-06/3.282, allocations: 0 / 440.9 MB, free: 6.258 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/3.283, allocations: 318.8 kB / 441.2 MB, free: 5.938 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.121e-05/3.283, allocations: 4.031 kB / 441.2 MB, free: 5.934 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.654e-06/3.283, allocations: 0 / 441.2 MB, free: 5.934 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.953e-05/3.283, allocations: 3.938 kB / 441.2 MB, free: 5.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/3.283, allocations: 0 / 441.2 MB, free: 5.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.45e-05/3.283, allocations: 37.62 kB / 441.2 MB, free: 5.887 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/3.283, allocations: 8 kB / 441.3 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/3.283, allocations: 0 / 441.3 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/3.283, allocations: 0 / 441.3 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.753e-06/3.283, allocations: 0 / 441.3 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/3.283, allocations: 0 / 441.3 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.908e-05/3.283, allocations: 4.094 kB / 441.3 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.914e-06/3.283, allocations: 0 / 441.3 MB, free: 5.875 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.0001219/3.283, allocations: 134.6 kB / 441.4 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.173e-05/3.283, allocations: 0 / 441.4 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.477e-05/3.283, allocations: 6.953 kB / 441.4 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/3.283, allocations: 0 / 441.4 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/3.283, allocations: 0 / 441.4 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/3.283, allocations: 7.984 kB / 441.4 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/3.283, allocations: 122.2 kB / 441.5 MB, free: 5.559 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/3.283, allocations: 7.906 kB / 441.5 MB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-06/3.283, allocations: 0 / 441.5 MB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/3.283, allocations: 0 / 441.5 MB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/3.283, allocations: 0 / 441.5 MB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/3.283, allocations: 0 / 441.5 MB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/3.283, allocations: 4 kB / 441.5 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001124/3.283, allocations: 61.06 kB / 441.6 MB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002669/3.284, allocations: 453.4 kB / 442 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-05/3.284, allocations: 77.11 kB / 442.1 MB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/3.284, allocations: 0 / 442.1 MB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.69e-05/3.284, allocations: 8 kB / 442.1 MB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.657e-05/3.284, allocations: 0 / 442.1 MB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/3.284, allocations: 0 / 442.1 MB, free: 4.902 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.459e-05/3.284, allocations: 75.28 kB / 442.2 MB, free: 4.828 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001355/3.285, allocations: 11.94 kB / 442.2 MB, free: 4.816 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.0001778/3.286, allocations: 95.25 kB / 442.3 MB, free: 4.715 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001612/3.286, allocations: 37.64 kB / 442.3 MB, free: 4.672 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/3.286, allocations: 0 / 442.3 MB, free: 4.672 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.21e-05/3.286, allocations: 29.69 kB / 442.4 MB, free: 4.637 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/3.286, allocations: 4 kB / 442.4 MB, free: 4.633 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002188/3.286, allocations: 44.2 kB / 442.4 MB, free: 4.566 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000296/3.287, allocations: 0.6802 MB / 443.1 MB, free: 3.859 MB / 378.7 MB Notification: Performance of SimCode: time 1.142e-06/3.287, allocations: 4 kB / 443.1 MB, free: 3.855 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Math.TestScalarFunctions_res.mat does not exist to compare? outputFormat=mat