Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(ThermofluidStream.Undirected.Sensors.Tests.TestSensors,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Sensors_Tests_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Sensors.Tests.TestSensors,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Sensors_Tests_TestSensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001155/0.001156, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 223.2 MB / 240 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7228/0.7228, allocations: 89.67 MB / 380.7 MB, free: 11.45 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003682/0.0003683, allocations: 13.12 kB / 460.1 MB, free: 24.29 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1399, allocations: 68.83 MB / 0.5166 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Sensors.Tests.TestSensors): time 0.7147/0.8547, allocations: 295.5 MB / 0.8051 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5204/1.375, allocations: 60.16 MB / 0.8639 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004158/1.379, allocations: 37.25 kB / 0.8639 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00652/1.386, allocations: 1.922 MB / 0.8658 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.02685/1.413, allocations: 6.865 MB / 0.8725 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01892/1.432, allocations: 4.511 MB / 0.8769 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.007716/1.439, allocations: 5.145 MB / 0.8819 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001769/1.441, allocations: 0.8825 MB / 0.8828 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02052/1.462, allocations: 12.82 MB / 0.8953 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003895/1.466, allocations: 1.53 MB / 0.8968 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0005451/1.466, allocations: 81.88 kB / 0.8969 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03126/1.498, allocations: 11.26 MB / 0.9079 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001499/1.499, allocations: 0.5102 MB / 0.9084 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002592/1.502, allocations: 0.589 MB / 0.909 GB, free: 23.21 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01692/1.519, allocations: 7.171 MB / 0.916 GB, free: 17.38 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/1.519, allocations: 3.094 kB / 0.916 GB, free: 17.38 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.797e-06/1.519, allocations: 0 / 0.916 GB, free: 17.38 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.196e-05/1.519, allocations: 6.516 kB / 0.916 GB, free: 17.38 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 728 * Number of variables: 728 Notification: Performance of Generate backend data structure: time 0.01168/1.53, allocations: 4.061 MB / 0.9199 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/1.531, allocations: 12.03 kB / 0.9199 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007781/1.531, allocations: 381.9 kB / 0.9203 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00334/1.535, allocations: 0.6416 MB / 0.9209 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002469/1.537, allocations: 1.142 MB / 0.922 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001574/1.537, allocations: 207.6 kB / 0.9222 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003861/1.538, allocations: 281.4 kB / 0.9225 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006955/1.545, allocations: 3.314 MB / 0.9257 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.109e-05/1.545, allocations: 0 / 0.9257 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001983/1.545, allocations: 119 kB / 0.9259 GB, free: 9.422 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000224/1.545, allocations: 167.4 kB / 0.926 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005394/1.551, allocations: 2.727 MB / 0.9287 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0187/1.569, allocations: 15.43 MB / 0.9438 GB, free: 8.797 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003654/1.573, allocations: 1.74 MB / 0.9454 GB, free: 7.629 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001241/1.574, allocations: 0.8245 MB / 0.9463 GB, free: 7.121 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8671/2.441, allocations: 330.2 MB / 1.269 GB, free: 203.6 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.366e-05/2.442, allocations: 55.94 kB / 1.269 GB, free: 203.6 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=168): time 5.12e-06/2.442, allocations: 0 / 1.269 GB, free: 203.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=168): time 0.007101/2.449, allocations: 3.316 MB / 1.272 GB, free: 200.3 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/2.449, allocations: 94.11 kB / 1.272 GB, free: 200.2 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/2.45, allocations: 1.169 MB / 1.273 GB, free: 199 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.000114/2.45, allocations: 50.72 kB / 1.273 GB, free: 199 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005159/2.451, allocations: 0.9914 MB / 1.274 GB, free: 198.1 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004068/2.451, allocations: 0.5768 MB / 1.275 GB, free: 197.5 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.946e-05/2.451, allocations: 29.25 kB / 1.275 GB, free: 197.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.877e-05/2.451, allocations: 373.9 kB / 1.275 GB, free: 197.1 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009233/2.452, allocations: 0.652 MB / 1.276 GB, free: 196.5 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/2.453, allocations: 0.8851 MB / 1.277 GB, free: 195.5 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/2.455, allocations: 0.7658 MB / 1.277 GB, free: 194.8 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/2.455, allocations: 0 / 1.277 GB, free: 194.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.002964/2.458, allocations: 2.029 MB / 1.279 GB, free: 192.7 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/2.458, allocations: 8 kB / 1.279 GB, free: 192.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/2.458, allocations: 4 kB / 1.279 GB, free: 192.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003606/2.458, allocations: 103.2 kB / 1.28 GB, free: 192.6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/2.459, allocations: 375.5 kB / 1.28 GB, free: 192.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002164/2.461, allocations: 4.08 MB / 1.284 GB, free: 187.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/2.463, allocations: 311.2 kB / 1.284 GB, free: 187.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002129/2.463, allocations: 95.95 kB / 1.284 GB, free: 187.4 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 18 (boundary_fore1.rear.state_rearwards.phase,unidirectionalSensorAdapter1.state.phase,sensor_vaporQuality4.state.phase,boundary_rear1.fore.state_forwards.phase,singleFlowSensor1.state.phase,singleSensorSelect1.state.phase,boundary_fore.rear.state_rearwards.phase,sensor_vaporQuality2.state.phase,boundary_rear.fore.state_forwards.phase,singleFlowSensor.state.phase,unidirectionalSensorAdapter.state.phase,singleSensorSelect.state.phase,flowResistance1.fore.state_forwards.phase,flowResistance1.rear.state_rearwards.phase,multiSensor_Tpm1.state.phase,flowResistance.fore.state_forwards.phase,flowResistance.rear.state_rearwards.phase,multiSensor_Tpm.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 182 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001086/2.464, allocations: 458.9 kB / 1.285 GB, free: 186.9 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003561/2.464, allocations: 169.1 kB / 1.285 GB, free: 186.8 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006999/2.471, allocations: 5.783 MB / 1.291 GB, free: 180.9 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-05/2.471, allocations: 71.91 kB / 1.291 GB, free: 180.9 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.662e-05/2.471, allocations: 0 / 1.291 GB, free: 180.9 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.92e-05/2.472, allocations: 11.95 kB / 1.291 GB, free: 180.9 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01068/2.482, allocations: 8.451 MB / 1.299 GB, free: 172.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/2.482, allocations: 0 / 1.299 GB, free: 172.4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/2.483, allocations: 307.7 kB / 1.299 GB, free: 172.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003161/2.484, allocations: 115.5 kB / 1.299 GB, free: 171.9 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001318/2.484, allocations: 55.97 kB / 1.299 GB, free: 171.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002093/2.486, allocations: 4.078 MB / 1.303 GB, free: 167.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/2.486, allocations: 8.094 kB / 1.303 GB, free: 167.4 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005489/2.491, allocations: 4.697 MB / 1.308 GB, free: 162.6 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007918/2.492, allocations: 420.8 kB / 1.308 GB, free: 162.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003485/2.493, allocations: 33.33 kB / 1.308 GB, free: 162.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/2.494, allocations: 175.6 kB / 1.309 GB, free: 162 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002036/2.494, allocations: 134.2 kB / 1.309 GB, free: 161.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001692/2.494, allocations: 80.61 kB / 1.309 GB, free: 161.8 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001127/2.495, allocations: 0.8952 MB / 1.31 GB, free: 160.9 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.3e-07/2.495, allocations: 0 / 1.31 GB, free: 160.9 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.006681/2.502, allocations: 2.343 MB / 1.312 GB, free: 158.7 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 12 (flowResistance2.rear.m_flow,singleSensorX1.value[1],singleSensorX1.value[2],flowResistance.rear.m_flow,flowResistance1.rear.m_flow,multiSensor_Tpm1.p,multiSensor_Tpm1.T,multiSensor_Tpm1.m_flow,singleSensorSelect1.value,singleFlowSensor1.value,sensor_vaporQuality4.value,differenceTwoPhaseSensorSensorSelect.value) * Number of discrete variables: 32 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (177): * Single equations (assignments): 150 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 16 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01348/2.516, allocations: 8.149 MB / 1.32 GB, free: 151 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.003921/2.52, allocations: 2.556 MB / 1.322 GB, free: 148.4 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/2.52, allocations: 3.938 kB / 1.322 GB, free: 148.4 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002206/2.522, allocations: 1.896 MB / 1.324 GB, free: 146.5 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004963/2.527, allocations: 0.9538 MB / 1.325 GB, free: 145.5 MB / 0.7794 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9932:11-9932:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(differenceTwoPhaseSensorSensorSelect.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9932:11-9932:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(sensor_vaporQuality4.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9932:11-9932:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getFlowUnit(singleFlowSensor1.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9932:11-9932:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getUnit(singleSensorSelect1.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9932:11-9932:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(sensor_vaporQuality2.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9932:11-9932:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getFlowUnit(singleFlowSensor.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9932:11-9932:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(sensor_vaporQuality1.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9932:11-9932:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getUnit(singleSensorSelect.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9932:11-9932:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(differenceTwoPhaseSensorSensorSelect.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9932:11-9932:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(sensor_vaporQuality4.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9932:11-9932:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getFlowUnit(singleFlowSensor1.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9932:11-9932:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getUnit(singleSensorSelect1.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9932:11-9932:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(sensor_vaporQuality2.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9932:11-9932:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getFlowUnit(singleFlowSensor.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9932:11-9932:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(sensor_vaporQuality1.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9932:11-9932:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getUnit(singleSensorSelect.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9932:11-9932:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(differenceTwoPhaseSensorSensorSelect.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9932:11-9932:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(sensor_vaporQuality4.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9932:11-9932:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getFlowUnit(singleFlowSensor1.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9932:11-9932:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getUnit(singleSensorSelect1.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9932:11-9932:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(sensor_vaporQuality2.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9932:11-9932:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getFlowUnit(singleFlowSensor.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9932:11-9932:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(sensor_vaporQuality1.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9932:11-9932:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getUnit(singleSensorSelect.quantity) Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02623/2.553, allocations: 15.45 MB / 1.34 GB, free: 129.6 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001803/2.555, allocations: 1.85 MB / 1.342 GB, free: 127.7 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002329/2.557, allocations: 1.011 MB / 1.343 GB, free: 126.7 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00147/2.559, allocations: 1.265 MB / 1.344 GB, free: 125.5 MB / 0.7794 GB Notification: Performance of SimCode: time 2.324e-06/2.559, allocations: 4 kB / 1.344 GB, free: 125.5 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1714/2.73, allocations: 115.7 MB / 1.457 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001745/2.73, allocations: 265 kB / 1.458 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.079/9.81, allocations: 0 / 1.458 GB, free: 9.82 MB / 0.7794 GB (rm -f ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_Sensors_Tests_TestSensors_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_Sensors_Tests_TestSensors.fmu > ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.mat does not exist to compare? outputFormat=mat