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.001709/0.001709, allocations: 109.9 kB / 16.42 MB, free: 6.508 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.001735/0.001736, allocations: 185.5 kB / 17.35 MB, free: 5.754 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.045/1.045, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.03933/0.03933, allocations: 9.076 MB / 279.7 MB, free: 2.965 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.222e-05/1.261e-05, allocations: 3.125 kB / 388 MB, free: 47.2 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.SinglePhase_setState): time 0.01333/0.01335, allocations: 18.4 MB / 406.4 MB, free: 33.87 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01021/0.02358, allocations: 16.4 MB / 422.8 MB, free: 20.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.062e-05/0.02367, allocations: 1.531 kB / 422.9 MB, free: 20.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005171/0.02419, allocations: 287.2 kB / 423.1 MB, free: 20.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001545/0.02436, allocations: 104.7 kB / 423.2 MB, free: 20.14 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.01124/0.03561, allocations: 7.055 MB / 430.3 MB, free: 13.51 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001791/0.0358, allocations: 270.7 kB / 430.6 MB, free: 13.24 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.283e-05/0.03583, allocations: 4 kB / 430.6 MB, free: 13.24 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.03594, allocations: 103.6 kB / 430.7 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.073e-05/0.03602, allocations: 67.66 kB / 430.7 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.353e-06/0.03603, allocations: 0 / 430.7 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008749/0.04479, allocations: 9.993 MB / 440.7 MB, free: 3.059 MB / 318.1 MB Notification: Performance of combineBinaries: time 9.611e-05/0.0449, allocations: 205.5 kB / 440.9 MB, free: 2.855 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 4.17e-05/0.04494, allocations: 153.8 kB / 441.1 MB, free: 2.703 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.973e-05/0.04497, allocations: 19.94 kB / 441.1 MB, free: 2.684 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.476e-06/0.04498, allocations: 0 / 441.1 MB, free: 2.684 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.0004867/0.04547, allocations: 0.9603 MB / 442 MB, free: 1.617 MB / 318.1 MB Notification: Performance of FunctionAlias: time 8.347e-05/0.04556, allocations: 108.7 kB / 442.2 MB, free: 1.512 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0004527/0.04602, allocations: 0.7718 MB / 442.9 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of simplify1: time 3.075e-05/0.04606, allocations: 47.94 kB / 443 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of Alias: time 0.0001228/0.04618, allocations: 216.7 kB / 443.2 MB, free: 424 kB / 318.1 MB Notification: Performance of simplify2: time 2.901e-05/0.04622, allocations: 51.92 kB / 443.2 MB, free: 372 kB / 318.1 MB Notification: Performance of Events: time 2.883e-05/0.04625, allocations: 51.95 kB / 443.3 MB, free: 320 kB / 318.1 MB Notification: Performance of Detect States: time 0.0002219/0.04648, allocations: 175.1 kB / 443.5 MB, free: 132 kB / 318.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.