Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_TestMatrices",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.414/2.414, allocations: 235 MB / 241.9 MB, free: 9.727 MB / 194.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1362/2.55, allocations: 57.18 MB / 299.1 MB, free: 0.9375 MB / 242.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/2.858, allocations: 54.85 MB / 354 MB, free: 1.578 MB / 290.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.158/3.016, allocations: 80.62 MB / 434.6 MB, free: 11.49 MB / 370.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/3.016, allocations: 59.97 kB / 434.6 MB, free: 11.43 MB / 370.8 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.015/3.031, allocations: 2.843 MB / 437.5 MB, free: 8.555 MB / 370.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/3.031, allocations: 8 kB / 437.5 MB, free: 8.547 MB / 370.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/3.031, allocations: 0 / 437.5 MB, free: 8.547 MB / 370.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/3.032, allocations: 163.1 kB / 437.6 MB, free: 8.348 MB / 370.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/3.032, allocations: 0 / 437.6 MB, free: 8.348 MB / 370.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/3.032, allocations: 4 kB / 437.6 MB, free: 8.344 MB / 370.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.574e-05/3.032, allocations: 0 / 437.6 MB, free: 8.344 MB / 370.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.81e-05/3.032, allocations: 41.53 kB / 437.7 MB, free: 8.297 MB / 370.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/3.032, allocations: 3.984 kB / 437.7 MB, free: 8.293 MB / 370.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/3.032, allocations: 0 / 437.7 MB, free: 8.293 MB / 370.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/3.032, allocations: 3.938 kB / 437.7 MB, free: 8.289 MB / 370.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000129/3.032, allocations: 126.2 kB / 437.8 MB, free: 8.129 MB / 370.8 MB Notification: Performance of preOpt comSubExp (simulation): time 3.777e-05/3.032, allocations: 18.61 kB / 437.8 MB, free: 8.102 MB / 370.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.916e-05/3.032, allocations: 8.859 kB / 437.8 MB, free: 8.09 MB / 370.8 MB Notification: Performance of preOpt evalFunc (simulation): time 4.609e-06/3.032, allocations: 0 / 437.8 MB, free: 8.09 MB / 370.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.874e-05/3.032, allocations: 56.27 kB / 437.9 MB, free: 8.02 MB / 370.8 MB Notification: Performance of pre-optimization done (n=1): time 1.443e-06/3.032, allocations: 0 / 437.9 MB, free: 8.02 MB / 370.8 MB Notification: Performance of matching and sorting (n=1): time 0.0001662/3.032, allocations: 38.44 kB / 437.9 MB, free: 7.977 MB / 370.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/3.032, allocations: 81.11 kB / 438 MB, free: 7.879 MB / 370.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.485e-05/3.032, allocations: 89 kB / 438.1 MB, free: 7.785 MB / 370.8 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/3.032, allocations: 25.7 kB / 438.1 MB, free: 7.754 MB / 370.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.762e-05/3.032, allocations: 84.17 kB / 438.2 MB, free: 7.668 MB / 370.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/3.032, allocations: 7.891 kB / 438.2 MB, free: 7.66 MB / 370.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/3.032, allocations: 0 / 438.2 MB, free: 7.66 MB / 370.8 MB Notification: Performance of setup shared object (initialization): time 0.0001654/3.033, allocations: 310.8 kB / 438.5 MB, free: 7.348 MB / 370.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.21e-05/3.033, allocations: 1.594 kB / 438.5 MB, free: 7.348 MB / 370.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.281e-05/3.033, allocations: 4 kB / 438.5 MB, free: 7.344 MB / 370.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.127e-05/3.033, allocations: 0 / 438.5 MB, free: 7.344 MB / 370.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/3.033, allocations: 0 / 438.5 MB, free: 7.344 MB / 370.8 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001335/3.033, allocations: 37.75 kB / 438.6 MB, free: 7.301 MB / 370.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/3.033, allocations: 4 kB / 438.6 MB, free: 7.297 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/3.033, allocations: 4 kB / 438.6 MB, free: 7.293 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/3.033, allocations: 0 / 438.6 MB, free: 7.293 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.298e-06/3.033, allocations: 3.938 kB / 438.6 MB, free: 7.289 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/3.033, allocations: 3.906 kB / 438.6 MB, free: 7.285 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.037e-05/3.033, allocations: 1.625 kB / 438.6 MB, free: 7.285 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/3.033, allocations: 0 / 438.6 MB, free: 7.285 MB / 370.8 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.0001297/3.033, allocations: 134.7 kB / 438.7 MB, free: 7.141 MB / 370.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.522e-05/3.033, allocations: 4.031 kB / 438.7 MB, free: 7.137 MB / 370.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.876e-05/3.033, allocations: 3 kB / 438.7 MB, free: 7.133 MB / 370.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/3.033, allocations: 3.984 kB / 438.7 MB, free: 7.129 MB / 370.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/3.033, allocations: 0 / 438.7 MB, free: 7.129 MB / 370.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/3.033, allocations: 1.312 kB / 438.7 MB, free: 7.129 MB / 370.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/3.034, allocations: 130.2 kB / 438.9 MB, free: 6.965 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/3.034, allocations: 0 / 438.9 MB, free: 6.965 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.797e-06/3.034, allocations: 0 / 438.9 MB, free: 6.965 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/3.034, allocations: 3.938 kB / 438.9 MB, free: 6.961 MB / 370.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/3.034, allocations: 0 / 438.9 MB, free: 6.961 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/3.034, allocations: 1.062 kB / 438.9 MB, free: 6.961 MB / 370.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/3.034, allocations: 4 kB / 438.9 MB, free: 6.957 MB / 370.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001537/3.034, allocations: 65.03 kB / 438.9 MB, free: 6.875 MB / 370.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003714/3.034, allocations: 441.5 kB / 439.4 MB, free: 6.422 MB / 370.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.19e-05/3.034, allocations: 81.17 kB / 439.4 MB, free: 6.324 MB / 370.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/3.034, allocations: 0 / 439.4 MB, free: 6.324 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.671e-05/3.034, allocations: 7.906 kB / 439.4 MB, free: 6.316 MB / 370.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.402e-05/3.034, allocations: 0 / 439.4 MB, free: 6.316 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-06/3.034, allocations: 7.062 kB / 439.5 MB, free: 6.312 MB / 370.8 MB Notification: Performance of sort global known variables: time 4.353e-05/3.034, allocations: 75.28 kB / 439.5 MB, free: 6.238 MB / 370.8 MB Notification: Performance of remove unused functions: time 0.002357/3.037, allocations: 83.92 kB / 439.6 MB, free: 6.156 MB / 370.8 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.001015/3.038, allocations: 212.6 kB / 439.8 MB, free: 5.945 MB / 370.8 MB Notification: Performance of simCode: created initialization part: time 0.000117/3.038, allocations: 29.7 kB / 439.8 MB, free: 5.91 MB / 370.8 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/3.038, allocations: 0 / 439.8 MB, free: 5.91 MB / 370.8 MB Notification: Performance of simCode: created simulation system equations: time 4.536e-05/3.038, allocations: 41.62 kB / 439.9 MB, free: 5.863 MB / 370.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/3.038, allocations: 1.266 kB / 439.9 MB, free: 5.863 MB / 370.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002052/3.038, allocations: 45.56 kB / 439.9 MB, free: 5.797 MB / 370.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003676/3.039, allocations: 0.6854 MB / 440.6 MB, free: 5.086 MB / 370.8 MB Notification: Performance of SimCode: time 1.142e-06/3.039, allocations: 0 / 440.6 MB, free: 5.086 MB / 370.8 MB