Behavioural inheritance in object-oriented models for mechatronic systems