Andreas

Results 64 comments of Andreas

I should re-run my example. But it is not really a good one. We still have asserts and are not treating the returned error codes in a good way. Ideally...

After discussing with @lochel we want to have some sort of flag that can flip between the old and some new approach on event detection. It could be that some...

Hey. I may encountered a similar issue on a package I'm developing in Julia v1.7.2. It's not published yet, so I can't share it, though. When I change the activated...

Oh and apparently there are more settings that can be set, e.g. `solver`. But how should a user know what values are valid?

For clang we need to use [`--config`](https://clang.llvm.org/docs/ClangCommandLineReference.html#cmdoption-clang-config) instead of `@file`. Maybe we should switch from Makefiles to CMake files? It's not really simpler that way, but maybe this will work...

Looks like `equationsPerFile` does the trick.

I created a CMakeLists.txt file that can compile this example without encountering command line arguments that are too long. Not sure if this is always the case. I noticed that...

> Then we should probably use a smarter algorithm to split the files. 2000 equations were too many for many cases, but it seems that 500 are too few for...

No idea what the best number of files is performance-wise. Compiling the individual files feels fast, but linking everything together takes forever.

I guess specifying more CVODE options for the CoSimulation FMUs would be a good starting point, so doing https://github.com/OpenModelica/OpenModelica/issues/11662. [--fmiflags=s:cvode](https://openmodelica.org/doc/OpenModelicaUsersGuide/latest/omchelptext.html#omcflag-fmiflags) is basically the only one supported right now, but it...