Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",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.693/1.693, allocations: 171.2 MB / 178.1 MB, free: 8.305 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2155/1.908, allocations: 41.12 MB / 219.3 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09859/2.007, allocations: 38.75 MB / 258 MB, free: 4.379 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.795/3.802, allocations: 0.5846 GB / 0.8365 GB, free: 80.46 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/3.802, allocations: 78.61 kB / 0.8366 GB, free: 80.43 MB / 346.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.1697/3.972, allocations: 41.3 MB / 0.8769 GB, free: 44.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/3.972, allocations: 12 kB / 0.8769 GB, free: 44.08 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001447/3.974, allocations: 115.7 kB / 0.877 GB, free: 43.97 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/3.974, allocations: 191 kB / 0.8772 GB, free: 43.74 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/3.974, allocations: 0 / 0.8772 GB, free: 43.74 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.982e-05/3.974, allocations: 15.84 kB / 0.8772 GB, free: 43.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001091/3.974, allocations: 23.98 kB / 0.8773 GB, free: 43.7 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/3.974, allocations: 67.38 kB / 0.8773 GB, free: 43.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/3.974, allocations: 7.938 kB / 0.8773 GB, free: 43.62 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/3.974, allocations: 0 / 0.8773 GB, free: 43.62 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/3.974, allocations: 0 / 0.8773 GB, free: 43.62 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002145/3.974, allocations: 175 kB / 0.8775 GB, free: 43.41 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004489/3.975, allocations: 93.22 kB / 0.8776 GB, free: 43.3 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.139e-05/3.975, allocations: 29.77 kB / 0.8776 GB, free: 43.26 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008565/3.976, allocations: 1.375 MB / 0.879 GB, free: 41.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/3.976, allocations: 42.55 kB / 0.879 GB, free: 41.54 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.445e-06/3.976, allocations: 0 / 0.879 GB, free: 41.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0009505/3.977, allocations: 153.5 kB / 0.8791 GB, free: 41.38 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/3.977, allocations: 77.11 kB / 0.8792 GB, free: 41.29 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/3.977, allocations: 120.9 kB / 0.8793 GB, free: 41.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/3.977, allocations: 25.7 kB / 0.8794 GB, free: 41.13 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.734e-05/3.977, allocations: 84.14 kB / 0.8794 GB, free: 41.05 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.833e-05/3.977, allocations: 23.67 kB / 0.8795 GB, free: 41.02 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.015e-05/3.977, allocations: 4 kB / 0.8795 GB, free: 41.02 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.602e-05/3.977, allocations: 322.8 kB / 0.8798 GB, free: 40.7 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.338e-05/3.977, allocations: 12 kB / 0.8798 GB, free: 40.68 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.441e-05/3.977, allocations: 43.42 kB / 0.8798 GB, free: 40.63 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006729/3.978, allocations: 103.8 kB / 0.8799 GB, free: 40.53 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/3.978, allocations: 4 kB / 0.8799 GB, free: 40.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0008477/3.979, allocations: 169.5 kB / 0.8801 GB, free: 40.35 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/3.979, allocations: 8 kB / 0.8801 GB, free: 40.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/3.979, allocations: 0 / 0.8801 GB, free: 40.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/3.979, allocations: 0 / 0.8801 GB, free: 40.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/3.979, allocations: 15.98 kB / 0.8801 GB, free: 40.33 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/3.979, allocations: 4 kB / 0.8801 GB, free: 40.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/3.979, allocations: 7.984 kB / 0.8801 GB, free: 40.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/3.979, allocations: 4 kB / 0.8801 GB, free: 40.31 MB / 346.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.444e-05/3.98, allocations: 112.9 kB / 0.8802 GB, free: 40.2 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.45e-05/3.98, allocations: 4 kB / 0.8802 GB, free: 40.19 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009646/3.981, allocations: 205.2 kB / 0.8804 GB, free: 39.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/3.981, allocations: 4 kB / 0.8804 GB, free: 39.98 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/3.981, allocations: 0 / 0.8804 GB, free: 39.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/3.981, allocations: 0 / 0.8804 GB, free: 39.98 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/3.981, allocations: 162 kB / 0.8806 GB, free: 39.78 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/3.981, allocations: 7.891 kB / 0.8806 GB, free: 39.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/3.981, allocations: 11.98 kB / 0.8806 GB, free: 39.76 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/3.981, allocations: 7.938 kB / 0.8806 GB, free: 39.75 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/3.981, allocations: 4 kB / 0.8806 GB, free: 39.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/3.981, allocations: 0 / 0.8806 GB, free: 39.75 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/3.981, allocations: 0 / 0.8806 GB, free: 39.75 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008927/3.982, allocations: 219.2 kB / 0.8808 GB, free: 39.51 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001082/3.983, allocations: 0.6328 MB / 0.8815 GB, free: 38.85 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.877e-05/3.983, allocations: 101.1 kB / 0.8816 GB, free: 38.73 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.518e-05/3.983, allocations: 7.906 kB / 0.8816 GB, free: 38.72 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002862/3.984, allocations: 0 / 0.8816 GB, free: 38.72 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.417e-05/3.984, allocations: 7.984 kB / 0.8816 GB, free: 38.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/3.984, allocations: 4 kB / 0.8816 GB, free: 38.71 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.433e-05/3.984, allocations: 107.2 kB / 0.8817 GB, free: 38.61 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001971/3.986, allocations: 275.8 kB / 0.8819 GB, free: 38.34 MB / 346.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.001902/3.988, allocations: 0.9288 MB / 0.8828 GB, free: 37.4 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001998/3.988, allocations: 51.91 kB / 0.8829 GB, free: 37.35 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/3.988, allocations: 0 / 0.8829 GB, free: 37.35 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.796e-05/3.988, allocations: 16 kB / 0.8829 GB, free: 37.33 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/3.988, allocations: 11.98 kB / 0.8829 GB, free: 37.32 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006859/3.989, allocations: 222.6 kB / 0.8831 GB, free: 37.08 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003589/3.989, allocations: 0.7344 MB / 0.8838 GB, free: 36.32 MB / 346.7 MB Notification: Performance of SimCode: time 6.31e-07/3.989, allocations: 0 / 0.8838 GB, free: 36.32 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat does not exist to compare? outputFormat=mat