Running command: "" <> buildModelFMU(ModelicaTest.ComplexMath.TestComplexOperations,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_ComplexMath_TestComplexOperations",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.644/2.644, allocations: 235.1 MB / 242 MB, free: 9.734 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1881/2.833, allocations: 57.18 MB / 299.2 MB, free: 444 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/3.167, allocations: 54.86 MB / 354.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1901/3.357, allocations: 83.06 MB / 437.1 MB, free: 10.2 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/3.357, allocations: 63.91 kB / 437.2 MB, free: 10.14 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.3244/3.682, allocations: 15.07 MB / 452.3 MB, free: 83.53 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.412e-05/3.682, allocations: 10.34 kB / 452.3 MB, free: 83.53 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.929e-05/3.682, allocations: 7.156 kB / 452.3 MB, free: 83.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.313e-05/3.682, allocations: 159.6 kB / 452.4 MB, free: 83.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/3.682, allocations: 0 / 452.4 MB, free: 83.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/3.682, allocations: 0 / 452.4 MB, free: 83.33 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.766e-05/3.682, allocations: 3.531 kB / 452.4 MB, free: 83.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.905e-05/3.682, allocations: 26.27 kB / 452.5 MB, free: 83.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/3.682, allocations: 7.125 kB / 452.5 MB, free: 83.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/3.682, allocations: 3.562 kB / 452.5 MB, free: 83.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/3.682, allocations: 3.562 kB / 452.5 MB, free: 83.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/3.682, allocations: 130.9 kB / 452.6 MB, free: 83.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.698e-05/3.682, allocations: 15.33 kB / 452.6 MB, free: 83.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.241e-05/3.682, allocations: 8.859 kB / 452.6 MB, free: 83.1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/3.682, allocations: 0 / 452.6 MB, free: 83.1 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.668e-05/3.682, allocations: 63.67 kB / 452.7 MB, free: 83.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 2.124e-06/3.682, allocations: 0 / 452.7 MB, free: 83.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001771/3.683, allocations: 35.86 kB / 452.7 MB, free: 83 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/3.683, allocations: 81.05 kB / 452.8 MB, free: 82.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.876e-05/3.683, allocations: 85 kB / 452.9 MB, free: 82.81 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/3.683, allocations: 25.7 kB / 452.9 MB, free: 82.78 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.94e-05/3.683, allocations: 80.14 kB / 453 MB, free: 82.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/3.683, allocations: 3.312 kB / 453 MB, free: 82.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/3.683, allocations: 0 / 453 MB, free: 82.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.293e-05/3.683, allocations: 323.7 kB / 453.3 MB, free: 82.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.11e-05/3.683, allocations: 0 / 453.3 MB, free: 82.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.877e-06/3.683, allocations: 0 / 453.3 MB, free: 82.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.179e-05/3.683, allocations: 0 / 453.3 MB, free: 82.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/3.683, allocations: 0 / 453.3 MB, free: 82.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.882e-05/3.683, allocations: 40.03 kB / 453.4 MB, free: 82.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/3.683, allocations: 3.188 kB / 453.4 MB, free: 82.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/3.683, allocations: 0 / 453.4 MB, free: 82.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/3.683, allocations: 3.75 kB / 453.4 MB, free: 82.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.717e-06/3.683, allocations: 0 / 453.4 MB, free: 82.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/3.683, allocations: 3.5 kB / 453.4 MB, free: 82.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.156e-05/3.683, allocations: 0 / 453.4 MB, free: 82.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/3.684, allocations: 0 / 453.4 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 0.0001397/3.684, allocations: 136.6 kB / 453.5 MB, free: 82.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.61e-05/3.684, allocations: 3.938 kB / 453.5 MB, free: 82.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.256e-05/3.684, allocations: 10.89 kB / 453.5 MB, free: 82.19 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/3.684, allocations: 0 / 453.5 MB, free: 82.19 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/3.684, allocations: 3.609 kB / 453.5 MB, free: 82.19 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/3.684, allocations: 0 / 453.5 MB, free: 82.19 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.552e-05/3.684, allocations: 133.7 kB / 453.6 MB, free: 82.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/3.684, allocations: 0 / 453.6 MB, free: 82.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.583e-06/3.684, allocations: 0 / 453.6 MB, free: 82.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/3.684, allocations: 0 / 453.6 MB, free: 82.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/3.684, allocations: 0 / 453.6 MB, free: 82.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/3.684, allocations: 0 / 453.6 MB, free: 82.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/3.684, allocations: 0 / 453.6 MB, free: 82.02 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001062/3.684, allocations: 60.41 kB / 453.7 MB, free: 81.96 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002483/3.684, allocations: 471.1 kB / 454.2 MB, free: 81.49 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.105e-05/3.684, allocations: 77.11 kB / 454.2 MB, free: 81.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/3.685, allocations: 2.844 kB / 454.2 MB, free: 81.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.523e-05/3.685, allocations: 0 / 454.2 MB, free: 81.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.339e-05/3.685, allocations: 0 / 454.2 MB, free: 81.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/3.685, allocations: 0 / 454.2 MB, free: 81.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.085e-05/3.685, allocations: 86.84 kB / 454.3 MB, free: 81.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001221/3.686, allocations: 3.531 kB / 454.3 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.000143/3.686, allocations: 101.9 kB / 454.4 MB, free: 81.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.603e-05/3.686, allocations: 29.08 kB / 454.5 MB, free: 81.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/3.686, allocations: 0 / 454.5 MB, free: 81.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.066e-05/3.686, allocations: 29.14 kB / 454.5 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.0001255/3.686, allocations: 0 / 454.5 MB, free: 81.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001636/3.686, allocations: 55.58 kB / 454.5 MB, free: 81.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/3.687, allocations: 0.6836 MB / 455.2 MB, free: 80.39 MB / 378.7 MB Notification: Performance of SimCode: time 7.41e-07/3.687, allocations: 0 / 455.2 MB, free: 80.39 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.ComplexMath.TestComplexOperations_res.mat does not exist to compare? outputFormat=mat