Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Undirected.Sensors.Tests.TestSensors,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Sensors_Tests_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Sensors.Tests.TestSensors,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Sensors_Tests_TestSensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.009266/0.009266, allocations: 171.7 kB / 15.12 MB, free: 5.559 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.741/1.741, allocations: 205.4 MB / 221.2 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001254/0.001254, allocations: 82.81 kB / 269.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.8299/0.8299, allocations: 90.58 MB / 408.4 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003328/0.0003328, allocations: 8 kB / 485.3 MB, free: 1.965 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4559/0.4562, allocations: 66.27 MB / 0.5387 GB, free: 45.54 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Sensors.Tests.TestSensors): time 0.7022/1.159, allocations: 260.3 MB / 0.7929 GB, free: 7.367 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.06911/1.228, allocations: 57.46 MB / 0.849 GB, free: 5.992 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00495/1.233, allocations: 33.97 kB / 0.849 GB, free: 5.992 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.00725/1.24, allocations: 2.018 MB / 0.851 GB, free: 5.426 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0272/1.267, allocations: 7.24 MB / 0.858 GB, free: 3.719 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.02123/1.288, allocations: 5.245 MB / 0.8632 GB, free: 2.598 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.007673/1.296, allocations: 2.76 MB / 0.8659 GB, free: 2.438 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001942/1.298, allocations: 0.8713 MB / 0.8667 GB, free: 2.199 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01866/1.317, allocations: 12.39 MB / 0.8788 GB, free: 11.5 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003054/1.32, allocations: 1.144 MB / 0.8799 GB, free: 10.83 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0004765/1.32, allocations: 84 kB / 0.88 GB, free: 10.75 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04124/1.362, allocations: 13.45 MB / 0.8931 GB, free: 328 kB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.001293/1.363, allocations: 485.7 kB / 0.8936 GB, free: 68 kB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.002082/1.365, allocations: 0.5905 MB / 0.8942 GB, free: 15.73 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.02213/1.387, allocations: 7.701 MB / 0.9017 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/1.387, allocations: 0 / 0.9017 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of FrontEnd: time 5.951e-06/1.387, allocations: 3.984 kB / 0.9017 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.998e-05/1.387, allocations: 0 / 0.9017 GB, free: 9.465 MB / 0.5886 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.013/1.4, allocations: 4.229 MB / 0.9058 GB, free: 5.566 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/1.401, allocations: 12.03 kB / 0.9058 GB, free: 5.555 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008324/1.401, allocations: 380.7 kB / 0.9062 GB, free: 5.348 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003147/1.405, allocations: 0.6358 MB / 0.9068 GB, free: 4.812 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002582/1.407, allocations: 1.116 MB / 0.9079 GB, free: 4.031 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001664/1.407, allocations: 206.9 kB / 0.9081 GB, free: 3.914 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003491/1.408, allocations: 270.1 kB / 0.9084 GB, free: 3.738 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006348/1.414, allocations: 3.383 MB / 0.9117 GB, free: 1.375 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.606e-05/1.414, allocations: 0 / 0.9117 GB, free: 1.375 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001927/1.414, allocations: 106.2 kB / 0.9118 GB, free: 1.352 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001966/1.415, allocations: 168.6 kB / 0.9119 GB, free: 1.215 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005316/1.42, allocations: 2.816 MB / 0.9147 GB, free: 15.33 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02095/1.441, allocations: 16.92 MB / 0.9312 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00391/1.445, allocations: 1.753 MB / 0.9329 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.9136/2.359, allocations: 315.3 MB / 1.241 GB, free: 89.33 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.021e-05/2.359, allocations: 52.98 kB / 1.241 GB, free: 89.27 MB / 0.698 GB Notification: Performance of pre-optimization done (n=192): time 6.442e-06/2.359, allocations: 0 / 1.241 GB, free: 89.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=192): time 0.008215/2.367, allocations: 4.942 MB / 1.246 GB, free: 84.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/2.367, allocations: 97.64 kB / 1.246 GB, free: 83.99 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009128/2.368, allocations: 0.8188 MB / 1.247 GB, free: 83.17 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.82e-05/2.368, allocations: 56.97 kB / 1.247 GB, free: 83.11 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004472/2.368, allocations: 0.9717 MB / 1.248 GB, free: 82.24 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004299/2.369, allocations: 0.6426 MB / 1.248 GB, free: 81.61 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.153e-05/2.369, allocations: 35.44 kB / 1.248 GB, free: 81.57 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.634e-05/2.369, allocations: 370.9 kB / 1.249 GB, free: 81.21 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001/2.37, allocations: 0.7419 MB / 1.249 GB, free: 80.46 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/2.371, allocations: 0.9599 MB / 1.25 GB, free: 79.45 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/2.372, allocations: 0.8612 MB / 1.251 GB, free: 78.59 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/2.372, allocations: 9.547 kB / 1.251 GB, free: 78.58 MB / 0.698 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.003189/2.376, allocations: 2.179 MB / 1.253 GB, free: 76.39 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/2.376, allocations: 13.47 kB / 1.253 GB, free: 76.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/2.376, allocations: 4 kB / 1.253 GB, free: 76.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003621/2.376, allocations: 110.3 kB / 1.253 GB, free: 76.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009679/2.377, allocations: 339.6 kB / 1.254 GB, free: 75.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002215/2.379, allocations: 4.11 MB / 1.258 GB, free: 71.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001818/2.381, allocations: 309.8 kB / 1.258 GB, free: 71.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001974/2.381, allocations: 99.95 kB / 1.258 GB, free: 71.03 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 18 (singleFlowSensor.fore.state_forwards.phase,sensor_vaporQuality2.rear.state_rearwards.phase,singleFlowSensor1.fore.state_forwards.phase,unidirectionalSensorAdapter1.rear.state_rearwards.phase,unidirectionalSensorAdapter1.state.phase,sensor_vaporQuality4.state.phase,singleFlowSensor1.state.phase,singleSensorSelect1.state.phase,sensor_vaporQuality2.state.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 (187): * Single equations (assignments): 170 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 6 * 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.00111/2.382, allocations: 473.1 kB / 1.259 GB, free: 70.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002513/2.383, allocations: 138.3 kB / 1.259 GB, free: 70.43 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006037/2.389, allocations: 5.24 MB / 1.264 GB, free: 65.21 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.113e-05/2.389, allocations: 67.92 kB / 1.264 GB, free: 65.15 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/2.389, allocations: 3.984 kB / 1.264 GB, free: 65.14 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.015e-05/2.389, allocations: 7.969 kB / 1.264 GB, free: 65.14 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009733/2.399, allocations: 8.384 MB / 1.272 GB, free: 56.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/2.399, allocations: 0 / 1.272 GB, free: 56.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009574/2.4, allocations: 318.1 kB / 1.272 GB, free: 56.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003117/2.4, allocations: 109.5 kB / 1.272 GB, free: 56.28 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00012/2.4, allocations: 62.78 kB / 1.273 GB, free: 56.22 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002096/2.402, allocations: 4.115 MB / 1.277 GB, free: 51.71 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/2.402, allocations: 0 / 1.277 GB, free: 51.71 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006121/2.408, allocations: 5.05 MB / 1.281 GB, free: 46.59 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007249/2.409, allocations: 325.5 kB / 1.282 GB, free: 46.25 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000184/2.409, allocations: 36 kB / 1.282 GB, free: 46.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/2.41, allocations: 234.3 kB / 1.282 GB, free: 45.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002428/2.411, allocations: 145.3 kB / 1.282 GB, free: 45.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001569/2.411, allocations: 91.95 kB / 1.282 GB, free: 45.75 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005996/2.411, allocations: 0.5242 MB / 1.283 GB, free: 45.21 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/2.411, allocations: 0 / 1.283 GB, free: 45.21 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.007649/2.419, allocations: 2.612 MB / 1.285 GB, free: 42.82 MB / 0.698 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,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,singleFlowSensor.fore.state_forwards.phase,sensor_vaporQuality2.rear.state_rearwards.phase,singleFlowSensor1.fore.state_forwards.phase,unidirectionalSensorAdapter1.rear.state_rearwards.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (182): * Single equations (assignments): 151 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 20 * 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.01777/2.437, allocations: 9.362 MB / 1.294 GB, free: 33.97 MB / 0.698 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {sensorState.rear.state_rearwards.X[1], sensorState.rear.state_rearwards.X[2]} = $TMP_ThermofluidStream_Undirected_Sensors_Tests_TestSensors_boundary__fore2_rear_Medium_ThermodynamicState20.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {singleSensorX1.fore.state_forwards.X[1], singleSensorX1.fore.state_forwards.X[2]} = $TMP_ThermofluidStream_Undirected_Sensors_Tests_TestSensors_boundary__rear2_fore_Medium_ThermodynamicState32.X Notification: Performance of simCode: created initialization part: time 0.004482/2.441, allocations: 3.109 MB / 1.297 GB, free: 30.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/2.441, allocations: 0 / 1.297 GB, free: 30.8 MB / 0.698 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {sensorState.rear.state_rearwards.X[1], sensorState.rear.state_rearwards.X[2]} = $TMP_ThermofluidStream_Undirected_Sensors_Tests_TestSensors_boundary__fore2_rear_Medium_ThermodynamicState393.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {singleSensorX1.fore.state_forwards.X[1], singleSensorX1.fore.state_forwards.X[2]} = $TMP_ThermofluidStream_Undirected_Sensors_Tests_TestSensors_boundary__rear2_fore_Medium_ThermodynamicState415.X Notification: Performance of simCode: created simulation system equations: time 0.00248/2.444, allocations: 2.314 MB / 1.3 GB, free: 28.42 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003565/2.447, allocations: 0.7079 MB / 1.3 GB, free: 27.75 MB / 0.698 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9719:9-9719:218: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:9719:9-9719:218: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:9719:9-9719:218: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:9719:9-9719:218: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:9719:9-9719:218: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:9719:9-9719:218: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:9719:9-9719:218: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:9719:9-9719:218: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:9719:9-9719:218: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:9719:9-9719:218: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:9719:9-9719:218: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:9719:9-9719:218: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:9719:9-9719:218: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:9719:9-9719:218: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:9719:9-9719:218: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:9719:9-9719:218: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:9719:9-9719:218: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:9719:9-9719:218: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:9719:9-9719:218: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:9719:9-9719:218: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:9719:9-9719:218: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:9719:9-9719:218: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:9719:9-9719:218: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:9719:9-9719:218: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.02644/2.474, allocations: 17.66 MB / 1.318 GB, free: 9.746 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001303/2.475, allocations: 1.908 MB / 1.32 GB, free: 7.805 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00189/2.477, allocations: 0.7216 MB / 1.32 GB, free: 7.141 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001204/2.478, allocations: 1.245 MB / 1.321 GB, free: 5.895 MB / 0.698 GB Notification: Performance of SimCode: time 1.052e-06/2.478, allocations: 0 / 1.321 GB, free: 5.895 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.504/2.982, allocations: 118.8 MB / 1.437 GB, free: 228.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/2.983, allocations: 284.6 kB / 1.438 GB, free: 227.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.689/10.67, allocations: 0 / 1.438 GB, free: 227.7 MB / 0.698 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Sensors_Tests_TestSensors_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Sensors_Tests_TestSensors.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.mat does not exist to compare? outputFormat=mat