Running command: "" <> buildModelFMU(ModelicaTest.Math.TestNonlinear,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_TestNonlinear",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.368/2.368, allocations: 235 MB / 241.9 MB, free: 9.758 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2016/2.569, allocations: 57.19 MB / 299.1 MB, free: 464 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/2.868, allocations: 54.86 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1732/3.041, allocations: 82.62 MB / 436.6 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/3.042, allocations: 59.97 kB / 436.7 MB, free: 10.65 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.2851/3.327, allocations: 12.92 MB / 449.6 MB, free: 86.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/3.327, allocations: 11.38 kB / 449.6 MB, free: 86.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.855e-05/3.327, allocations: 75.28 kB / 449.7 MB, free: 86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.756e-05/3.327, allocations: 242.2 kB / 449.9 MB, free: 85.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.937e-05/3.327, allocations: 150.6 kB / 450 MB, free: 85.58 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.533e-05/3.327, allocations: 154.4 kB / 450.2 MB, free: 85.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.568e-05/3.327, allocations: 157.6 kB / 450.3 MB, free: 85.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.638e-05/3.327, allocations: 101 kB / 450.4 MB, free: 85.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/3.327, allocations: 75.28 kB / 450.5 MB, free: 85.1 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.447e-05/3.327, allocations: 150.6 kB / 450.7 MB, free: 84.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.365e-05/3.327, allocations: 165.3 kB / 450.8 MB, free: 84.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002144/3.328, allocations: 426.1 kB / 451.2 MB, free: 84.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.325e-05/3.328, allocations: 170.7 kB / 451.4 MB, free: 84.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.829e-05/3.328, allocations: 83.67 kB / 451.5 MB, free: 84.1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/3.328, allocations: 75.28 kB / 451.6 MB, free: 84.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.554e-05/3.328, allocations: 136.2 kB / 451.7 MB, free: 83.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 2.395e-06/3.328, allocations: 0 / 451.7 MB, free: 83.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 0.000132/3.328, allocations: 30.7 kB / 451.7 MB, free: 83.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/3.328, allocations: 77.11 kB / 451.8 MB, free: 83.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.291e-05/3.328, allocations: 87.06 kB / 451.9 MB, free: 83.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/3.328, allocations: 25.7 kB / 451.9 MB, free: 83.63 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.987e-05/3.328, allocations: 81.92 kB / 452 MB, free: 83.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.805e-06/3.328, allocations: 3.828 kB / 452 MB, free: 83.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-07/3.328, allocations: 3.375 kB / 452 MB, free: 83.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.315e-05/3.328, allocations: 318.4 kB / 452.3 MB, free: 83.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.392e-06/3.328, allocations: 0 / 452.3 MB, free: 83.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.398e-05/3.328, allocations: 0 / 452.3 MB, free: 83.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.204e-05/3.328, allocations: 76.84 kB / 452.4 MB, free: 83.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-05/3.328, allocations: 75.28 kB / 452.5 MB, free: 83.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001402/3.329, allocations: 32.95 kB / 452.5 MB, free: 83.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/3.329, allocations: 11.28 kB / 452.5 MB, free: 83.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-05/3.329, allocations: 78.16 kB / 452.6 MB, free: 82.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.671e-05/3.329, allocations: 157.9 kB / 452.7 MB, free: 82.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.305e-05/3.329, allocations: 79.17 kB / 452.8 MB, free: 82.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.235e-05/3.329, allocations: 150.6 kB / 453 MB, free: 82.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.57e-05/3.329, allocations: 80.28 kB / 453 MB, free: 82.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/3.329, allocations: 81.88 kB / 453.1 MB, free: 82.46 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 8.154e-05/3.329, allocations: 251.5 kB / 453.4 MB, free: 82.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.431e-05/3.329, allocations: 111.6 kB / 453.5 MB, free: 82.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.761e-05/3.329, allocations: 108.2 kB / 453.6 MB, free: 81.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.579e-05/3.329, allocations: 187.9 kB / 453.8 MB, free: 81.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-05/3.329, allocations: 176.3 kB / 453.9 MB, free: 81.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.225e-05/3.329, allocations: 180.2 kB / 454.1 MB, free: 81.44 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/3.329, allocations: 384.5 kB / 454.5 MB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.938e-05/3.33, allocations: 101 kB / 454.6 MB, free: 80.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.071e-05/3.33, allocations: 104.9 kB / 454.7 MB, free: 80.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.553e-05/3.33, allocations: 184.1 kB / 454.9 MB, free: 80.63 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/3.33, allocations: 176.3 kB / 455 MB, free: 80.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.099e-05/3.33, allocations: 180 kB / 455.2 MB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.59e-05/3.33, allocations: 182 kB / 455.4 MB, free: 80.09 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.858e-05/3.33, allocations: 306 kB / 455.7 MB, free: 79.77 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001937/3.33, allocations: 0.6781 MB / 456.4 MB, free: 79.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.899e-05/3.33, allocations: 186.1 kB / 456.5 MB, free: 78.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.022e-05/3.33, allocations: 191.6 kB / 456.7 MB, free: 78.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.14e-05/3.33, allocations: 108.9 kB / 456.8 MB, free: 78.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.489e-05/3.33, allocations: 176.3 kB / 457 MB, free: 78.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.438e-05/3.33, allocations: 104.9 kB / 457.1 MB, free: 78.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.089e-05/3.33, allocations: 79.11 kB / 457.2 MB, free: 78.22 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001947/3.332, allocations: 188.2 kB / 457.4 MB, free: 78.19 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.001364/3.334, allocations: 466.2 kB / 457.8 MB, free: 77.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 5.983e-05/3.334, allocations: 3.938 kB / 457.8 MB, free: 77.97 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/3.334, allocations: 0 / 457.8 MB, free: 77.97 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.004e-06/3.334, allocations: 0 / 457.8 MB, free: 77.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/3.334, allocations: 0.5204 MB / 458.4 MB, free: 77.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001267/3.334, allocations: 115.3 kB / 458.5 MB, free: 77.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/3.334, allocations: 0.684 MB / 459.2 MB, free: 76.62 MB / 378.7 MB Notification: Performance of SimCode: time 6.91e-07/3.334, allocations: 0 / 459.2 MB, free: 76.62 MB / 378.7 MB