Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.Counter.Examples.countUPandDOWN.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: translateModel(IndustrialControlSystems.Logical.Counter.Examples.countUPandDOWN,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Counter.Examples.countUPandDOWN") translateModel(IndustrialControlSystems.Logical.Counter.Examples.countUPandDOWN,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Counter.Examples.countUPandDOWN") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 112.1 kB / 16.43 MB, free: 6.023 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.001707/0.001708, allocations: 185.3 kB / 17.35 MB, free: 5.617 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.941/1.941, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05525/0.05525, allocations: 10.74 MB / 281.3 MB, free: 1.293 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.587e-05/2.587e-05, allocations: 5.719 kB / 391.4 MB, free: 46.02 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Counter.Examples.countUPandDOWN): time 0.003703/0.003737, allocations: 2.412 MB / 393.8 MB, free: 44.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002424/0.006175, allocations: 1.47 MB / 395.3 MB, free: 43.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001767/0.006364, allocations: 8.188 kB / 395.3 MB, free: 43.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001308/0.007679, allocations: 0.6149 MB / 395.9 MB, free: 43.16 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.0008235/0.008511, allocations: 417 kB / 396.3 MB, free: 42.99 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.009796, allocations: 0.5103 MB / 396.9 MB, free: 42.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008641/0.01067, allocations: 0.7397 MB / 397.6 MB, free: 42.42 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001976/0.01088, allocations: 94.62 kB / 397.7 MB, free: 42.37 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003828/0.01127, allocations: 308.3 kB / 398 MB, free: 42.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003425/0.01162, allocations: 313 kB / 398.3 MB, free: 42.12 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.844e-05/0.01171, allocations: 36.81 kB / 398.3 MB, free: 42.12 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003995/0.01212, allocations: 182.2 kB / 398.5 MB, free: 42.08 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0006432/0.01277, allocations: 0.7973 MB / 399.3 MB, free: 41.57 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002761/0.01305, allocations: 487.1 kB / 399.8 MB, free: 41.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.397e-05/0.01315, allocations: 67.97 kB / 399.9 MB, free: 41.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.514e-05/0.01323, allocations: 13.75 kB / 399.9 MB, free: 41.18 MB / 318.1 MB Error: Internal error NBEquation.WhenEquationBody.collectForSplit failed because lhs of statement is not a cref: (counter.Value, counter.Q) := IndustrialControlSystems.Logical.Counter.Functions.count(pre(counter.Value), counter.PV, counter.Sd, pre(counter.Sd), counter.CUd, pre(counter.CUd), counter.CDd, pre(counter.CDd), counter.R, counter.Max)