Opened 4 years ago
Last modified 4 years ago
#6198 closed defect
Index reduction issue in Buildings: the backend tries to differentiate a discontinuous expression — at Version 3
Reported by: | Francesco Casella | Owned by: | Karim Adbdelhak |
---|---|---|---|
Priority: | critical | Milestone: | 1.18.0 |
Component: | Backend | Version: | |
Keywords: | Cc: | Andreas Heuermann |
Description (last modified by )
Please check Buildings.Examples.ChillerPlant.DataCenterRenewables. The backend fails with
[/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:265:5-265:157:writable] Error: Derivative of expression "bat.P = if con.multiSwitch1.firstActiveIndex == 0 then con.multiSwitch1.y_default else con.multiSwitch1.expr[con.multiSwitch1.firstActiveIndex]" w.r.t. "time" is non-existent.
I'm not sure why the backend tries to differentiate that expression. Dymola and JModelica compile the model without any problem.
Change History (3)
comment:1 by , 4 years ago
Summary: | Index reduction issue in Buildings → Index reduction issue in Buildings: the backend tries to differentiate a discontinuous expression |
---|
comment:2 by , 4 years ago
Milestone: | 1.17.0 → 1.18.0 |
---|
comment:3 by , 4 years ago
Description: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.