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.006175/0.006175, allocations: 104.1 kB / 15.74 MB, free: 5.984 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.001406/0.001406, allocations: 197.8 kB / 16.68 MB, free: 5.91 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.507/1.507, allocations: 205.1 MB / 222.5 MB, free: 4.477 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05969/0.05969, allocations: 10.75 MB / 280.7 MB, free: 10.38 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.001464/0.001464, allocations: 74.92 kB / 390.3 MB, free: 5.512 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2545, allocations: 49.01 MB / 439.4 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.003148/0.2577, allocations: 1.995 MB / 441.3 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001854/0.2596, allocations: 1.17 MB / 442.5 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.2598, allocations: 6.688 kB / 442.5 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009245/0.2607, allocations: 274.9 kB / 442.8 MB, free: 2.637 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0004768/0.2612, allocations: 199.4 kB / 443 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008865/0.2621, allocations: 286.4 kB / 443.3 MB, free: 2.395 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005327/0.2627, allocations: 347 kB / 443.6 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.2629, allocations: 51.19 kB / 443.7 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002427/0.2631, allocations: 143 kB / 443.8 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002301/0.2634, allocations: 136.1 kB / 443.9 MB, free: 2.102 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.626e-05/0.2634, allocations: 18 kB / 443.9 MB, free: 2.102 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003118/0.2637, allocations: 113.5 kB / 444.1 MB, free: 2.066 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.2639, allocations: 72.22 kB / 444.1 MB, free: 2.035 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.264, allocations: 119.8 kB / 444.2 MB, free: 1.949 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004603/0.2645, allocations: 350.8 kB / 444.6 MB, free: 1.805 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2645, allocations: 0 / 444.6 MB, free: 1.805 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2645, allocations: 0 / 444.6 MB, free: 1.805 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.2645, allocations: 0 / 444.6 MB, free: 1.805 MB / 318.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;