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 (/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: 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_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_ThermofluidStream.Undirected.Sensors.Tests.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.008047/0.008047, allocations: 171.5 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6528/0.6528, allocations: 91.31 MB / 382.7 MB, free: 9.664 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003713, allocations: 13.66 kB / 462.7 MB, free: 23.54 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1157, allocations: 69.22 MB / 0.5195 GB, free: 9.098 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Sensors.Tests.TestSensors): time 0.8734/0.9891, allocations: 316.6 MB / 0.8286 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.06083/1.05, allocations: 66.57 MB / 0.8936 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003519/1.054, allocations: 94.38 kB / 0.8937 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.005521/1.059, allocations: 2.227 MB / 0.8959 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0214/1.081, allocations: 7.496 MB / 0.9032 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0157/1.096, allocations: 5.229 MB / 0.9083 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.007784/1.104, allocations: 6.288 MB / 0.9145 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001821/1.106, allocations: 1.011 MB / 0.9154 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01682/1.123, allocations: 8.256 MB / 0.9235 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003314/1.126, allocations: 1.703 MB / 0.9252 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004669/1.127, allocations: 87.09 kB / 0.9253 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02979/1.156, allocations: 13.86 MB / 0.9388 GB, free: 3.805 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001028/1.157, allocations: 0.5541 MB / 0.9393 GB, free: 3.484 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002655/1.16, allocations: 1.473 MB / 0.9408 GB, free: 2.328 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.02884/1.189, allocations: 10.84 MB / 0.9514 GB, free: 9.746 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/1.189, allocations: 3.938 kB / 0.9514 GB, free: 9.746 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.994e-06/1.189, allocations: 0 / 0.9514 GB, free: 9.746 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001305/1.189, allocations: 0 / 0.9514 GB, free: 9.746 MB / 0.6387 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.01165/1.201, allocations: 4.282 MB / 0.9555 GB, free: 5.77 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/1.201, allocations: 12.03 kB / 0.9555 GB, free: 5.758 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003477/1.204, allocations: 0.6541 MB / 0.9562 GB, free: 5.199 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002957/1.207, allocations: 1.535 MB / 0.9577 GB, free: 3.766 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001571/1.208, allocations: 208.8 kB / 0.9579 GB, free: 3.562 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004593/1.208, allocations: 275.1 kB / 0.9581 GB, free: 3.297 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006966/1.215, allocations: 3.334 MB / 0.9614 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.968e-05/1.215, allocations: 4 kB / 0.9614 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002464/1.215, allocations: 110.6 kB / 0.9615 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002151/1.216, allocations: 165.8 kB / 0.9617 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006313/1.222, allocations: 2.753 MB / 0.9644 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01741/1.239, allocations: 15.56 MB / 0.9795 GB, free: 11.85 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003968/1.243, allocations: 1.728 MB / 0.9812 GB, free: 10.12 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001331/1.245, allocations: 0.8336 MB / 0.9821 GB, free: 9.285 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 1.088/2.333, allocations: 395.3 MB / 1.368 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.756e-05/2.333, allocations: 45.38 kB / 1.368 GB, free: 2.406 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=168): time 6.221e-06/2.333, allocations: 4 kB / 1.368 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of matching and sorting (n=168): time 0.2636/2.597, allocations: 3.362 MB / 1.371 GB, free: 0.4884 GB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.465e-05/2.597, allocations: 94.11 kB / 1.372 GB, free: 0.4883 GB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002607/2.599, allocations: 1.49 MB / 1.373 GB, free: 499.9 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0003126/2.6, allocations: 56.22 kB / 1.373 GB, free: 499.8 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009946/2.601, allocations: 1.122 MB / 1.374 GB, free: 499.7 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005898/2.601, allocations: 0.579 MB / 1.375 GB, free: 499.3 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000253/2.602, allocations: 162.3 kB / 1.375 GB, free: 499.3 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 4.064e-05/2.602, allocations: 301.6 kB / 1.375 GB, free: 499 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001265/2.603, allocations: 0.652 MB / 1.376 GB, free: 499 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/2.604, allocations: 0.8983 MB / 1.377 GB, free: 498.8 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002409/2.607, allocations: 1.654 MB / 1.378 GB, free: 498.2 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/2.607, allocations: 2 kB / 1.378 GB, free: 498.2 MB / 0.8887 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.00358/2.61, allocations: 2.064 MB / 1.38 GB, free: 497.4 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/2.61, allocations: 8.469 kB / 1.38 GB, free: 497.4 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/2.61, allocations: 8.438 kB / 1.38 GB, free: 497.4 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000344/2.611, allocations: 103.6 kB / 1.38 GB, free: 497.4 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/2.612, allocations: 375.5 kB / 1.381 GB, free: 497.3 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002167/2.614, allocations: 4.072 MB / 1.385 GB, free: 493.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/2.616, allocations: 293.7 kB / 1.385 GB, free: 493.2 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000193/2.616, allocations: 103 kB / 1.385 GB, free: 493.2 MB / 0.8887 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009077/2.617, allocations: 474.4 kB / 1.386 GB, free: 492.8 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003369/2.617, allocations: 204.6 kB / 1.386 GB, free: 492.7 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007/2.624, allocations: 5.807 MB / 1.391 GB, free: 490.2 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000104/2.624, allocations: 79.11 kB / 1.392 GB, free: 490.2 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.476e-05/2.624, allocations: 1.75 kB / 1.392 GB, free: 490.2 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-05/2.624, allocations: 9.234 kB / 1.392 GB, free: 490.2 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01191/2.636, allocations: 8.594 MB / 1.4 GB, free: 486.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/2.636, allocations: 0.9688 kB / 1.4 GB, free: 486.2 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/2.637, allocations: 314.7 kB / 1.4 GB, free: 486.2 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003281/2.638, allocations: 109.6 kB / 1.4 GB, free: 486.2 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001281/2.638, allocations: 59.33 kB / 1.4 GB, free: 486.1 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002137/2.64, allocations: 4.072 MB / 1.404 GB, free: 482.1 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/2.64, allocations: 5.438 kB / 1.404 GB, free: 482.1 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006066/2.646, allocations: 4.771 MB / 1.409 GB, free: 479.8 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008147/2.647, allocations: 445.3 kB / 1.409 GB, free: 479.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003296/2.647, allocations: 37.52 kB / 1.409 GB, free: 479.4 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/2.648, allocations: 182.9 kB / 1.41 GB, free: 479.4 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002289/2.649, allocations: 140.8 kB / 1.41 GB, free: 479.4 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001594/2.649, allocations: 82.23 kB / 1.41 GB, free: 479.4 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001405/2.65, allocations: 1.114 MB / 1.411 GB, free: 478.9 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.3e-07/2.65, allocations: 0 / 1.411 GB, free: 478.9 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.006148/2.656, allocations: 2.375 MB / 1.413 GB, free: 478.5 MB / 0.8887 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008319/2.665, allocations: 3.055 MB / 1.416 GB, free: 478.1 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003661/2.668, allocations: 2.565 MB / 1.419 GB, free: 476.9 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/2.668, allocations: 0 / 1.419 GB, free: 476.9 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.00201/2.671, allocations: 1.907 MB / 1.421 GB, free: 475.9 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005313/2.676, allocations: 0.9736 MB / 1.422 GB, free: 475.7 MB / 0.8887 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10070:11-10070: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10070:11-10070: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10070:11-10070: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10070:11-10070: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10070:11-10070: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10070:11-10070: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10070:11-10070: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10070:11-10070: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10070:11-10070: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10070:11-10070: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10070:11-10070: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10070:11-10070: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10070:11-10070: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10070:11-10070: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10070:11-10070: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10070:11-10070: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10070:11-10070: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10070:11-10070: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10070:11-10070: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10070:11-10070: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10070:11-10070: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10070:11-10070: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10070:11-10070: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10070:11-10070: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.01034/2.686, allocations: 8.243 MB / 1.43 GB, free: 471.2 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001304/2.688, allocations: 1.94 MB / 1.432 GB, free: 469.4 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.00247/2.69, allocations: 1.068 MB / 1.433 GB, free: 468.4 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006515/2.691, allocations: 247.3 kB / 1.433 GB, free: 468.1 MB / 0.8887 GB Notification: Performance of SimCode: time 9.42e-07/2.691, allocations: 0 / 1.433 GB, free: 468.1 MB / 0.8887 GB Notification: Performance of Templates: time 0.1087/2.799, allocations: 94.3 MB / 1.525 GB, free: 374.3 MB / 0.8887 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.makefile (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 & ./ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Sensors.Tests.TestSensors_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches