Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",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(Modelica): time 1.661/1.661, allocations: 194.9 MB / 202.5 MB, free: 6.93 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2003/1.861, allocations: 46.83 MB / 249.3 MB, free: 5.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/1.967, allocations: 44.51 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.752/3.719, allocations: 0.7431 GB / 1.03 GB, free: 36.8 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/3.72, allocations: 65.72 kB / 1.03 GB, free: 36.77 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.4284/4.148, allocations: 77.69 MB / 1.106 GB, free: 120.1 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/4.148, allocations: 12.78 kB / 1.106 GB, free: 120.1 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004258/4.149, allocations: 40.44 kB / 1.106 GB, free: 120.1 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/4.149, allocations: 202.3 kB / 1.106 GB, free: 119.8 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/4.149, allocations: 1.312 kB / 1.106 GB, free: 119.8 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/4.149, allocations: 1.062 kB / 1.106 GB, free: 119.8 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001474/4.149, allocations: 46.34 kB / 1.106 GB, free: 119.8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/4.149, allocations: 71.28 kB / 1.106 GB, free: 119.8 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/4.149, allocations: 0 / 1.106 GB, free: 119.8 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/4.149, allocations: 1.25 kB / 1.106 GB, free: 119.8 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/4.149, allocations: 5.25 kB / 1.106 GB, free: 119.8 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000222/4.15, allocations: 170.4 kB / 1.106 GB, free: 119.6 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004174/4.15, allocations: 115.2 kB / 1.107 GB, free: 119.5 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.101e-05/4.15, allocations: 38.67 kB / 1.107 GB, free: 119.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006343/4.151, allocations: 135.9 kB / 1.107 GB, free: 119.4 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.541e-05/4.151, allocations: 35.78 kB / 1.107 GB, free: 119.3 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.785e-06/4.151, allocations: 4 kB / 1.107 GB, free: 119.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.001253/4.152, allocations: 195.2 kB / 1.107 GB, free: 119.2 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.432e-05/4.152, allocations: 82.05 kB / 1.107 GB, free: 119.1 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/4.152, allocations: 128.9 kB / 1.107 GB, free: 119 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/4.152, allocations: 25.7 kB / 1.107 GB, free: 119 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.847e-05/4.152, allocations: 86.41 kB / 1.107 GB, free: 118.9 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.959e-05/4.152, allocations: 21.88 kB / 1.107 GB, free: 118.9 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.085e-06/4.152, allocations: 4.906 kB / 1.107 GB, free: 118.9 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.979e-05/4.152, allocations: 324.8 kB / 1.108 GB, free: 118.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.151e-05/4.153, allocations: 20.05 kB / 1.108 GB, free: 118.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.924e-05/4.153, allocations: 49.69 kB / 1.108 GB, free: 118.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009296/4.154, allocations: 137.5 kB / 1.108 GB, free: 118.4 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/4.154, allocations: 7.266 kB / 1.108 GB, free: 118.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001152/4.155, allocations: 214.8 kB / 1.108 GB, free: 118.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/4.155, allocations: 4.781 kB / 1.108 GB, free: 118.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/4.155, allocations: 1.172 kB / 1.108 GB, free: 118.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/4.155, allocations: 5.328 kB / 1.108 GB, free: 118.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/4.155, allocations: 17.3 kB / 1.108 GB, free: 118.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/4.155, allocations: 1.812 kB / 1.108 GB, free: 118.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/4.155, allocations: 1.781 kB / 1.108 GB, free: 118.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.413e-05/4.155, allocations: 9.656 kB / 1.108 GB, free: 118.3 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 6.876e-05/4.155, allocations: 114.4 kB / 1.108 GB, free: 118.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.355e-05/4.155, allocations: 15.75 kB / 1.108 GB, free: 118.2 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00125/4.157, allocations: 235.8 kB / 1.108 GB, free: 118.1 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/4.157, allocations: 1.188 kB / 1.108 GB, free: 118.1 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/4.157, allocations: 0.625 kB / 1.108 GB, free: 118.1 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/4.157, allocations: 4.75 kB / 1.108 GB, free: 118.1 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/4.157, allocations: 158 kB / 1.109 GB, free: 117.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/4.157, allocations: 0.75 kB / 1.109 GB, free: 117.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/4.157, allocations: 15.08 kB / 1.109 GB, free: 117.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/4.157, allocations: 0.5625 kB / 1.109 GB, free: 117.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/4.157, allocations: 2.562 kB / 1.109 GB, free: 117.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/4.157, allocations: 5.156 kB / 1.109 GB, free: 117.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/4.157, allocations: 0 / 1.109 GB, free: 117.9 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001228/4.158, allocations: 287.6 kB / 1.109 GB, free: 117.7 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001398/4.16, allocations: 0.7101 MB / 1.11 GB, free: 117 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.821e-05/4.16, allocations: 108.9 kB / 1.11 GB, free: 116.9 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.504e-05/4.16, allocations: 0 / 1.11 GB, free: 116.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.028e-05/4.16, allocations: 0 / 1.11 GB, free: 116.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.159e-05/4.16, allocations: 7.984 kB / 1.11 GB, free: 116.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/4.16, allocations: 4 kB / 1.11 GB, free: 116.9 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.045e-05/4.16, allocations: 111.2 kB / 1.11 GB, free: 116.8 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002217/4.162, allocations: 339.7 kB / 1.11 GB, free: 116.4 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.002655/4.165, allocations: 1.087 MB / 1.111 GB, free: 115.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002021/4.165, allocations: 55.92 kB / 1.111 GB, free: 115.4 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/4.165, allocations: 0 / 1.111 GB, free: 115.4 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.752e-05/4.165, allocations: 32.2 kB / 1.111 GB, free: 115.4 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/4.166, allocations: 20.11 kB / 1.111 GB, free: 115.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005479/4.166, allocations: 226 kB / 1.111 GB, free: 115.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002209/4.167, allocations: 0.7149 MB / 1.112 GB, free: 114.4 MB / 394.7 MB Notification: Performance of SimCode: time 1.183e-06/4.167, allocations: 0 / 1.112 GB, free: 114.4 MB / 394.7 MB