Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Examples.BraytonCycle.OpenLoopSimulator.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.OpenLoopSimulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.BraytonCycle.OpenLoopSimulator") translateModel(ThermoPower.Examples.BraytonCycle.OpenLoopSimulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.BraytonCycle.OpenLoopSimulator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 104.1 kB / 17.63 MB, free: 5.547 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.001179/0.001178, allocations: 193.9 kB / 18.56 MB, free: 4.625 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.311/1.311, allocations: 205.1 MB / 224.4 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2774/0.2774, allocations: 48.85 MB / 320.6 MB, free: 11.11 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.635e-05/2.637e-05, allocations: 2.281 kB / 390.8 MB, free: 48.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.BraytonCycle.OpenLoopSimulator): time 0.4336/0.4337, allocations: 243 MB / 0.6189 GB, free: 1.891 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01228/0.446, allocations: 9.045 MB / 0.6277 GB, free: 14.19 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002299/0.4483, allocations: 23.78 kB / 0.6277 GB, free: 14.19 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002584/0.4509, allocations: 0.926 MB / 0.6286 GB, free: 13.75 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.003996/0.455, allocations: 1.588 MB / 0.6302 GB, free: 13.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009949/0.465, allocations: 4.127 MB / 0.6342 GB, free: 11.01 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008991/0.474, allocations: 5.72 MB / 0.6398 GB, free: 6.152 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003196/0.4772, allocations: 1.867 MB / 0.6416 GB, free: 4.344 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004244/0.4815, allocations: 1.885 MB / 0.6434 GB, free: 2.531 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00238/0.4839, allocations: 1.451 MB / 0.6449 GB, free: 1.148 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004077/0.4843, allocations: 276 kB / 0.6451 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006166/0.4905, allocations: 2.951 MB / 0.648 GB, free: 14.21 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.002979/0.4935, allocations: 3.505 MB / 0.6514 GB, free: 10.77 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.001615/0.4951, allocations: 2.079 MB / 0.6535 GB, free: 8.727 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000738/0.4958, allocations: 403 kB / 0.6538 GB, free: 8.332 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.0005246/0.4964, allocations: 51.75 kB / 0.6539 GB, free: 8.281 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: 369 (364) * Number of variables: 561 (360) Notification: Performance of Bindings: time 0.01165/0.508, allocations: 9.839 MB / 0.6635 GB, free: 14.24 MB / 462.1 MB Notification: Performance of FunctionAlias: time 0.001791/0.5098, allocations: 2.337 MB / 0.6658 GB, free: 11.65 MB / 462.1 MB Notification: Performance of Early Inline: time 0.001472/0.5113, allocations: 1.211 MB / 0.667 GB, free: 10.4 MB / 462.1 MB Notification: Performance of simplify1: time 0.0003531/0.5117, allocations: 369 kB / 0.6673 GB, free: 10.04 MB / 462.1 MB Notification: Performance of Alias: time 0.008897/0.5206, allocations: 7.887 MB / 0.675 GB, free: 1.602 MB / 462.1 MB Notification: Performance of simplify2: time 0.0006497/0.5213, allocations: 285.1 kB / 0.6753 GB, free: 1.328 MB / 462.1 MB Notification: Performance of Events: time 0.002289/0.5236, allocations: 2.263 MB / 0.6775 GB, free: 14.81 MB / 478.1 MB Notification: Performance of Detect States: time 0.001447/0.525, allocations: 1.576 MB / 0.679 GB, free: 13.14 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.