Running command: "" <> buildModelFMU(IndustrialControlSystems.Logical.Timers.Examples.testT_On_Redge,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Logical_Timers_Examples_testT_On_Redge",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IndustrialControlSystems): time 2.172/2.172, allocations: 216.8 MB / 229 MB, free: 15.1 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.084e-05/4.11e-05, allocations: 4 kB / 282 MB, free: 10.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1317, allocations: 50.01 MB / 332 MB, free: 8.762 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.502/0.6338, allocations: 81.78 MB / 413.8 MB, free: 14.4 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003198/0.6341, allocations: 80.64 kB / 413.9 MB, free: 14.36 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04289/0.6771, allocations: 9.403 MB / 423.3 MB, free: 6.434 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6771, allocations: 0 / 423.3 MB, free: 6.434 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.887e-05/0.6772, allocations: 8 kB / 423.3 MB, free: 6.426 MB / 346.7 MB Error: Failed to solve equation timer.startTime = IndustrialControlSystems.Logical.Timers.Functions.positiveEdge(pre(timer.Sd), timer.Sd, timer.R, timer.startTime, time); [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/IndustrialControlSystems 1.1.0/Logical/Timers/Timer_On_Redge.mo:14:3-36:11:writable] Error: Internal error BackendDAECreate.lowerWhenEqn: equation not handled: equation when sample(1, 0.0, timer.Ts) then timer.Sd = timer.S; timer.Shd = timer.S_hold; timer.S_hold = IndustrialControlSystems.Logical.Timers.Functions.hold(pre(timer.Sd), timer.Sd, timer.R, pre(timer.Shd)); timer.startTime = IndustrialControlSystems.Logical.Timers.Functions.positiveEdge(pre(timer.Sd), timer.Sd, timer.R, timer.startTime, time); (timer.run, timer.Q) = IndustrialControlSystems.Logical.Timers.Functions.tim(timer.S_hold, timer.R, timer.PV, time, timer.startTime); timer.tr = if timer.Q then timer.PV + timer.startTime - time else 0.0; end when;