Running command: "" <> buildModelFMU(ModelicaTest.ComplexMath.TestComplexOperations,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_ComplexMath_TestComplexOperations",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.35/2.35, allocations: 234.9 MB / 241.9 MB, free: 9.797 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1647/2.515, allocations: 57.2 MB / 299.1 MB, free: 492 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/2.799, allocations: 54.84 MB / 354 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1545/2.954, allocations: 83.06 MB / 437 MB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/2.954, allocations: 67.91 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.3073/3.261, allocations: 15.06 MB / 452.1 MB, free: 83.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/3.261, allocations: 11.52 kB / 452.2 MB, free: 83.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/3.261, allocations: 8.5 kB / 452.2 MB, free: 83.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.421e-05/3.262, allocations: 159.9 kB / 452.3 MB, free: 83.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/3.262, allocations: 0 / 452.3 MB, free: 83.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.397e-06/3.262, allocations: 3.891 kB / 452.3 MB, free: 83.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.671e-05/3.262, allocations: 6.812 kB / 452.3 MB, free: 83.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.411e-05/3.262, allocations: 34.17 kB / 452.4 MB, free: 83.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/3.262, allocations: 0 / 452.4 MB, free: 83.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/3.262, allocations: 0 / 452.4 MB, free: 83.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/3.262, allocations: 0 / 452.4 MB, free: 83.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.984e-05/3.262, allocations: 130.3 kB / 452.5 MB, free: 83.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.407e-05/3.262, allocations: 26.95 kB / 452.5 MB, free: 83.15 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.537e-05/3.262, allocations: 4.859 kB / 452.5 MB, free: 83.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.929e-06/3.262, allocations: 0 / 452.5 MB, free: 83.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/3.262, allocations: 60.77 kB / 452.6 MB, free: 83.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.392e-06/3.262, allocations: 0 / 452.6 MB, free: 83.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001431/3.262, allocations: 33.67 kB / 452.6 MB, free: 83.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/3.262, allocations: 81.5 kB / 452.7 MB, free: 82.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.449e-05/3.262, allocations: 88.62 kB / 452.8 MB, free: 82.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/3.262, allocations: 25.7 kB / 452.8 MB, free: 82.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.747e-05/3.262, allocations: 80.14 kB / 452.9 MB, free: 82.74 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/3.262, allocations: 0.6875 kB / 452.9 MB, free: 82.74 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/3.262, allocations: 0 / 452.9 MB, free: 82.74 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.219e-05/3.262, allocations: 319.9 kB / 453.2 MB, free: 82.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.336e-06/3.262, allocations: 0 / 453.2 MB, free: 82.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.243e-06/3.262, allocations: 3.938 kB / 453.2 MB, free: 82.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.553e-05/3.262, allocations: 0 / 453.2 MB, free: 82.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/3.262, allocations: 3.781 kB / 453.2 MB, free: 82.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.5e-05/3.263, allocations: 29.61 kB / 453.2 MB, free: 82.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/3.263, allocations: 3.5 kB / 453.2 MB, free: 82.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/3.263, allocations: 0 / 453.2 MB, free: 82.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/3.263, allocations: 0 / 453.2 MB, free: 82.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.056e-06/3.263, allocations: 10.66 kB / 453.3 MB, free: 82.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/3.263, allocations: 3.5 kB / 453.3 MB, free: 82.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.646e-05/3.263, allocations: 0 / 453.3 MB, free: 82.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/3.263, allocations: 0 / 453.3 MB, free: 82.39 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.272e-05/3.263, allocations: 139.2 kB / 453.4 MB, free: 82.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-06/3.263, allocations: 3.781 kB / 453.4 MB, free: 82.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.423e-05/3.263, allocations: 6.953 kB / 453.4 MB, free: 82.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/3.263, allocations: 0 / 453.4 MB, free: 82.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/3.263, allocations: 3.125 kB / 453.4 MB, free: 82.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/3.263, allocations: 0 / 453.4 MB, free: 82.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.977e-05/3.263, allocations: 133.5 kB / 453.5 MB, free: 82.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/3.263, allocations: 0 / 453.5 MB, free: 82.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.262e-06/3.263, allocations: 0 / 453.5 MB, free: 82.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/3.263, allocations: 0 / 453.5 MB, free: 82.08 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/3.263, allocations: 0 / 453.5 MB, free: 82.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/3.263, allocations: 0 / 453.5 MB, free: 82.08 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/3.263, allocations: 0 / 453.5 MB, free: 82.08 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.109e-05/3.263, allocations: 64.56 kB / 453.6 MB, free: 82.01 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001761/3.263, allocations: 459.7 kB / 454 MB, free: 81.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.062e-05/3.263, allocations: 77.11 kB / 454.1 MB, free: 81.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/3.263, allocations: 64 / 454.1 MB, free: 81.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.25e-05/3.263, allocations: 7.938 kB / 454.1 MB, free: 81.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.251e-05/3.263, allocations: 3.938 kB / 454.1 MB, free: 81.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/3.263, allocations: 0 / 454.1 MB, free: 81.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.883e-05/3.263, allocations: 79.19 kB / 454.2 MB, free: 81.37 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001167/3.265, allocations: 6.125 kB / 454.2 MB, free: 81.37 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.0001381/3.265, allocations: 103.8 kB / 454.3 MB, free: 81.28 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.531e-05/3.265, allocations: 33.67 kB / 454.4 MB, free: 81.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/3.265, allocations: 0 / 454.4 MB, free: 81.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.943e-05/3.265, allocations: 29.42 kB / 454.4 MB, free: 81.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000113/3.265, allocations: 0 / 454.4 MB, free: 81.21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001515/3.265, allocations: 47.48 kB / 454.4 MB, free: 81.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/3.265, allocations: 0.6838 MB / 455.1 MB, free: 80.45 MB / 378.7 MB Notification: Performance of SimCode: time 7.22e-07/3.265, allocations: 0 / 455.1 MB, free: 80.45 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations_res.mat does not exist to compare? outputFormat=mat