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.0007953/0.0007953, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005914/0.005914, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.345/1.345, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0544/0.0544, allocations: 10.74 MB / 281.5 MB, free: 10.45 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.0004902/0.0004902, allocations: 15.98 kB / 342.3 MB, free: 23.38 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09756/0.09806, allocations: 50 MB / 392.3 MB, free: 5.312 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.002774/0.1009, allocations: 1.699 MB / 394 MB, free: 3.602 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002268/0.1032, allocations: 1.139 MB / 395.2 MB, free: 2.453 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002413/0.1035, allocations: 4 kB / 395.2 MB, free: 2.449 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008566/0.1044, allocations: 267.4 kB / 395.4 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005671/0.1049, allocations: 179.5 kB / 395.6 MB, free: 2.012 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009013/0.1058, allocations: 247.6 kB / 395.9 MB, free: 1.77 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005004/0.1064, allocations: 347.1 kB / 396.2 MB, free: 1.43 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.1065, allocations: 52.28 kB / 396.3 MB, free: 1.379 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002584/0.1068, allocations: 119.5 kB / 396.4 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002225/0.107, allocations: 127.4 kB / 396.5 MB, free: 1.137 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.245e-05/0.1071, allocations: 4 kB / 396.5 MB, free: 1.133 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002263/0.1073, allocations: 87.88 kB / 396.6 MB, free: 1.047 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.1074, allocations: 75.73 kB / 396.7 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.1076, allocations: 125 kB / 396.8 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005102/0.1081, allocations: 335.1 kB / 397.1 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1081, allocations: 0 / 397.1 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1081, allocations: 0 / 397.1 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.81e-06/0.1081, allocations: 4 kB / 397.1 MB, free: 0.5117 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;