Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",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(Modelica): time 2.935/2.935, allocations: 194.9 MB / 202.6 MB, free: 6.902 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2614/3.196, allocations: 46.83 MB / 249.4 MB, free: 5.391 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/3.31, allocations: 44.51 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.777/5.087, allocations: 0.59 GB / 0.877 GB, free: 46.98 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004384/5.088, allocations: 70.83 kB / 0.877 GB, free: 46.94 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.2091/5.297, allocations: 41.31 MB / 0.9174 GB, free: 10.92 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/5.297, allocations: 12 kB / 0.9174 GB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001787/5.299, allocations: 119.7 kB / 0.9175 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/5.299, allocations: 198.8 kB / 0.9177 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/5.299, allocations: 4 kB / 0.9177 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.416e-05/5.299, allocations: 0 / 0.9177 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001387/5.299, allocations: 27.98 kB / 0.9177 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/5.299, allocations: 67.38 kB / 0.9178 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/5.299, allocations: 0 / 0.9178 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/5.299, allocations: 0 / 0.9178 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/5.299, allocations: 0 / 0.9178 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002614/5.3, allocations: 163.7 kB / 0.9179 GB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005384/5.3, allocations: 101.2 kB / 0.918 GB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.86e-05/5.3, allocations: 21.78 kB / 0.9181 GB, free: 10.1 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/5.301, allocations: 1.379 MB / 0.9194 GB, free: 8.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/5.301, allocations: 34.56 kB / 0.9194 GB, free: 8.387 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.855e-06/5.301, allocations: 0 / 0.9194 GB, free: 8.387 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.00117/5.302, allocations: 153.4 kB / 0.9196 GB, free: 8.23 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/5.303, allocations: 85.11 kB / 0.9197 GB, free: 8.129 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/5.303, allocations: 124.9 kB / 0.9198 GB, free: 8 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/5.303, allocations: 29.7 kB / 0.9198 GB, free: 7.965 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.89e-05/5.303, allocations: 80.14 kB / 0.9199 GB, free: 7.883 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.088e-05/5.303, allocations: 27.64 kB / 0.9199 GB, free: 7.855 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.216e-05/5.303, allocations: 0 / 0.9199 GB, free: 7.855 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.505e-05/5.303, allocations: 314.8 kB / 0.9202 GB, free: 7.539 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.583e-05/5.303, allocations: 15.94 kB / 0.9202 GB, free: 7.523 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.596e-05/5.303, allocations: 58.62 kB / 0.9203 GB, free: 7.457 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008526/5.304, allocations: 103.9 kB / 0.9204 GB, free: 7.355 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/5.304, allocations: 0 / 0.9204 GB, free: 7.355 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001076/5.305, allocations: 165.4 kB / 0.9205 GB, free: 7.188 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/5.305, allocations: 4 kB / 0.9206 GB, free: 7.184 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/5.305, allocations: 0 / 0.9206 GB, free: 7.184 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/5.305, allocations: 4 kB / 0.9206 GB, free: 7.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/5.305, allocations: 20.05 kB / 0.9206 GB, free: 7.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/5.306, allocations: 0 / 0.9206 GB, free: 7.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003478/5.306, allocations: 11.89 kB / 0.9206 GB, free: 7.148 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/5.306, allocations: 8 kB / 0.9206 GB, free: 7.141 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 7.89e-05/5.306, allocations: 108.7 kB / 0.9207 GB, free: 7.027 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.551e-05/5.306, allocations: 7.906 kB / 0.9207 GB, free: 7.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/5.307, allocations: 201.3 kB / 0.9209 GB, free: 6.812 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/5.307, allocations: 0 / 0.9209 GB, free: 6.812 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/5.307, allocations: 4 kB / 0.9209 GB, free: 6.809 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/5.307, allocations: 0 / 0.9209 GB, free: 6.809 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/5.308, allocations: 158.1 kB / 0.9211 GB, free: 6.617 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/5.308, allocations: 0 / 0.9211 GB, free: 6.617 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002699/5.308, allocations: 19.92 kB / 0.9211 GB, free: 6.598 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/5.308, allocations: 4 kB / 0.9211 GB, free: 6.594 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/5.308, allocations: 0 / 0.9211 GB, free: 6.594 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/5.308, allocations: 4 kB / 0.9211 GB, free: 6.59 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/5.308, allocations: 0 / 0.9211 GB, free: 6.59 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001094/5.309, allocations: 223.4 kB / 0.9213 GB, free: 6.344 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001279/5.31, allocations: 0.629 MB / 0.9219 GB, free: 5.684 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/5.31, allocations: 96.92 kB / 0.922 GB, free: 5.57 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.227e-05/5.31, allocations: 0 / 0.922 GB, free: 5.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003345/5.311, allocations: 7.938 kB / 0.922 GB, free: 5.562 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.732e-05/5.311, allocations: 4.172 kB / 0.922 GB, free: 5.559 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/5.311, allocations: 12.05 kB / 0.922 GB, free: 5.547 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001098/5.311, allocations: 103.3 kB / 0.9221 GB, free: 5.445 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002195/5.313, allocations: 272 kB / 0.9224 GB, free: 5.18 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.002369/5.316, allocations: 0.95 MB / 0.9233 GB, free: 4.227 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002601/5.316, allocations: 51.91 kB / 0.9234 GB, free: 4.176 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/5.316, allocations: 0 / 0.9234 GB, free: 4.176 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.149e-05/5.316, allocations: 16 kB / 0.9234 GB, free: 4.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/5.316, allocations: 15.98 kB / 0.9234 GB, free: 4.145 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008299/5.317, allocations: 218.7 kB / 0.9236 GB, free: 3.902 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004302/5.318, allocations: 0.7383 MB / 0.9243 GB, free: 3.141 MB / 394.7 MB Notification: Performance of SimCode: time 1.412e-06/5.318, allocations: 0 / 0.9243 GB, free: 3.141 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat does not exist to compare? outputFormat=mat