Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases.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.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9056/0.9056, allocations: 150.9 MB / 167.2 MB, free: 14.52 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.274e-05/2.275e-05, allocations: 2.281 kB / 237.8 MB, free: 1.914 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.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases): time 1.867/1.867, allocations: 295.5 MB / 0.5207 GB, free: 12.44 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2144/2.082, allocations: 167.1 MB / 0.6839 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004207/2.082, allocations: 4 kB / 0.6839 GB, free: 4.988 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/Sink.mo:17:3-19:16:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/MultiFluids/HeatExchangers/StaticExchangerWaterSteamFlueGases.mo:50:3-51:83:writable] Warning: Connector Cws2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/MultiFluids/HeatExchangers/StaticExchangerWaterSteamFlueGases.mo:52:3-54:16:writable] Warning: Connector Cws1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/MultiFluids/HeatExchangers/StaticExchangerWaterSteamFlueGases.mo:55:3-56:83:writable] Warning: Connector Cfg1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/MultiFluids/HeatExchangers/StaticExchangerWaterSteamFlueGases.mo:57:3-59:16:writable] Warning: Connector Cfg2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourcePQ.mo:29:3-30:52:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/BoundaryConditions/SourcePQ.mo:18:3-19:83:writable] Warning: Connector C is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/BoundaryConditions/Sink.mo:15:3-17:16:writable] Warning: Connector C is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.000597/2.083, allocations: 164.2 kB / 0.6841 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004194/2.083, allocations: 162.7 kB / 0.6842 GB, free: 4.668 MB / 0.5606 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. Notification: Performance of NFTyping.typeClassSections: time 0.02161/2.105, allocations: 6.116 MB / 0.6902 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001175/2.106, allocations: 0.6156 MB / 0.6908 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004948/2.106, allocations: 232.8 kB / 0.691 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004352/2.107, allocations: 215.2 kB / 0.6912 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003734/2.107, allocations: 219 kB / 0.6914 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.834e-05/2.107, allocations: 40 kB / 0.6915 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02328/2.131, allocations: 12.22 MB / 0.7034 GB, free: 1 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.000763/2.131, allocations: 0.7182 MB / 0.7041 GB, free: 280 kB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.4266/2.558, allocations: 471.9 kB / 0.7046 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003414/2.558, allocations: 82 kB / 0.7046 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0001962/2.559, allocations: 10.73 kB / 0.7046 GB, free: 14.29 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 (109) * Number of variables: 136 (136) Notification: Performance of Bindings: time 0.003073/2.562, allocations: 2.44 MB / 0.707 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 0.0004778/2.562, allocations: 319.1 kB / 0.7073 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.002506/2.565, allocations: 1.921 MB / 0.7092 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of simplify1: time 0.0001707/2.565, allocations: 130.2 kB / 0.7093 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of Alias: time 0.004775/2.57, allocations: 3.29 MB / 0.7125 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of simplify2: time 8.001e-05/2.57, allocations: 78.36 kB / 0.7126 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of Detect States: time 0.0002502/2.57, allocations: 263.9 kB / 0.7129 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of Events: time 0.0002036/2.57, allocations: 128 kB / 0.713 GB, free: 12.27 MB / 0.5762 GB Error: Internal error NBVariable.getVarPointer failed for $FUN_5.x, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.