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: 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.0009416/0.0009416, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.0009558/0.0009557, allocations: 177.3 kB / 15.94 MB, free: 228 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.361/1.361, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.733/0.733, allocations: 89.6 MB / 380.6 MB, free: 11.47 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003779/0.0003779, allocations: 13.22 kB / 459.9 MB, free: 24.36 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.158, allocations: 68.83 MB / 0.5163 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Sensors.Tests.TestSensors): time 0.6013/0.7594, allocations: 260.5 MB / 0.7707 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4683/1.228, allocations: 55.31 MB / 0.8247 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002935/1.231, allocations: 37.59 kB / 0.8247 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00602/1.237, allocations: 2.016 MB / 0.8267 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.02335/1.26, allocations: 6.859 MB / 0.8334 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01655/1.277, allocations: 4.798 MB / 0.8381 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.007444/1.284, allocations: 2.782 MB / 0.8408 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001469/1.286, allocations: 0.884 MB / 0.8417 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01893/1.305, allocations: 12.37 MB / 0.8537 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002088/1.307, allocations: 1.12 MB / 0.8548 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002198/1.307, allocations: 81.59 kB / 0.8549 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02869/1.336, allocations: 12.29 MB / 0.8669 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001529/1.337, allocations: 483.2 kB / 0.8674 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002994/1.34, allocations: 0.586 MB / 0.8679 GB, free: 28.06 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01765/1.358, allocations: 7.096 MB / 0.8749 GB, free: 26.89 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/1.358, allocations: 0 / 0.8749 GB, free: 26.89 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.324e-06/1.358, allocations: 0 / 0.8749 GB, free: 26.89 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.546e-05/1.358, allocations: 4 kB / 0.8749 GB, free: 26.89 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.01153/1.37, allocations: 4.072 MB / 0.8789 GB, free: 24.61 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/1.37, allocations: 16.09 kB / 0.8789 GB, free: 24.6 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003553/1.373, allocations: 0.631 MB / 0.8795 GB, free: 24.36 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002632/1.376, allocations: 1.144 MB / 0.8806 GB, free: 23.82 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/1.376, allocations: 208.2 kB / 0.8808 GB, free: 23.81 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003953/1.376, allocations: 282 kB / 0.8811 GB, free: 23.8 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005852/1.382, allocations: 3.29 MB / 0.8843 GB, free: 22.19 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.76e-05/1.382, allocations: 2.062 kB / 0.8843 GB, free: 22.19 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001817/1.383, allocations: 114.4 kB / 0.8844 GB, free: 22.16 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001844/1.383, allocations: 164.5 kB / 0.8846 GB, free: 22.02 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005159/1.388, allocations: 2.734 MB / 0.8872 GB, free: 20.2 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01652/1.405, allocations: 15.45 MB / 0.9023 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003904/1.408, allocations: 1.724 MB / 0.904 GB, free: 4.379 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8757/2.284, allocations: 330.4 MB / 1.227 GB, free: 314.8 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.226e-05/2.284, allocations: 59.92 kB / 1.227 GB, free: 314.8 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=168): time 5.32e-06/2.284, allocations: 0 / 1.227 GB, free: 314.8 MB / 0.8262 GB Notification: Performance of matching and sorting (n=168): time 0.007237/2.292, allocations: 3.938 MB / 1.231 GB, free: 310.7 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/2.292, allocations: 98.11 kB / 1.231 GB, free: 310.6 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/2.293, allocations: 1.165 MB / 1.232 GB, free: 309.4 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.61e-05/2.293, allocations: 54.95 kB / 1.232 GB, free: 309.4 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004535/2.293, allocations: 0.9907 MB / 1.233 GB, free: 308.5 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003667/2.294, allocations: 0.5762 MB / 1.233 GB, free: 307.9 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.268e-05/2.294, allocations: 33.8 kB / 1.233 GB, free: 307.9 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001042/2.294, allocations: 365.7 kB / 1.234 GB, free: 307.5 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008792/2.295, allocations: 0.6533 MB / 1.234 GB, free: 306.9 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009769/2.296, allocations: 0.8911 MB / 1.235 GB, free: 305.9 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/2.297, allocations: 0.7662 MB / 1.236 GB, free: 305.2 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/2.297, allocations: 4 kB / 1.236 GB, free: 305.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.002981/2.3, allocations: 2.012 MB / 1.238 GB, free: 303.1 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/2.3, allocations: 8 kB / 1.238 GB, free: 303.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/2.3, allocations: 5.312 kB / 1.238 GB, free: 303.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000341/2.3, allocations: 107.1 kB / 1.238 GB, free: 303 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/2.301, allocations: 371.5 kB / 1.238 GB, free: 302.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00207/2.304, allocations: 4.103 MB / 1.242 GB, free: 298.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/2.305, allocations: 295.5 kB / 1.243 GB, free: 297.9 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001676/2.305, allocations: 97.28 kB / 1.243 GB, free: 297.8 MB / 0.8262 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.0008776/2.306, allocations: 471.8 kB / 1.243 GB, free: 297.3 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002543/2.306, allocations: 165.9 kB / 1.243 GB, free: 297.1 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006149/2.312, allocations: 5.795 MB / 1.249 GB, free: 291.3 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.597e-05/2.313, allocations: 71.91 kB / 1.249 GB, free: 291.3 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/2.313, allocations: 4 kB / 1.249 GB, free: 291.3 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.731e-05/2.313, allocations: 9.938 kB / 1.249 GB, free: 291.3 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009092/2.322, allocations: 8.478 MB / 1.257 GB, free: 282.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.878e-06/2.322, allocations: 4 kB / 1.257 GB, free: 282.7 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009759/2.323, allocations: 303.7 kB / 1.258 GB, free: 282.4 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003217/2.323, allocations: 114.5 kB / 1.258 GB, free: 282.3 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/2.323, allocations: 61.83 kB / 1.258 GB, free: 282.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001973/2.325, allocations: 4.103 MB / 1.262 GB, free: 277.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/2.325, allocations: 4.062 kB / 1.262 GB, free: 277.7 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005171/2.33, allocations: 4.77 MB / 1.267 GB, free: 272.9 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008002/2.331, allocations: 412.9 kB / 1.267 GB, free: 272.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002772/2.331, allocations: 37.62 kB / 1.267 GB, free: 272.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009885/2.332, allocations: 186.3 kB / 1.267 GB, free: 272.2 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000198/2.333, allocations: 134.9 kB / 1.267 GB, free: 272.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/2.333, allocations: 79.89 kB / 1.267 GB, free: 272 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0009814/2.334, allocations: 0.8914 MB / 1.268 GB, free: 271.1 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/2.334, allocations: 0 / 1.268 GB, free: 271.1 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.006763/2.341, allocations: 2.342 MB / 1.271 GB, free: 269 MB / 0.8262 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.008291/2.349, allocations: 2.945 MB / 1.273 GB, free: 266.4 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003305/2.352, allocations: 2.547 MB / 1.276 GB, free: 263.8 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/2.352, allocations: 4 kB / 1.276 GB, free: 263.8 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001782/2.354, allocations: 1.891 MB / 1.278 GB, free: 261.9 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004301/2.358, allocations: 0.9317 MB / 1.279 GB, free: 261 MB / 0.8262 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.008936/2.367, allocations: 7.633 MB / 1.286 GB, free: 253.3 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/2.368, allocations: 1.909 MB / 1.288 GB, free: 251.4 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001964/2.37, allocations: 1.022 MB / 1.289 GB, free: 250.4 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004375/2.371, allocations: 203.4 kB / 1.289 GB, free: 250.2 MB / 0.8262 GB Notification: Performance of SimCode: time 7.92e-07/2.371, allocations: 4 kB / 1.289 GB, free: 250.2 MB / 0.8262 GB Notification: Performance of Templates: time 0.1045/2.475, allocations: 91.09 MB / 1.378 GB, free: 159.5 MB / 0.8262 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","../files/ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches