Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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_dev_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_dev_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.001862/0.001862, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.002049/0.002049, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.427/1.427, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7316/0.7316, allocations: 93.7 MB / 384.8 MB, free: 5.375 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002397/0.002398, allocations: 83.8 kB / 464.1 MB, free: 6.191 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1254, allocations: 68.27 MB / 0.5199 GB, free: 1.844 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Sensors.Tests.TestSensors): time 0.7631/0.8886, allocations: 321.2 MB / 0.8336 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.06256/0.9512, allocations: 66.04 MB / 0.898 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00272/0.9539, allocations: 79.56 kB / 0.8981 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.006511/0.9604, allocations: 2.428 MB / 0.9005 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.02531/0.9858, allocations: 8.622 MB / 0.9089 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.01741/1.003, allocations: 6.085 MB / 0.9149 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006731/1.01, allocations: 4.437 MB / 0.9192 GB, free: 3.855 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002207/1.012, allocations: 1.106 MB / 0.9203 GB, free: 2.805 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02028/1.033, allocations: 8.608 MB / 0.9287 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003266/1.036, allocations: 1.883 MB / 0.9305 GB, free: 8.195 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0009568/1.037, allocations: 247.9 kB / 0.9307 GB, free: 7.953 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03053/1.067, allocations: 13.15 MB / 0.9436 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001186/1.069, allocations: 0.7357 MB / 0.9443 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003094/1.072, allocations: 1.664 MB / 0.9459 GB, free: 8.375 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02858/1.1, allocations: 10.86 MB / 0.9565 GB, free: 13.48 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/1.1, allocations: 0 / 0.9565 GB, free: 13.48 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.743e-06/1.1, allocations: 0 / 0.9565 GB, free: 13.48 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.827e-05/1.1, allocations: 4 kB / 0.9565 GB, free: 13.48 MB / 0.67 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.01254/1.113, allocations: 4.866 MB / 0.9613 GB, free: 8.551 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/1.113, allocations: 11.97 kB / 0.9613 GB, free: 8.539 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003607/1.117, allocations: 0.6637 MB / 0.962 GB, free: 7.871 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003148/1.12, allocations: 1.522 MB / 0.9634 GB, free: 6.293 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001781/1.12, allocations: 209.5 kB / 0.9636 GB, free: 6.086 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004298/1.12, allocations: 287.8 kB / 0.9639 GB, free: 5.805 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007219/1.128, allocations: 3.323 MB / 0.9672 GB, free: 2.398 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.241e-05/1.128, allocations: 3.938 kB / 0.9672 GB, free: 2.395 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002323/1.128, allocations: 119.9 kB / 0.9673 GB, free: 2.277 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002354/1.128, allocations: 169.9 kB / 0.9674 GB, free: 2.113 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006268/1.135, allocations: 2.736 MB / 0.9701 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01938/1.154, allocations: 15.66 MB / 0.9854 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004192/1.158, allocations: 1.737 MB / 0.9871 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001403/1.16, allocations: 0.8265 MB / 0.9879 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 1.078/2.237, allocations: 391.7 MB / 1.37 GB, free: 268.8 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/2.237, allocations: 47.14 kB / 1.37 GB, free: 268.7 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=168): time 4.479e-06/2.237, allocations: 0 / 1.37 GB, free: 268.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=168): time 0.007797/2.245, allocations: 3.344 MB / 1.374 GB, free: 268.4 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/2.245, allocations: 106.5 kB / 1.374 GB, free: 268.3 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001998/2.247, allocations: 1.482 MB / 1.375 GB, free: 268.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.93e-05/2.247, allocations: 51.78 kB / 1.375 GB, free: 268.1 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006305/2.248, allocations: 1.126 MB / 1.376 GB, free: 267.8 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003611/2.248, allocations: 0.5779 MB / 1.377 GB, free: 267.4 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004842/2.249, allocations: 345 kB / 1.377 GB, free: 267.4 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.533e-05/2.249, allocations: 302.3 kB / 1.378 GB, free: 267.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/2.25, allocations: 0.6501 MB / 1.378 GB, free: 267.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/2.251, allocations: 0.8992 MB / 1.379 GB, free: 266.9 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002356/2.253, allocations: 1.646 MB / 1.381 GB, free: 266.6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/2.253, allocations: 0 / 1.381 GB, free: 266.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.003478/2.257, allocations: 2.056 MB / 1.383 GB, free: 266.4 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/2.257, allocations: 7.031 kB / 1.383 GB, free: 266.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/2.257, allocations: 6.125 kB / 1.383 GB, free: 266.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003741/2.257, allocations: 108.4 kB / 1.383 GB, free: 266.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/2.259, allocations: 368.4 kB / 1.383 GB, free: 266.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00228/2.261, allocations: 4.385 MB / 1.387 GB, free: 262.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009157/2.262, allocations: 175 kB / 1.388 GB, free: 262.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001552/2.262, allocations: 93.23 kB / 1.388 GB, free: 262.3 MB / 0.7169 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.0007708/2.263, allocations: 490.2 kB / 1.388 GB, free: 262.1 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003341/2.263, allocations: 200.5 kB / 1.388 GB, free: 262 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005942/2.269, allocations: 5.809 MB / 1.394 GB, free: 259.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.812e-05/2.269, allocations: 72 kB / 1.394 GB, free: 259.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/2.269, allocations: 3.969 kB / 1.394 GB, free: 259.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.799e-05/2.269, allocations: 10.78 kB / 1.394 GB, free: 259.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008389/2.277, allocations: 8.577 MB / 1.403 GB, free: 255.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/2.278, allocations: 0 / 1.403 GB, free: 255.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/2.279, allocations: 307.7 kB / 1.403 GB, free: 255.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000292/2.279, allocations: 108.4 kB / 1.403 GB, free: 255.3 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/2.279, allocations: 58.08 kB / 1.403 GB, free: 255.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002038/2.281, allocations: 4.384 MB / 1.407 GB, free: 250.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/2.281, allocations: 2.688 kB / 1.407 GB, free: 250.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005018/2.286, allocations: 4.755 MB / 1.412 GB, free: 247.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003915/2.286, allocations: 384.8 kB / 1.412 GB, free: 247.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002538/2.287, allocations: 52.92 kB / 1.412 GB, free: 247.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006289/2.287, allocations: 40.97 kB / 1.412 GB, free: 247.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001926/2.288, allocations: 133 kB / 1.413 GB, free: 247.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/2.288, allocations: 83.95 kB / 1.413 GB, free: 247.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00121/2.289, allocations: 1.111 MB / 1.414 GB, free: 246.1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/2.289, allocations: 4 kB / 1.414 GB, free: 246.1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004815/2.294, allocations: 2.37 MB / 1.416 GB, free: 243.9 MB / 0.7169 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.006213/2.3, allocations: 2.963 MB / 1.419 GB, free: 241.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005992/2.306, allocations: 2.706 MB / 1.422 GB, free: 238.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/2.306, allocations: 0 / 1.422 GB, free: 238.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001761/2.308, allocations: 1.893 MB / 1.423 GB, free: 236.9 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004369/2.312, allocations: 1.037 MB / 1.424 GB, free: 236 MB / 0.7169 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10354:11-10354:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(differenceTwoPhaseSensorSensorSelect.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10354:11-10354:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(sensor_vaporQuality4.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10354:11-10354:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getFlowUnit(singleFlowSensor1.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10354:11-10354:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getUnit(singleSensorSelect1.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10354:11-10354:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(sensor_vaporQuality2.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10354:11-10354:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getFlowUnit(singleFlowSensor.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10354:11-10354:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(sensor_vaporQuality1.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10354:11-10354:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getUnit(singleSensorSelect.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10354:11-10354:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(differenceTwoPhaseSensorSensorSelect.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10354:11-10354:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(sensor_vaporQuality4.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10354:11-10354:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getFlowUnit(singleFlowSensor1.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10354:11-10354:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getUnit(singleSensorSelect1.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10354:11-10354:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(sensor_vaporQuality2.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10354:11-10354:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getFlowUnit(singleFlowSensor.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10354:11-10354:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(sensor_vaporQuality1.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10354:11-10354:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getUnit(singleSensorSelect.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10354:11-10354:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(differenceTwoPhaseSensorSensorSelect.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10354:11-10354:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(sensor_vaporQuality4.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10354:11-10354:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getFlowUnit(singleFlowSensor1.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10354:11-10354:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getUnit(singleSensorSelect1.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10354:11-10354:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(sensor_vaporQuality2.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10354:11-10354:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getFlowUnit(singleFlowSensor.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10354:11-10354:220:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(sensor_vaporQuality1.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10354:11-10354: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.008284/2.32, allocations: 6.666 MB / 1.431 GB, free: 229.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009953/2.321, allocations: 1.932 MB / 1.433 GB, free: 227.4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006696/2.322, allocations: 283.3 kB / 1.433 GB, free: 227.1 MB / 0.7169 GB Notification: Performance of SimCode: time 6.82e-07/2.322, allocations: 0 / 1.433 GB, free: 227.1 MB / 0.7169 GB Notification: Performance of Templates: time 0.2925/2.615, allocations: 112.9 MB / 1.543 GB, free: 293.9 MB / 0.7169 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Sensors.Tests.TestSensors_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches