Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.SolarCollector.TestFresnelField.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.SolarCollector.TestFresnelField,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.SolarCollector.TestFresnelField") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.SolarCollector.TestFresnelField,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.SolarCollector.TestFresnelField") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9447/0.9447, allocations: 150.9 MB / 167.2 MB, free: 14.46 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.526e-05/3.53e-05, allocations: 3.922 kB / 237.7 MB, free: 1.816 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.SolarCollector.TestFresnelField): time 1.96/1.96, allocations: 297.4 MB / 0.5226 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.7192/2.679, allocations: 193 MB / 0.7111 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009149/2.68, allocations: 19.88 kB / 0.7112 GB, free: 1.836 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/DynamicTwoPhaseFlowPipe.mo:233:3-234:54:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/DynamicTwoPhaseFlowPipe.mo:237:3-238:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceQ.mo:62:3-63:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0008851/2.681, allocations: 310.6 kB / 0.7115 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00158/2.683, allocations: 0.68 MB / 0.7121 GB, free: 1.836 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv 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/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv 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/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv 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/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp 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/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp 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/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der 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/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der 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.04626/2.729, allocations: 12.91 MB / 0.7247 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004586/2.734, allocations: 2.428 MB / 0.7271 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001069/2.735, allocations: 0.7136 MB / 0.7278 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002102/2.737, allocations: 1.175 MB / 0.7289 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001224/2.738, allocations: 1.029 MB / 0.7299 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002159/2.738, allocations: 132.6 kB / 0.7301 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04232/2.781, allocations: 20.53 MB / 0.7501 GB, free: 0 / 0.5762 GB Notification: Performance of combineBinaries: time 0.004016/2.785, allocations: 2.419 MB / 0.7525 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.001309/2.786, allocations: 1.488 MB / 0.7539 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003517/2.786, allocations: 166.6 kB / 0.7541 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.0002873/2.787, allocations: 28.52 kB / 0.7541 GB, free: 14.58 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4263 (208) * Number of variables: 47483 (251) Notification: Performance of Bindings: time 0.008895/2.796, allocations: 8.697 MB / 0.7626 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.001723/2.797, allocations: 1.464 MB / 0.764 GB, free: 10.39 MB / 0.5919 GB Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_9.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_9.d Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_9.u Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_9.s Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_9.cp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_9.ddhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_9.ddph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_9.duph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_9.duhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_9.x Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_23.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_23.d Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_23.u Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_23.s Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_23.cp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_23.ddhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_23.ddph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_23.duph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_23.duhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_23.x Notification: Performance of Early Inline: time 0.00734/2.805, allocations: 7 MB / 0.7709 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of simplify1: time 0.0002515/2.805, allocations: 147.6 kB / 0.771 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of Alias: time 0.007325/2.812, allocations: 5.118 MB / 0.776 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of simplify2: time 0.0001928/2.813, allocations: 97.34 kB / 0.7761 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of Detect States: time 0.001613/2.814, allocations: 1.262 MB / 0.7773 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of Events: time 0.001449/2.816, allocations: 1.142 MB / 0.7785 GB, free: 1.441 MB / 0.5919 GB Error: Internal error NBVariable.getVarPointer failed for $FUN_29.x, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.