Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Examples.BraytonCycle.ClosedLoopSimulator.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/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.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(ThermoPower.Examples.BraytonCycle.ClosedLoopSimulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.BraytonCycle.ClosedLoopSimulator") translateModel(ThermoPower.Examples.BraytonCycle.ClosedLoopSimulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.BraytonCycle.ClosedLoopSimulator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 105.7 kB / 17.63 MB, free: 5.387 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.001116/0.001116, allocations: 189.5 kB / 18.56 MB, free: 4.477 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.349/1.349, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.272/0.272, allocations: 48.84 MB / 320.6 MB, free: 11.1 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.103e-05/2.103e-05, allocations: 2.281 kB / 390.8 MB, free: 48.85 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.BraytonCycle.ClosedLoopSimulator): time 0.4449/0.4449, allocations: 243.1 MB / 0.619 GB, free: 1.848 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01208/0.4571, allocations: 9.111 MB / 0.6279 GB, free: 14.11 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.4582, allocations: 20.47 kB / 0.628 GB, free: 14.11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002195/0.4604, allocations: 0.9257 MB / 0.6289 GB, free: 13.68 MB / 430.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.002547/0.463, allocations: 1.606 MB / 0.6304 GB, free: 13.01 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00965/0.4727, allocations: 4.161 MB / 0.6345 GB, free: 10.9 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008255/0.481, allocations: 5.808 MB / 0.6402 GB, free: 5.848 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002704/0.4837, allocations: 1.907 MB / 0.642 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003382/0.4871, allocations: 1.915 MB / 0.6439 GB, free: 2.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001661/0.4887, allocations: 1.49 MB / 0.6454 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003497/0.4891, allocations: 280 kB / 0.6456 GB, free: 480 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005979/0.4951, allocations: 2.96 MB / 0.6485 GB, free: 13.79 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.00283/0.4979, allocations: 3.642 MB / 0.6521 GB, free: 10.21 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.001316/0.4993, allocations: 2.165 MB / 0.6542 GB, free: 8.078 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006384/0.4999, allocations: 411 kB / 0.6546 GB, free: 7.676 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.0003893/0.5003, allocations: 51.75 kB / 0.6546 GB, free: 7.625 MB / 446.1 MB Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Could not parse annotation "choices" in the backend. Notification: Could not parse annotation "Evaluate" in the backend. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 382 (377) * Number of variables: 574 (373) Notification: Performance of Bindings: time 0.008477/0.5088, allocations: 10.17 MB / 0.6646 GB, free: 13.26 MB / 462.1 MB Notification: Performance of FunctionAlias: time 0.001782/0.5106, allocations: 2.438 MB / 0.6669 GB, free: 10.59 MB / 462.1 MB Notification: Performance of Early Inline: time 0.001424/0.512, allocations: 1.259 MB / 0.6682 GB, free: 9.289 MB / 462.1 MB Notification: Performance of simplify1: time 0.0003724/0.5124, allocations: 391.4 kB / 0.6685 GB, free: 8.914 MB / 462.1 MB Notification: Performance of Alias: time 0.008895/0.5213, allocations: 8.16 MB / 0.6765 GB, free: 116 kB / 462.1 MB Notification: Performance of simplify2: time 0.0004114/0.5217, allocations: 303.1 kB / 0.6768 GB, free: 15.82 MB / 478.1 MB Notification: Performance of Events: time 0.002236/0.524, allocations: 2.413 MB / 0.6792 GB, free: 13.01 MB / 478.1 MB Notification: Performance of Detect States: time 0.001402/0.5254, allocations: 1.643 MB / 0.6808 GB, free: 11.26 MB / 478.1 MB Error: Internal error NBVariable.getVarPointer failed for j, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.