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.005338/0.005338, allocations: 103.1 kB / 15.74 MB, free: 5.977 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.001381/0.001381, allocations: 197.1 kB / 16.68 MB, free: 5.895 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.479/1.479, allocations: 205.1 MB / 222.6 MB, free: 4.465 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06502/0.06502, allocations: 10.75 MB / 280.7 MB, free: 10.35 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.002182/0.002182, allocations: 67.84 kB / 390.3 MB, free: 5.508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3071, allocations: 49.02 MB / 439.4 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay): time 0.003729/0.3108, allocations: 1.993 MB / 441.4 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.3128, allocations: 1.175 MB / 442.5 MB, free: 2.871 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.313, allocations: 9.281 kB / 442.5 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008395/0.3138, allocations: 272.7 kB / 442.8 MB, free: 2.789 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.0004688/0.3143, allocations: 200.1 kB / 443 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007856/0.3151, allocations: 282.8 kB / 443.3 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004496/0.3155, allocations: 338.6 kB / 443.6 MB, free: 2.398 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.3157, allocations: 29.31 kB / 443.6 MB, free: 2.383 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002075/0.3159, allocations: 146.6 kB / 443.8 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.3161, allocations: 140.1 kB / 443.9 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.122e-05/0.3161, allocations: 16.41 kB / 443.9 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002447/0.3164, allocations: 107.7 kB / 444 MB, free: 2.23 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.3165, allocations: 74.48 kB / 444.1 MB, free: 2.195 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.3166, allocations: 114.7 kB / 444.2 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005227/0.3171, allocations: 358.1 kB / 444.6 MB, free: 1.969 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3171, allocations: 4 kB / 444.6 MB, free: 1.965 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3171, allocations: 0.5625 kB / 444.6 MB, free: 1.965 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.3171, allocations: 0.8438 kB / 444.6 MB, free: 1.965 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;