Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.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/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 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(HelmholtzMedia.Examples.Parameter.SinglePhase_setState,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState") translateModel(HelmholtzMedia.Examples.Parameter.SinglePhase_setState,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 111 kB / 16.42 MB, free: 6.527 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.0009941/0.0009941, allocations: 183.2 kB / 17.35 MB, free: 5.75 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.935/1.935, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04807/0.04807, allocations: 9.085 MB / 279.7 MB, free: 2.977 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.99e-05/3.006e-05, allocations: 3.125 kB / 388.1 MB, free: 47.17 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.SinglePhase_setState): time 0.02318/0.02323, allocations: 18.39 MB / 406.4 MB, free: 33.85 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01558/0.03888, allocations: 16.41 MB / 422.9 MB, free: 20.42 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004132/0.0394, allocations: 1.25 kB / 422.9 MB, free: 20.42 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001462/0.04088, allocations: 320.4 kB / 423.2 MB, free: 20.2 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004671/0.04147, allocations: 129.9 kB / 423.3 MB, free: 20.08 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:1231:13-1231:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:1231:13-1231:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.02641/0.06788, allocations: 7.4 MB / 430.7 MB, free: 13.11 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005312/0.06845, allocations: 278.6 kB / 431 MB, free: 12.83 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.747e-05/0.06852, allocations: 4 kB / 431 MB, free: 12.83 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/0.06872, allocations: 103.6 kB / 431.1 MB, free: 12.73 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.06884, allocations: 67.61 kB / 431.1 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.06887, allocations: 4 kB / 431.1 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02029/0.08916, allocations: 9.985 MB / 441.1 MB, free: 2.652 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0003591/0.08958, allocations: 205.5 kB / 441.3 MB, free: 2.449 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 8.452e-05/0.08968, allocations: 157.8 kB / 441.5 MB, free: 2.293 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.834e-05/0.08976, allocations: 16 kB / 441.5 MB, free: 2.277 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.556e-05/0.08979, allocations: 0 / 441.5 MB, free: 2.277 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 (6) * Number of variables: 42 (42) Notification: Performance of Bindings: time 0.000993/0.0908, allocations: 0.968 MB / 442.5 MB, free: 1.203 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001512/0.09096, allocations: 109.2 kB / 442.6 MB, free: 1.098 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0006741/0.09164, allocations: 0.7718 MB / 443.3 MB, free: 304 kB / 318.1 MB Notification: Performance of simplify1: time 3.873e-05/0.09169, allocations: 47.94 kB / 443.4 MB, free: 256 kB / 318.1 MB Notification: Performance of Alias: time 0.0001693/0.09187, allocations: 212.7 kB / 443.6 MB, free: 4 kB / 318.1 MB Notification: Performance of simplify2: time 8.411e-05/0.09196, allocations: 55.91 kB / 443.7 MB, free: 15.95 MB / 334.1 MB Notification: Performance of Detect States: time 0.0002195/0.09219, allocations: 175.2 kB / 443.8 MB, free: 15.77 MB / 334.1 MB Notification: Performance of Events: time 6.93e-05/0.09226, allocations: 51.95 kB / 443.9 MB, free: 15.71 MB / 334.1 MB Error: Internal error NBVariable.getVarPointer failed for $FUN_1.s, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.