Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Math_TestMatrices2b",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.504/2.504, allocations: 235.1 MB / 242 MB, free: 9.742 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1897/2.694, allocations: 57.19 MB / 299.2 MB, free: 444 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/3.05, allocations: 54.85 MB / 354.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2037/3.254, allocations: 82.95 MB / 437 MB, free: 10.33 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/3.254, allocations: 63.97 kB / 437.1 MB, free: 10.27 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.51/3.764, allocations: 45.51 MB / 482.6 MB, free: 62.67 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.759e-05/3.764, allocations: 8 kB / 482.6 MB, free: 62.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.351e-05/3.764, allocations: 3.938 kB / 482.6 MB, free: 62.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.054e-05/3.765, allocations: 163 kB / 482.8 MB, free: 62.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/3.765, allocations: 0 / 482.8 MB, free: 62.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/3.765, allocations: 4 kB / 482.8 MB, free: 62.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.371e-05/3.765, allocations: 0 / 482.8 MB, free: 62.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.366e-05/3.765, allocations: 33.55 kB / 482.8 MB, free: 62.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/3.765, allocations: 0 / 482.8 MB, free: 62.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/3.765, allocations: 0 / 482.8 MB, free: 62.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/3.765, allocations: 8 kB / 482.8 MB, free: 62.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002024/3.765, allocations: 130.2 kB / 482.9 MB, free: 62.24 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.773e-05/3.765, allocations: 18.52 kB / 483 MB, free: 62.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.217e-05/3.765, allocations: 4.859 kB / 483 MB, free: 62.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/3.765, allocations: 4.094 kB / 483 MB, free: 62.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.9e-05/3.765, allocations: 60.27 kB / 483 MB, free: 62.13 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 2.174e-06/3.765, allocations: 0 / 483 MB, free: 62.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002356/3.766, allocations: 33.7 kB / 483.1 MB, free: 62.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/3.766, allocations: 81.09 kB / 483.1 MB, free: 61.99 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.985e-05/3.766, allocations: 85 kB / 483.2 MB, free: 61.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/3.766, allocations: 25.7 kB / 483.2 MB, free: 61.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.782e-05/3.766, allocations: 84.14 kB / 483.3 MB, free: 61.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/3.766, allocations: 3.906 kB / 483.3 MB, free: 61.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/3.766, allocations: 4 kB / 483.3 MB, free: 61.78 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.074e-05/3.766, allocations: 310.8 kB / 483.6 MB, free: 61.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.208e-06/3.766, allocations: 4.031 kB / 483.6 MB, free: 61.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.063e-06/3.766, allocations: 0 / 483.6 MB, free: 61.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.989e-05/3.766, allocations: 3.938 kB / 483.6 MB, free: 61.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/3.766, allocations: 4 kB / 483.6 MB, free: 61.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.618e-05/3.766, allocations: 29.7 kB / 483.7 MB, free: 61.42 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/3.766, allocations: 7.984 kB / 483.7 MB, free: 61.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/3.766, allocations: 0 / 483.7 MB, free: 61.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/3.766, allocations: 0 / 483.7 MB, free: 61.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-06/3.766, allocations: 0 / 483.7 MB, free: 61.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/3.766, allocations: 8 kB / 483.7 MB, free: 61.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.45e-05/3.766, allocations: 4 kB / 483.7 MB, free: 61.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/3.766, allocations: 4 kB / 483.7 MB, free: 61.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.482e-05/3.766, allocations: 126.7 kB / 483.8 MB, free: 61.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.285e-05/3.766, allocations: 3.984 kB / 483.8 MB, free: 61.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.463e-05/3.766, allocations: 3 kB / 483.8 MB, free: 61.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/3.766, allocations: 4 kB / 483.8 MB, free: 61.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/3.767, allocations: 0 / 483.8 MB, free: 61.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/3.767, allocations: 0 / 483.8 MB, free: 61.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.71e-05/3.767, allocations: 142.1 kB / 484 MB, free: 61.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/3.767, allocations: 0 / 484 MB, free: 61.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.302e-06/3.767, allocations: 3.938 kB / 484 MB, free: 61.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/3.767, allocations: 0 / 484 MB, free: 61.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/3.767, allocations: 4 kB / 484 MB, free: 61.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/3.767, allocations: 0 / 484 MB, free: 61.06 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/3.767, allocations: 0 / 484 MB, free: 61.06 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001045/3.767, allocations: 66.69 kB / 484 MB, free: 60.98 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001689/3.767, allocations: 441.6 kB / 484.5 MB, free: 60.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.234e-05/3.767, allocations: 81.11 kB / 484.6 MB, free: 60.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/3.767, allocations: 0 / 484.6 MB, free: 60.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.63e-05/3.767, allocations: 3.906 kB / 484.6 MB, free: 60.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.756e-05/3.767, allocations: 0 / 484.6 MB, free: 60.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/3.767, allocations: 4 kB / 484.6 MB, free: 60.42 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.609e-05/3.767, allocations: 79.31 kB / 484.6 MB, free: 60.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002999/3.77, allocations: 210.8 kB / 484.8 MB, free: 60.14 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.003037/3.773, allocations: 397.1 kB / 485.2 MB, free: 59.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001392/3.773, allocations: 25.7 kB / 485.3 MB, free: 59.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/3.773, allocations: 0 / 485.3 MB, free: 59.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.192e-05/3.773, allocations: 29.7 kB / 485.3 MB, free: 59.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/3.774, allocations: 4.125 kB / 485.3 MB, free: 59.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002404/3.774, allocations: 48.02 kB / 485.3 MB, free: 59.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002022/3.774, allocations: 0.6885 MB / 486 MB, free: 58.93 MB / 378.7 MB Notification: Performance of SimCode: time 1.934e-06/3.774, allocations: 0 / 486 MB, free: 58.93 MB / 378.7 MB