Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Logical_Timers_Examples_testT_OffDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Logical_Timers_Examples_testT_OffDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 194.4 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.1 MB / 222.1 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05972/0.05972, allocations: 10.74 MB / 280.2 MB, free: 10.66 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 63.91 kB / 340.1 MB, free: 23.59 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1071, allocations: 49.02 MB / 389.2 MB, free: 6.516 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.003757/0.1109, allocations: 2.053 MB / 391.2 MB, free: 4.445 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.1127, allocations: 1.147 MB / 392.4 MB, free: 3.289 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.1129, allocations: 7.938 kB / 392.4 MB, free: 3.281 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007851/0.1137, allocations: 263.5 kB / 392.6 MB, free: 3.023 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004142/0.1141, allocations: 183.5 kB / 392.8 MB, free: 2.844 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006672/0.1148, allocations: 263.5 kB / 393.1 MB, free: 2.586 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003769/0.1152, allocations: 339.1 kB / 393.4 MB, free: 2.254 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.1153, allocations: 64.27 kB / 393.5 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.1155, allocations: 147.4 kB / 393.6 MB, free: 2.047 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.1157, allocations: 143.4 kB / 393.7 MB, free: 1.906 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/0.1157, allocations: 16 kB / 393.8 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001828/0.1159, allocations: 95.94 kB / 393.9 MB, free: 1.797 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.116, allocations: 87.67 kB / 393.9 MB, free: 1.711 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.1161, allocations: 107.3 kB / 394 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004131/0.1166, allocations: 347.1 kB / 394.4 MB, free: 1.266 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.1166, allocations: 8 kB / 394.4 MB, free: 1.258 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1166, allocations: 0 / 394.4 MB, free: 1.258 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1166, allocations: 0 / 394.4 MB, free: 1.258 MB / 286.1 MB Error: Failed to solve equation timer.startTime = IndustrialControlSystems.Logical.Timers.Functions.positiveEdge(pre(timer.Sd), timer.Sd, timer.R, timer.startTime, time); [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/Logical/Timers/Timer_OffDelay.mo:12:3-27:11:writable] Error: Internal error BackendDAECreate.lowerWhenEqn: equation not handled: equation when sample(1, 0.0, 0.01) then 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.odt(timer.S, timer.R, timer.PV, time, timer.startTime); timer.tr = if not timer.Q then timer.PV - (time - timer.startTime) else timer.PV; end when;