rruusu

Results 6 comments of rruusu

The cause of this error is fairly evident in the source code of `oms::SystemSC::doStep()`: [src/OMSimulatorLib/SystemSC.cpp#L520](https://github.com/OpenModelica/OMSimulator/blob/master/src/OMSimulatorLib/SystemSC.cpp#L520): ``` if (callEventUpdate[i] || zero_crossing_event || (fmus[i]->getEventInfo()->nextEventTimeDefined && time == fmus[i]->getEventInfo()->nextEventTime)) ``` Here, `callEventUpdate[i]` is...

Is resetting `callEventUpdate[i]` to `false` after its first evaluation a sufficient fix?

The cause is fairly evident in method [`oms::Model::importSignalFilter`](https://github.com/OpenModelica/OMSimulator/blob/637a1c94a08699b1cf6366a725c14b66d127b72e/src/OMSimulatorLib/Model.cpp#L1573), which sends the `name` attribute of the `oms:Variable` unquoted to a function that expects a regular expression argument. Thus a name like...

I think that it is the latter exception that prevents the UI from reacting to the illegal request response. It seems that for some reason the `response` variable from `this.chat_model.complete(request2)`...

Suggestions for APIs: ### saveModelState Saves the current model state in memory using a given name. ```C oms_status_enu_t oms_saveModelState(const char* cref, const char* name); ``` Saves the current state of...

The serialized state of a model or sub-system with several FMUs needs a file format. One possible suggestion of a binary file format: 1. Model name (just to check for...