Running command: "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Math_TestNonlinear",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.678/2.678, allocations: 235.1 MB / 242 MB, free: 9.66 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2013/2.879, allocations: 57.18 MB / 299.2 MB, free: 368 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/3.163, allocations: 54.87 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1806/3.344, allocations: 82.62 MB / 436.7 MB, free: 10.65 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/3.344, allocations: 67.97 kB / 436.8 MB, free: 10.59 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.3311/3.675, allocations: 12.92 MB / 449.7 MB, free: 84.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/3.675, allocations: 6.812 kB / 449.7 MB, free: 84.65 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.198e-05/3.675, allocations: 78.91 kB / 449.8 MB, free: 84.58 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/3.675, allocations: 242 kB / 450 MB, free: 84.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.294e-05/3.675, allocations: 150.6 kB / 450.2 MB, free: 84.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/3.676, allocations: 150.6 kB / 450.3 MB, free: 84.01 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.547e-05/3.676, allocations: 150.6 kB / 450.4 MB, free: 83.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.004e-05/3.676, allocations: 111.5 kB / 450.6 MB, free: 83.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/3.676, allocations: 75.28 kB / 450.6 MB, free: 83.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.31e-05/3.676, allocations: 157.8 kB / 450.8 MB, free: 83.53 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.794e-05/3.676, allocations: 150.6 kB / 450.9 MB, free: 83.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000314/3.676, allocations: 426.1 kB / 451.3 MB, free: 82.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.322e-05/3.676, allocations: 171.2 kB / 451.5 MB, free: 82.76 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.491e-05/3.676, allocations: 86.83 kB / 451.6 MB, free: 82.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/3.676, allocations: 75.28 kB / 451.7 MB, free: 82.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.307e-05/3.677, allocations: 131.5 kB / 451.8 MB, free: 82.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 3.607e-06/3.677, allocations: 0 / 451.8 MB, free: 82.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001247/3.677, allocations: 29.67 kB / 451.8 MB, free: 82.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/3.677, allocations: 77.11 kB / 451.9 MB, free: 82.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.909e-05/3.677, allocations: 88.81 kB / 452 MB, free: 82.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/3.677, allocations: 33.47 kB / 452 MB, free: 82.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.63e-05/3.677, allocations: 85.27 kB / 452.1 MB, free: 82.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.106e-06/3.677, allocations: 3.938 kB / 452.1 MB, free: 82.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.162e-06/3.677, allocations: 0 / 452.1 MB, free: 82.13 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.66e-05/3.677, allocations: 314.8 kB / 452.4 MB, free: 81.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.711e-06/3.677, allocations: 0 / 452.4 MB, free: 81.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.177e-05/3.677, allocations: 0 / 452.4 MB, free: 81.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.663e-05/3.677, allocations: 80.53 kB / 452.5 MB, free: 81.74 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.922e-05/3.677, allocations: 75.28 kB / 452.6 MB, free: 81.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 0.000117/3.677, allocations: 29.61 kB / 452.6 MB, free: 81.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/3.677, allocations: 9.281 kB / 452.6 MB, free: 81.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.592e-05/3.677, allocations: 75.28 kB / 452.7 MB, free: 81.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.785e-05/3.678, allocations: 158.1 kB / 452.8 MB, free: 81.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.431e-05/3.678, allocations: 78.52 kB / 452.9 MB, free: 81.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.405e-05/3.678, allocations: 161.2 kB / 453.1 MB, free: 81.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/3.678, allocations: 75.28 kB / 453.1 MB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/3.678, allocations: 79.19 kB / 453.2 MB, free: 81.04 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001204/3.678, allocations: 251.5 kB / 453.5 MB, free: 80.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.895e-05/3.678, allocations: 110.6 kB / 453.6 MB, free: 80.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.241e-05/3.678, allocations: 115.5 kB / 453.7 MB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.827e-05/3.678, allocations: 180.2 kB / 453.9 MB, free: 80.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.313e-05/3.678, allocations: 179.8 kB / 454 MB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.074e-05/3.678, allocations: 183.6 kB / 454.2 MB, free: 80.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/3.679, allocations: 379.1 kB / 454.6 MB, free: 79.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.481e-05/3.679, allocations: 104.8 kB / 454.7 MB, free: 79.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.564e-05/3.679, allocations: 103.9 kB / 454.8 MB, free: 79.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-05/3.679, allocations: 180.1 kB / 455 MB, free: 79.22 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.468e-05/3.679, allocations: 180.2 kB / 455.1 MB, free: 79.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.369e-05/3.679, allocations: 183.4 kB / 455.3 MB, free: 78.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-05/3.679, allocations: 176.3 kB / 455.5 MB, free: 78.68 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001385/3.679, allocations: 307.4 kB / 455.8 MB, free: 78.36 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002593/3.68, allocations: 0.6768 MB / 456.5 MB, free: 77.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.734e-05/3.68, allocations: 188 kB / 456.7 MB, free: 77.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.882e-05/3.68, allocations: 180.2 kB / 456.8 MB, free: 77.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/3.68, allocations: 112.8 kB / 456.9 MB, free: 77.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.574e-05/3.68, allocations: 182.4 kB / 457.1 MB, free: 77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/3.68, allocations: 106.1 kB / 457.2 MB, free: 76.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.582e-05/3.68, allocations: 75.28 kB / 457.3 MB, free: 76.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003332/3.683, allocations: 180.1 kB / 457.5 MB, free: 76.79 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.002175/3.686, allocations: 462 kB / 457.9 MB, free: 76.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.727e-05/3.686, allocations: 7.312 kB / 457.9 MB, free: 76.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/3.686, allocations: 0 / 457.9 MB, free: 76.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.972e-06/3.686, allocations: 3.797 kB / 457.9 MB, free: 76.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/3.686, allocations: 0.5273 MB / 458.5 MB, free: 76.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001842/3.687, allocations: 115.3 kB / 458.6 MB, free: 75.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/3.687, allocations: 0.6836 MB / 459.3 MB, free: 75.21 MB / 378.7 MB Notification: Performance of SimCode: time 1.824e-06/3.687, allocations: 0 / 459.3 MB, free: 75.21 MB / 378.7 MB