Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.Examples.Book.SimpleExamples.SolarCollector.TestFresnelField,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.SolarCollector.TestFresnelField") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.SolarCollector.TestFresnelField,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.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.9366/0.9366, allocations: 150.9 MB / 167.2 MB, free: 14.27 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.478e-05/5.503e-05, allocations: 3.391 kB / 237.7 MB, free: 1.883 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.Book.SimpleExamples.SolarCollector.TestFresnelField): time 1.942/1.942, allocations: 296.7 MB / 0.5219 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03662/1.979, allocations: 25.08 MB / 0.5464 GB, free: 2.18 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006816/1.979, allocations: 9.656 kB / 0.5464 GB, free: 2.172 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicTwoPhaseFlowPipe.mo:184:3-185:48:writable] Warning: Connector C1 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/WaterSteam/HeatExchangers/DynamicTwoPhaseFlowPipe.mo:188:3-189:46:writable] Warning: Connector C2 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/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47: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/WaterSteam/BoundaryConditions/SourceQ.mo:24:3-25:52:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0007762/1.98, allocations: 275.5 kB / 0.5467 GB, free: 1.902 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001135/1.981, allocations: 0.5716 MB / 0.5472 GB, free: 1.332 MB / 430.1 MB [/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.02722/2.009, allocations: 8.019 MB / 0.5551 GB, free: 9.344 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004386/2.013, allocations: 2.03 MB / 0.5571 GB, free: 7.309 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009227/2.014, allocations: 0.54 MB / 0.5576 GB, free: 6.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002147/2.016, allocations: 1.009 MB / 0.5586 GB, free: 5.758 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00207/2.018, allocations: 0.8682 MB / 0.5594 GB, free: 4.887 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003659/2.019, allocations: 104 kB / 0.5595 GB, free: 4.785 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03632/2.055, allocations: 15.7 MB / 0.5748 GB, free: 5.062 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.002617/2.058, allocations: 1.944 MB / 0.5767 GB, free: 3.102 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.0009763/2.058, allocations: 1.248 MB / 0.578 GB, free: 1.84 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002696/2.059, allocations: 123.6 kB / 0.5781 GB, free: 1.719 MB / 462.1 MB Notification: Performance of FrontEnd: time 0.0002178/2.059, allocations: 19.88 kB / 0.5781 GB, free: 1.699 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3588 (140) * Number of variables: 46808 (193) Notification: Performance of Bindings: time 0.00743/2.066, allocations: 7.143 MB / 0.5851 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FunctionAlias: time 0.0015/2.068, allocations: 1.294 MB / 0.5863 GB, free: 9.098 MB / 478.1 MB Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_5.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_5.d Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_5.u Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_5.s Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_5.cp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_5.ddhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_5.ddph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_5.duph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_5.duhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_5.x Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_15.T Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_15.d Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_15.u Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_15.s Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_15.cp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_15.ddhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_15.ddph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_15.duph Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_15.duhp Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $FUN_15.x Notification: Performance of Early Inline: time 0.006012/2.074, allocations: 5.657 MB / 0.5919 GB, free: 3.391 MB / 478.1 MB Notification: Performance of simplify1: time 0.0002006/2.074, allocations: 115.8 kB / 0.592 GB, free: 3.277 MB / 478.1 MB Notification: Performance of Alias: time 0.0049/2.079, allocations: 3.622 MB / 0.5955 GB, free: 15.42 MB / 494.1 MB Notification: Performance of simplify2: time 0.0001261/2.079, allocations: 99.8 kB / 0.5956 GB, free: 15.32 MB / 494.1 MB Notification: Performance of Detect States: time 0.001348/2.081, allocations: 1.125 MB / 0.5967 GB, free: 14.16 MB / 494.1 MB Notification: Performance of Events: time 0.001209/2.082, allocations: 0.8887 MB / 0.5976 GB, free: 13.27 MB / 494.1 MB Error: Internal error NBVariable.getVarPointer failed for $FUN_22.x, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.