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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.005877/0.005877, allocations: 97.27 kB / 15.73 MB, free: 6.047 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.001422/0.001422, allocations: 196.2 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.1714/0.1714, allocations: 11.18 MB / 301.7 MB, free: 1.23 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 55.91 kB / 417.3 MB, free: 6.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2366, allocations: 51.97 MB / 469.3 MB, free: 16.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.002968/0.2396, allocations: 1.994 MB / 471.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.2414, allocations: 1.258 MB / 472.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.2415, allocations: 2.188 kB / 472.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007672/0.2423, allocations: 285.2 kB / 472.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004109/0.2427, allocations: 192.8 kB / 473 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007549/0.2435, allocations: 318.1 kB / 473.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003664/0.2439, allocations: 339.6 kB / 473.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.244, allocations: 63.88 kB / 473.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.2442, allocations: 142.6 kB / 473.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.2444, allocations: 133.4 kB / 474 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.044e-05/0.2444, allocations: 17.88 kB / 474 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002147/0.2446, allocations: 104.5 kB / 474.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.755e-05/0.2447, allocations: 77.89 kB / 474.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.2449, allocations: 117 kB / 474.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004065/0.2453, allocations: 356.9 kB / 474.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2453, allocations: 0 / 474.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2453, allocations: 0 / 474.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.2453, allocations: 1.375 kB / 474.7 MB, free: 13.62 MB / 350.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 2.0.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;