Per Östlund

Results 245 comments of Per Östlund

> The `reinit` error doesn't show up with the flag `--allowNonStandardModelica=reinitInAlgorithms` but now the simulation fails with error, > > `module = BouncingBall, log level = ERROR: [logStatusError][FMU status:Error] fmi2SetTime:...

It seems like it started working in [this report](https://libraries.openmodelica.org/branches/history/newInst-daemode/2018-10-19%2007:50:59..2018-10-21%2007:53:56.html) where I made the NF expand function arguments, and then broke in [the next report](https://libraries.openmodelica.org/branches/history/newInst-daemode/2018-10-21%2007:53:56..2018-10-25%2007:29:36.html) when I disabled it again because...

> > @sjoelund, we need you to grep newInst-daemode, though > > You can also search your mailbox :) I just wget:et the whole index instead :P

> @Peros What did [OpenModelica/OMCompiler@75c4b3e](https://github.com/OpenModelica/OMCompiler/commit/75c4b3eca) change? Expand arrays given to functions? Yes, a function call like: ```Modelica model M Real x[3]; equation f(x); end M; ``` will normally flatten to...

Fixed with #13389. The Base Modelica specification doesn't really mention functional input arguments yet, or even functions for that matter, so we might need to change some things later. But...

> Thanks! I'm getting further now -- compiling the resulting `'BM_function'` model now yields a compilation error > > > _omcQuot_27424d5f66756e6374696f6e27.c:123:228: error: use of undeclared identifier 'boxvar___omcQ__27BM__5Ffunction__5Flowered__27___omcQ__27Modelica__2EMath__2ENonlinear__2EExamples__2EUtilityFunctions__2Efun1__27'; did you mean...

Duplicate of [#3814](https://trac.openmodelica.org/OpenModelica/ticket/3814).

It wouldn't be impossible to deal with but would probably be hard to do efficiently. It's a similar problem we have with duplicating classes I think, which is something we'll...

> @perost I guess the functionality to do this is already present in the interactive mode, we just need to make it accessible properly in OMEdit. Do I miss something?...

> What I mean is, if you call the `save(className)` API function, the compiler saves the class to the file system. So, it must be aware of how the class...