Opened 4 years ago

Last modified 4 years ago

#6209 closed defect

Issue with record in array in Buildings — at Version 3

Reported by: Francesco Casella Owned by: Mahder Alemseged Gebremedhin
Priority: high Milestone: 1.18.0
Component: Code Generation Version:
Keywords: Cc: Michael Wetter

Description (last modified by Francesco Casella)

Please check Buildings.HeatTransfer.Examples.ConductorInitialization. The C compilation fails with

Buildings_7.0.0_Buildings.HeatTransfer.Examples.ConductorInitialization_08bnd.c:1307:91: error:
assigning to 'modelica_boolean' (aka 'signed char') from incompatible 
type 'const boolean_array' (aka 'const struct base_array_s')
  data->simulationInfo->booleanParameter[3] /* conS1.lay[1].material.steadyState PARAM */ = _OMC_LIT0;

Change History (3)

comment:1 by Francesco Casella, 4 years ago

Milestone: 1.17.01.18.0

comment:2 by Mahder Alemseged Gebremedhin, 4 years ago

Status: newaccepted

comment:3 by Francesco Casella, 4 years ago

Description: modified (diff)

Probably the NF does something wrong involving conS1.lay[1].material.steadyState.

@mahge930, feel free to give some suggestion to Per in your spare time, if you wish.

Note: See TracTickets for help on using tickets.