Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#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.

Change History (3)

comment:1 by Rüdiger Franke, 9 years ago

Resolution: fixed
Status: newclosed

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.

comment:2 by Martin Sjölund, 9 years ago

Milestone: 1.9.51.10.0

Milestone renamed

comment:3 by Martin Sjölund, 7 years ago

Milestone: 1.10.0

Milestone deleted

Note: See TracTickets for help on using tickets.