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: "" <> buildModelFMU(ThermofluidStream.Undirected.Sensors.Tests.TestSensors,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Sensors_Tests_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Sensors.Tests.TestSensors,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Sensors_Tests_TestSensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002127/0.002127, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002444/0.002444, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.485/1.485, allocations: 222.9 MB / 240.2 MB, free: 4.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7387/0.7387, allocations: 93.7 MB / 384.1 MB, free: 6.988 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002323/0.002323, allocations: 81.19 kB / 463.5 MB, free: 21.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1349, allocations: 68.26 MB / 0.5193 GB, free: 6.922 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Sensors.Tests.TestSensors): time 1.012/1.147, allocations: 321.2 MB / 0.833 GB, free: 1.703 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.06126/1.208, allocations: 66.03 MB / 0.8974 GB, free: 1.289 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003139/1.212, allocations: 78.75 kB / 0.8975 GB, free: 1.289 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.006078/1.218, allocations: 2.436 MB / 0.8999 GB, free: 1.227 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.02398/1.242, allocations: 8.622 MB / 0.9083 GB, free: 0.9375 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.01808/1.26, allocations: 6.085 MB / 0.9143 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006662/1.266, allocations: 4.435 MB / 0.9186 GB, free: 0.7383 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002368/1.269, allocations: 1.115 MB / 0.9197 GB, free: 16.39 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02365/1.293, allocations: 8.603 MB / 0.9281 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003873/1.296, allocations: 1.892 MB / 0.9299 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001044/1.298, allocations: 245.6 kB / 0.9302 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0346/1.332, allocations: 13.15 MB / 0.943 GB, free: 6.641 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00151/1.334, allocations: 0.7439 MB / 0.9437 GB, free: 6.207 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.004126/1.338, allocations: 1.661 MB / 0.9453 GB, free: 5.035 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.03513/1.373, allocations: 10.86 MB / 0.956 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.373, allocations: 0 / 0.956 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.264e-06/1.373, allocations: 0 / 0.956 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001642/1.373, allocations: 0 / 0.956 GB, free: 12.65 MB / 0.6544 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.01517/1.388, allocations: 4.866 MB / 0.9607 GB, free: 7.793 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/1.388, allocations: 12.03 kB / 0.9607 GB, free: 7.781 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006159/1.389, allocations: 384.8 kB / 0.9611 GB, free: 7.402 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003502/1.393, allocations: 0.6675 MB / 0.9617 GB, free: 6.73 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003562/1.396, allocations: 1.528 MB / 0.9632 GB, free: 5.254 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001788/1.396, allocations: 204.5 kB / 0.9634 GB, free: 5.055 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000453/1.397, allocations: 283.8 kB / 0.9637 GB, free: 4.781 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007251/1.404, allocations: 3.33 MB / 0.9669 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.967e-05/1.404, allocations: 4 kB / 0.9669 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002166/1.404, allocations: 116.9 kB / 0.9671 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002154/1.405, allocations: 165.9 kB / 0.9672 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006194/1.411, allocations: 2.742 MB / 0.9699 GB, free: 14.38 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01989/1.431, allocations: 15.67 MB / 0.9852 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004215/1.435, allocations: 1.728 MB / 0.9869 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001502/1.437, allocations: 0.8297 MB / 0.9877 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 1.225/2.662, allocations: 391.7 MB / 1.37 GB, free: 2.793 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.658e-05/2.662, allocations: 49.69 kB / 1.37 GB, free: 2.746 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=168): time 4.558e-06/2.662, allocations: 0 / 1.37 GB, free: 2.746 MB / 0.8731 GB Notification: Performance of matching and sorting (n=168): time 0.008525/2.671, allocations: 3.347 MB / 1.374 GB, free: 320 kB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.788e-05/2.671, allocations: 94.77 kB / 1.374 GB, free: 208 kB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002145/2.673, allocations: 1.485 MB / 1.375 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001647/2.673, allocations: 53.8 kB / 1.375 GB, free: 15.08 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008857/2.674, allocations: 1.126 MB / 1.376 GB, free: 14.56 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007254/2.675, allocations: 0.5753 MB / 1.377 GB, free: 14.07 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005525/2.675, allocations: 346.6 kB / 1.377 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.00017/2.675, allocations: 309.1 kB / 1.377 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/2.677, allocations: 0.6469 MB / 1.378 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001516/2.678, allocations: 0.8985 MB / 1.379 GB, free: 12.44 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002779/2.681, allocations: 1.644 MB / 1.381 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/2.681, allocations: 4 kB / 1.381 GB, free: 11.35 MB / 0.8887 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.004528/2.685, allocations: 2.049 MB / 1.383 GB, free: 9.934 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.42e-05/2.685, allocations: 11.98 kB / 1.383 GB, free: 9.922 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/2.685, allocations: 4.688 kB / 1.383 GB, free: 9.918 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004394/2.686, allocations: 102 kB / 1.383 GB, free: 9.824 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/2.687, allocations: 368.4 kB / 1.383 GB, free: 9.504 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004143/2.691, allocations: 4.402 MB / 1.387 GB, free: 5.008 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/2.693, allocations: 165.3 kB / 1.387 GB, free: 4.871 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002814/2.693, allocations: 97.59 kB / 1.388 GB, free: 4.793 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.001223/2.695, allocations: 481 kB / 1.388 GB, free: 4.516 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006323/2.695, allocations: 206 kB / 1.388 GB, free: 4.312 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008239/2.703, allocations: 5.805 MB / 1.394 GB, free: 472 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.699e-05/2.704, allocations: 85.2 kB / 1.394 GB, free: 404 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/2.704, allocations: 0.6562 kB / 1.394 GB, free: 404 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-05/2.704, allocations: 7.969 kB / 1.394 GB, free: 396 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01126/2.715, allocations: 8.577 MB / 1.402 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/2.715, allocations: 0 / 1.402 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/2.716, allocations: 307.6 kB / 1.403 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003322/2.716, allocations: 102.6 kB / 1.403 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001225/2.717, allocations: 63.78 kB / 1.403 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003795/2.72, allocations: 4.393 MB / 1.407 GB, free: 6.012 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/2.72, allocations: 1.203 kB / 1.407 GB, free: 6.012 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006816/2.727, allocations: 4.748 MB / 1.412 GB, free: 2.91 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008088/2.728, allocations: 388.1 kB / 1.412 GB, free: 2.527 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002982/2.728, allocations: 48.47 kB / 1.412 GB, free: 2.504 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006838/2.729, allocations: 44.86 kB / 1.412 GB, free: 2.484 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002658/2.729, allocations: 131.8 kB / 1.412 GB, free: 2.371 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001876/2.729, allocations: 76.59 kB / 1.412 GB, free: 2.309 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001979/2.731, allocations: 1.119 MB / 1.413 GB, free: 1.477 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.71e-07/2.731, allocations: 0 / 1.413 GB, free: 1.477 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.007249/2.739, allocations: 2.374 MB / 1.416 GB, free: 15.5 MB / 0.92 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.01632/2.755, allocations: 8.214 MB / 1.424 GB, free: 9.504 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.007283/2.762, allocations: 2.707 MB / 1.426 GB, free: 7.035 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/2.762, allocations: 0 / 1.426 GB, free: 7.035 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.002676/2.765, allocations: 1.888 MB / 1.428 GB, free: 5.141 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00519/2.77, allocations: 1.048 MB / 1.429 GB, free: 4.137 MB / 0.92 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.2792/3.05, allocations: 21.37 MB / 1.45 GB, free: 0.505 GB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001812/3.051, allocations: 1.932 MB / 1.452 GB, free: 0.5042 GB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.003438/3.055, allocations: 1.062 MB / 1.453 GB, free: 0.5042 GB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002064/3.057, allocations: 1.404 MB / 1.454 GB, free: 0.5031 GB / 0.92 GB Notification: Performance of SimCode: time 1.192e-06/3.057, allocations: 0 / 1.454 GB, free: 0.5031 GB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1863/3.243, allocations: 123.7 MB / 1.575 GB, free: 411.9 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.36/19.61, allocations: 17.36 kB / 1.575 GB, free: 411.9 MB / 0.92 GB (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 & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv --start-time 0 --stop-time 10 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 ThermofluidStream_dev_ThermofluidStream_Undirected_Sensors_Tests_TestSensors.fmu > ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv","/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) "Error: Could not read variable Time in file ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv. Warning: Get data of variable Time from file ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv failed! Error: Could not read variable boundary_rear2.fore.m_flow in file ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv. Warning: Get data of variable boundary_rear2.fore.m_flow from file ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv failed! Error: Could not read variable multiSensor_Tpm1.m_flow in file ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv. Warning: Get data of variable multiSensor_Tpm1.m_flow from file ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv failed! Error: Could not read variable multiSensor_Tpm1.p in file ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv. Warning: Get data of variable multiSensor_Tpm1.p from file ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv failed! Error: Could not read variable sensor_vaporQuality4.value in file ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv. Warning: Get data of variable sensor_vaporQuality4.value from file ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv failed! Error: Could not read variable singleFlowSensor1.value in file ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv. Warning: Get data of variable singleFlowSensor1.value from file ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv failed! Error: Could not read variable singleSensorSelect1.value in file ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv. Warning: Get data of variable singleSensorSelect1.value from file ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv failed! Error: Could not read variable singleSensorX1.value[1] in file ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv. Warning: Get data of variable singleSensorX1.value[1] from file ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv failed! Error: Could not read variable singleSensorX1.value[2] in file ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv. Warning: Get data of variable singleSensorX1.value[2] from file ThermofluidStream_dev_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.csv failed! " Variables in the reference: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] Variables in the result:time,differenceTwoPhaseSensorSensorSelect.value,flowResistance.rear.m_flow,flowResistance1.rear.m_flow,flowResistance2.rear.m_flow,multiSensor_Tpm1.T