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: translateModel(ThermofluidStream.Undirected.Sensors.Tests.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear2.fore.m_flow|differenceTwoPhaseSensorSensorSelect.value|flowResistance.rear.m_flow|flowResistance1.rear.m_flow|multiSensor_Tpm1.T|multiSensor_Tpm1.m_flow|multiSensor_Tpm1.p|sensor_vaporQuality4.value|singleFlowSensor1.value|singleSensorSelect1.value|singleSensorX1.value.1.|singleSensorX1.value.2.",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Sensors.Tests.TestSensors") translateModel(ThermofluidStream.Undirected.Sensors.Tests.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear2.fore.m_flow|differenceTwoPhaseSensorSensorSelect.value|flowResistance.rear.m_flow|flowResistance1.rear.m_flow|multiSensor_Tpm1.T|multiSensor_Tpm1.m_flow|multiSensor_Tpm1.p|sensor_vaporQuality4.value|singleFlowSensor1.value|singleSensorSelect1.value|singleSensorX1.value.1.|singleSensorX1.value.2.",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Sensors.Tests.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006933/0.006934, allocations: 169 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.585/1.585, allocations: 205.4 MB / 221.3 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.0008241/0.000824, allocations: 98.84 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.7901/0.7901, allocations: 90.59 MB / 408.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003226/0.0003227, allocations: 8 kB / 485.2 MB, free: 2.09 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.416, allocations: 66.28 MB / 0.5386 GB, free: 45.61 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Sensors.Tests.TestSensors): time 0.6539/1.07, allocations: 260.3 MB / 0.7928 GB, free: 7.434 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.06812/1.138, allocations: 57.46 MB / 0.8489 GB, free: 6.066 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005034/1.143, allocations: 31.81 kB / 0.8489 GB, free: 6.066 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.007242/1.151, allocations: 2.019 MB / 0.8509 GB, free: 5.496 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.02798/1.179, allocations: 7.252 MB / 0.858 GB, free: 3.793 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.02063/1.199, allocations: 5.234 MB / 0.8631 GB, free: 2.672 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.007049/1.206, allocations: 2.763 MB / 0.8658 GB, free: 2.508 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001794/1.208, allocations: 0.8723 MB / 0.8666 GB, free: 2.273 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01905/1.227, allocations: 12.41 MB / 0.8787 GB, free: 11.57 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003648/1.231, allocations: 1.135 MB / 0.8798 GB, free: 10.91 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0004686/1.231, allocations: 84 kB / 0.8799 GB, free: 10.82 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03762/1.269, allocations: 13.45 MB / 0.893 GB, free: 408 kB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.001374/1.27, allocations: 490.1 kB / 0.8935 GB, free: 144 kB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.002198/1.273, allocations: 0.5895 MB / 0.8941 GB, free: 15.8 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.02176/1.294, allocations: 7.702 MB / 0.9016 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/1.295, allocations: 0 / 0.9016 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.815e-06/1.295, allocations: 0 / 0.9016 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001096/1.295, allocations: 0 / 0.9016 GB, free: 9.543 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.01477/1.309, allocations: 4.229 MB / 0.9057 GB, free: 5.641 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/1.31, allocations: 8.031 kB / 0.9058 GB, free: 5.633 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00395/1.313, allocations: 0.6299 MB / 0.9064 GB, free: 5.102 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002951/1.316, allocations: 1.124 MB / 0.9075 GB, free: 4.316 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002038/1.317, allocations: 210.4 kB / 0.9077 GB, free: 4.199 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007699/1.317, allocations: 269.5 kB / 0.9079 GB, free: 4.023 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008831/1.326, allocations: 3.377 MB / 0.9112 GB, free: 1.66 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-05/1.326, allocations: 6.906 kB / 0.9112 GB, free: 1.656 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003184/1.327, allocations: 111.8 kB / 0.9113 GB, free: 1.633 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000229/1.327, allocations: 165.6 kB / 0.9115 GB, free: 1.496 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006018/1.333, allocations: 2.82 MB / 0.9142 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02126/1.354, allocations: 16.91 MB / 0.9308 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004228/1.359, allocations: 1.749 MB / 0.9325 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.9871/2.346, allocations: 315.3 MB / 1.24 GB, free: 12.18 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.316e-05/2.346, allocations: 57.7 kB / 1.24 GB, free: 12.13 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=192): time 6.392e-06/2.346, allocations: 4 kB / 1.24 GB, free: 12.12 MB / 0.7917 GB Notification: Performance of matching and sorting (n=192): time 0.01069/2.357, allocations: 4.928 MB / 1.245 GB, free: 8.051 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.964e-05/2.357, allocations: 102.6 kB / 1.245 GB, free: 7.938 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/2.358, allocations: 0.8198 MB / 1.246 GB, free: 7.309 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0002018/2.358, allocations: 51.8 kB / 1.246 GB, free: 7.273 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006991/2.359, allocations: 0.9774 MB / 1.247 GB, free: 6.664 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007343/2.36, allocations: 0.6503 MB / 1.248 GB, free: 6.105 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/2.36, allocations: 30.25 kB / 1.248 GB, free: 6.098 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.000186/2.36, allocations: 369.9 kB / 1.248 GB, free: 5.758 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001269/2.361, allocations: 0.7401 MB / 1.249 GB, free: 5.309 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00141/2.363, allocations: 0.9574 MB / 1.25 GB, free: 4.613 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/2.364, allocations: 0.8721 MB / 1.251 GB, free: 4.133 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/2.364, allocations: 1.406 kB / 1.251 GB, free: 4.133 MB / 0.7917 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004105/2.368, allocations: 2.181 MB / 1.253 GB, free: 2.707 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/2.368, allocations: 6.469 kB / 1.253 GB, free: 2.703 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/2.368, allocations: 10.91 kB / 1.253 GB, free: 2.695 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004477/2.369, allocations: 103.8 kB / 1.253 GB, free: 2.602 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/2.37, allocations: 345.4 kB / 1.253 GB, free: 2.297 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003315/2.373, allocations: 4.111 MB / 1.257 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/2.375, allocations: 306.8 kB / 1.258 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003269/2.376, allocations: 101.3 kB / 1.258 GB, free: 13.74 MB / 0.8073 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.001199/2.377, allocations: 470.3 kB / 1.258 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004498/2.377, allocations: 142.2 kB / 1.258 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008056/2.385, allocations: 5.236 MB / 1.263 GB, free: 10 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001062/2.385, allocations: 73.78 kB / 1.263 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.966e-05/2.385, allocations: 4 kB / 1.263 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.673e-05/2.385, allocations: 11.92 kB / 1.263 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01313/2.399, allocations: 8.387 MB / 1.272 GB, free: 4.648 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.464e-05/2.399, allocations: 4 kB / 1.272 GB, free: 4.645 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/2.4, allocations: 314.9 kB / 1.272 GB, free: 4.359 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003849/2.4, allocations: 105.7 kB / 1.272 GB, free: 4.266 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001916/2.4, allocations: 73.56 kB / 1.272 GB, free: 4.223 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003124/2.404, allocations: 4.094 MB / 1.276 GB, free: 24 kB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/2.404, allocations: 2.344 kB / 1.276 GB, free: 24 kB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007577/2.411, allocations: 5.057 MB / 1.281 GB, free: 12.77 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009628/2.412, allocations: 327 kB / 1.281 GB, free: 12.43 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003218/2.412, allocations: 32.56 kB / 1.281 GB, free: 12.43 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001835/2.414, allocations: 240.5 kB / 1.282 GB, free: 12.21 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003365/2.415, allocations: 139.1 kB / 1.282 GB, free: 12.09 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002679/2.415, allocations: 96.06 kB / 1.282 GB, free: 12.02 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001247/2.416, allocations: 0.5224 MB / 1.282 GB, free: 11.61 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.71e-07/2.416, allocations: 2.25 kB / 1.282 GB, free: 11.61 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01084/2.427, allocations: 2.603 MB / 1.285 GB, free: 9.449 MB / 0.823 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.01278/2.44, allocations: 3.398 MB / 1.288 GB, free: 6.719 MB / 0.823 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.005841/2.446, allocations: 3.106 MB / 1.291 GB, free: 4.43 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/2.446, allocations: 0 / 1.291 GB, free: 4.43 MB / 0.823 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.003346/2.449, allocations: 2.316 MB / 1.293 GB, free: 2.777 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004018/2.453, allocations: 0.7017 MB / 1.294 GB, free: 2.215 MB / 0.823 GB [/var/lib/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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.2671/2.72, allocations: 7.584 MB / 1.302 GB, free: 426.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/2.722, allocations: 1.905 MB / 1.303 GB, free: 425.9 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002184/2.724, allocations: 0.7274 MB / 1.304 GB, free: 425.9 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004405/2.724, allocations: 182.5 kB / 1.304 GB, free: 425.9 MB / 0.823 GB Notification: Performance of SimCode: time 1.093e-06/2.724, allocations: 1.25 kB / 1.304 GB, free: 425.9 MB / 0.823 GB Notification: Performance of Templates: time 0.1353/2.86, allocations: 94.73 MB / 1.397 GB, free: 369 MB / 0.823 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.makefile (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 & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Sensors.Tests.TestSensors -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Undirected.Sensors.Tests.TestSensors_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches