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.001108/0.001108, allocations: 106.1 kB / 16.42 MB, free: 6.473 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.001066/0.001066, allocations: 189.5 kB / 17.36 MB, free: 5.707 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.095/1.095, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05155/0.05155, allocations: 10.74 MB / 281.3 MB, free: 1.277 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.907e-06/8.927e-06, allocations: 2.281 kB / 391.4 MB, free: 46.06 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Counter.Examples.countUPandDOWN): time 0.002288/0.002305, allocations: 2.397 MB / 393.8 MB, free: 44.39 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.00394, allocations: 1.48 MB / 395.3 MB, free: 43.37 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.004067, allocations: 8.438 kB / 395.3 MB, free: 43.37 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009236/0.004996, allocations: 0.6091 MB / 395.9 MB, free: 43.2 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.0005821/0.005586, allocations: 410.8 kB / 396.3 MB, free: 43.03 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000836/0.006431, allocations: 0.5159 MB / 396.9 MB, free: 42.78 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005665/0.007005, allocations: 0.7449 MB / 397.6 MB, free: 42.45 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.007162, allocations: 95.42 kB / 397.7 MB, free: 42.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002695/0.007438, allocations: 313 kB / 398 MB, free: 42.28 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/0.007687, allocations: 301.5 kB / 398.3 MB, free: 42.17 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.152e-05/0.007756, allocations: 39.38 kB / 398.3 MB, free: 42.16 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002321/0.007994, allocations: 182.8 kB / 398.5 MB, free: 42.12 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.000374/0.008375, allocations: 0.7929 MB / 399.3 MB, free: 41.61 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001552/0.008536, allocations: 485.2 kB / 399.8 MB, free: 41.27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.404e-05/0.008605, allocations: 67.06 kB / 399.8 MB, free: 41.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.931e-05/0.008649, allocations: 17.78 kB / 399.9 MB, free: 41.22 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)