#3758 closed defect (fixed)
MSL NoiseExamples fail with Cpp runtime
Reported by: | Rüdiger Franke | Owned by: | Rüdiger Franke |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Cpp Run-time | Version: | |
Keywords: | Cc: |
Description
Just found out that the examples of Modelica.Blocks.Noise
are failing with the message
Can't get pointer to write to ArraySlice
This is because we pass an input as non-const array to an external function. Will fix it as soon as github is open again.
Note:
See TracTickets
for help on using tickets.
Fixed in a4ad037/OMCompiler. The NoiseExamples are simulating now.
There is a side effect with generated signatures for functions receiving const arrays, see 83309e5/OMCompiler.
A test for both effects was added in ffd8b12/OpenModelica-testsuite.