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: rfranke Owned by: rfranke
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 Changed 9 years ago by rfranke

  • Resolution set to fixed
  • Status changed from new to closed

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 Changed 9 years ago by sjoelund.se

  • Milestone changed from 1.9.5 to 1.10.0

Milestone renamed

comment:3 Changed 7 years ago by sjoelund.se

  • Milestone 1.10.0 deleted

Milestone deleted

Note: See TracTickets for help on using tickets.