Running command: "" <> buildModelFMU(ModelicaTest.ComplexMath.TestComplexFunctions,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_ComplexMath_TestComplexFunctions",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.43/2.43, allocations: 235 MB / 241.9 MB, free: 9.785 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1832/2.613, allocations: 57.19 MB / 299.1 MB, free: 492 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/2.901, allocations: 54.85 MB / 354 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1747/3.075, allocations: 83.06 MB / 437 MB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/3.076, allocations: 67.97 kB / 437.1 MB, free: 10.22 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.267/3.343, allocations: 15.06 MB / 452.2 MB, free: 83.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/3.343, allocations: 7.438 kB / 452.2 MB, free: 83.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.649e-05/3.343, allocations: 3.906 kB / 452.2 MB, free: 83.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.679e-05/3.343, allocations: 163.6 kB / 452.3 MB, free: 83.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/3.343, allocations: 7.062 kB / 452.3 MB, free: 83.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/3.343, allocations: 6.828 kB / 452.3 MB, free: 83.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.754e-05/3.343, allocations: 0 / 452.3 MB, free: 83.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.315e-05/3.343, allocations: 33.92 kB / 452.4 MB, free: 83.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/3.343, allocations: 0 / 452.4 MB, free: 83.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.48e-05/3.343, allocations: 0 / 452.4 MB, free: 83.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/3.343, allocations: 0 / 452.4 MB, free: 83.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001008/3.343, allocations: 126.8 kB / 452.5 MB, free: 83.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.058e-05/3.343, allocations: 22.42 kB / 452.5 MB, free: 83.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.67e-05/3.343, allocations: 9.422 kB / 452.5 MB, free: 83.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.245e-06/3.343, allocations: 0 / 452.5 MB, free: 83.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/3.343, allocations: 61.27 kB / 452.6 MB, free: 83.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.273e-06/3.343, allocations: 3.938 kB / 452.6 MB, free: 83.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001441/3.344, allocations: 36.73 kB / 452.6 MB, free: 82.99 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/3.344, allocations: 77.8 kB / 452.7 MB, free: 82.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.361e-05/3.344, allocations: 85.75 kB / 452.8 MB, free: 82.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.247e-06/3.344, allocations: 25.7 kB / 452.8 MB, free: 82.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.596e-05/3.344, allocations: 80.14 kB / 452.9 MB, free: 82.69 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/3.344, allocations: 0.875 kB / 452.9 MB, free: 82.69 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-06/3.344, allocations: 1.203 kB / 452.9 MB, free: 82.69 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.578e-05/3.344, allocations: 319 kB / 453.2 MB, free: 82.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.826e-06/3.344, allocations: 2.969 kB / 453.2 MB, free: 82.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.623e-06/3.344, allocations: 0 / 453.2 MB, free: 82.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.074e-05/3.344, allocations: 0 / 453.2 MB, free: 82.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/3.344, allocations: 3.156 kB / 453.2 MB, free: 82.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.706e-05/3.344, allocations: 37.47 kB / 453.2 MB, free: 82.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/3.344, allocations: 3.969 kB / 453.2 MB, free: 82.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/3.344, allocations: 0 / 453.2 MB, free: 82.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/3.344, allocations: 3.594 kB / 453.2 MB, free: 82.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.236e-06/3.344, allocations: 3.938 kB / 453.3 MB, free: 82.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/3.344, allocations: 3.281 kB / 453.3 MB, free: 82.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.604e-05/3.344, allocations: 0 / 453.3 MB, free: 82.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/3.344, allocations: 0 / 453.3 MB, free: 82.34 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 7.951e-05/3.344, allocations: 134.6 kB / 453.4 MB, free: 82.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/3.344, allocations: 4.531 kB / 453.4 MB, free: 82.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.679e-05/3.344, allocations: 6.953 kB / 453.4 MB, free: 82.19 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/3.344, allocations: 6.328 kB / 453.4 MB, free: 82.19 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/3.344, allocations: 0 / 453.4 MB, free: 82.19 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/3.344, allocations: 0 / 453.4 MB, free: 82.19 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.682e-05/3.344, allocations: 126.7 kB / 453.5 MB, free: 82.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/3.344, allocations: 3.938 kB / 453.5 MB, free: 82.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-06/3.344, allocations: 0 / 453.5 MB, free: 82.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/3.344, allocations: 0 / 453.5 MB, free: 82.03 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/3.344, allocations: 128 / 453.5 MB, free: 82.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/3.344, allocations: 4 kB / 453.5 MB, free: 82.03 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/3.344, allocations: 0 / 453.5 MB, free: 82.03 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.171e-05/3.344, allocations: 67.33 kB / 453.6 MB, free: 81.96 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002023/3.345, allocations: 463 kB / 454.1 MB, free: 81.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.492e-05/3.345, allocations: 77.11 kB / 454.1 MB, free: 81.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/3.345, allocations: 3.875 kB / 454.1 MB, free: 81.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.398e-05/3.345, allocations: 0 / 454.1 MB, free: 81.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.351e-05/3.345, allocations: 0 / 454.1 MB, free: 81.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/3.345, allocations: 0 / 454.1 MB, free: 81.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-05/3.345, allocations: 79.19 kB / 454.2 MB, free: 81.33 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001197/3.346, allocations: 14.31 kB / 454.2 MB, free: 81.32 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.0001298/3.346, allocations: 97.41 kB / 454.3 MB, free: 81.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.89e-05/3.346, allocations: 33.45 kB / 454.4 MB, free: 81.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/3.346, allocations: 0 / 454.4 MB, free: 81.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.972e-05/3.346, allocations: 29.36 kB / 454.4 MB, free: 81.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001181/3.346, allocations: 3.75 kB / 454.4 MB, free: 81.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001608/3.347, allocations: 51.12 kB / 454.4 MB, free: 81.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/3.347, allocations: 0.6799 MB / 455.1 MB, free: 80.39 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/3.347, allocations: 0 / 455.1 MB, free: 80.39 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexFunctions_res.mat does not exist to compare? outputFormat=mat