Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_3_2_2_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.829/1.829, allocations: 194.9 MB / 202.5 MB, free: 6.934 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2412/2.07, allocations: 46.82 MB / 249.3 MB, free: 5.359 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09209/2.162, allocations: 44.5 MB / 293.8 MB, free: 10.94 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.399/3.561, allocations: 0.5899 GB / 0.8769 GB, free: 47.11 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003213/3.561, allocations: 75.64 kB / 0.877 GB, free: 47.07 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.1756/3.737, allocations: 41.31 MB / 0.9173 GB, free: 11.09 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/3.737, allocations: 12 kB / 0.9173 GB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001447/3.738, allocations: 115.7 kB / 0.9174 GB, free: 10.97 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/3.739, allocations: 198.8 kB / 0.9176 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/3.739, allocations: 4 kB / 0.9176 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/3.739, allocations: 3.984 kB / 0.9176 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001116/3.739, allocations: 23.98 kB / 0.9177 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/3.739, allocations: 71.38 kB / 0.9177 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/3.739, allocations: 0 / 0.9177 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/3.739, allocations: 3.938 kB / 0.9177 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/3.739, allocations: 0 / 0.9177 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002176/3.739, allocations: 163.7 kB / 0.9179 GB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004383/3.74, allocations: 97.2 kB / 0.918 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.462e-05/3.74, allocations: 25.11 kB / 0.918 GB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000868/3.741, allocations: 1.383 MB / 0.9193 GB, free: 8.602 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/3.741, allocations: 34.5 kB / 0.9194 GB, free: 8.559 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.335e-06/3.741, allocations: 0 / 0.9194 GB, free: 8.559 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0009781/3.742, allocations: 153.5 kB / 0.9195 GB, free: 8.402 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/3.742, allocations: 81.11 kB / 0.9196 GB, free: 8.305 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/3.742, allocations: 129 kB / 0.9197 GB, free: 8.172 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/3.742, allocations: 29.64 kB / 0.9198 GB, free: 8.137 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.82e-05/3.742, allocations: 84.14 kB / 0.9198 GB, free: 8.051 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.03e-05/3.742, allocations: 23.64 kB / 0.9199 GB, free: 8.027 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.038e-05/3.742, allocations: 0 / 0.9199 GB, free: 8.027 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.734e-05/3.742, allocations: 314.8 kB / 0.9202 GB, free: 7.711 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.517e-05/3.742, allocations: 15.98 kB / 0.9202 GB, free: 7.695 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.808e-05/3.742, allocations: 51.38 kB / 0.9202 GB, free: 7.633 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006735/3.743, allocations: 99.86 kB / 0.9203 GB, free: 7.535 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/3.743, allocations: 4 kB / 0.9203 GB, free: 7.531 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0008257/3.744, allocations: 165.4 kB / 0.9205 GB, free: 7.363 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/3.744, allocations: 4 kB / 0.9205 GB, free: 7.359 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/3.744, allocations: 4 kB / 0.9205 GB, free: 7.355 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/3.744, allocations: 4 kB / 0.9205 GB, free: 7.352 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/3.744, allocations: 24.03 kB / 0.9205 GB, free: 7.328 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/3.744, allocations: 0 / 0.9205 GB, free: 7.328 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000289/3.744, allocations: 7.906 kB / 0.9205 GB, free: 7.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/3.744, allocations: 4 kB / 0.9205 GB, free: 7.316 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.75e-05/3.745, allocations: 108.7 kB / 0.9206 GB, free: 7.203 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.592e-05/3.745, allocations: 7.906 kB / 0.9206 GB, free: 7.195 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009861/3.746, allocations: 209.5 kB / 0.9208 GB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/3.746, allocations: 0 / 0.9208 GB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/3.746, allocations: 0 / 0.9208 GB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/3.746, allocations: 4 kB / 0.9208 GB, free: 6.977 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/3.746, allocations: 154.1 kB / 0.921 GB, free: 6.789 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/3.746, allocations: 0 / 0.921 GB, free: 6.789 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002234/3.746, allocations: 23.92 kB / 0.921 GB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/3.746, allocations: 4 kB / 0.921 GB, free: 6.762 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/3.746, allocations: 0 / 0.921 GB, free: 6.762 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/3.746, allocations: 0 / 0.921 GB, free: 6.762 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/3.746, allocations: 4 kB / 0.921 GB, free: 6.758 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008874/3.747, allocations: 223.4 kB / 0.9212 GB, free: 6.512 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001067/3.748, allocations: 0.625 MB / 0.9218 GB, free: 5.855 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.563e-05/3.748, allocations: 100.9 kB / 0.9219 GB, free: 5.738 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.298e-05/3.748, allocations: 0 / 0.9219 GB, free: 5.738 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002818/3.749, allocations: 7.984 kB / 0.9219 GB, free: 5.73 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/3.749, allocations: 3.938 kB / 0.922 GB, free: 5.727 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/3.749, allocations: 12.17 kB / 0.922 GB, free: 5.715 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.601e-05/3.749, allocations: 107.3 kB / 0.9221 GB, free: 5.609 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00187/3.751, allocations: 267.8 kB / 0.9223 GB, free: 5.348 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.002002/3.753, allocations: 0.9399 MB / 0.9232 GB, free: 4.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002682/3.753, allocations: 51.92 kB / 0.9233 GB, free: 4.359 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/3.753, allocations: 0 / 0.9233 GB, free: 4.359 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.476e-05/3.753, allocations: 20 kB / 0.9233 GB, free: 4.34 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/3.753, allocations: 12.45 kB / 0.9233 GB, free: 4.328 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007434/3.754, allocations: 218.5 kB / 0.9235 GB, free: 4.086 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003769/3.754, allocations: 0.7305 MB / 0.9242 GB, free: 3.332 MB / 394.7 MB Notification: Performance of SimCode: time 1.172e-06/3.754, allocations: 0 / 0.9242 GB, free: 3.332 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat does not exist to compare? outputFormat=mat