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.004989/0.004989, allocations: 99.33 kB / 15.73 MB, free: 6.445 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.00127/0.00127, allocations: 194.2 kB / 16.67 MB, free: 6.348 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7022/0.7022, allocations: 93.69 MB / 384.2 MB, free: 6.922 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003558/0.003558, allocations: 79.88 kB / 0.5199 GB, free: 6.324 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1587, allocations: 68.28 MB / 0.5866 GB, free: 1.973 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Sensors.Tests.TestSensors): time 0.9914/1.15, allocations: 321.2 MB / 0.9003 GB, free: 1.285 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.06474/1.215, allocations: 66.04 MB / 0.9648 GB, free: 112 kB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003639/1.219, allocations: 81.91 kB / 0.9649 GB, free: 112 kB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.006792/1.225, allocations: 2.43 MB / 0.9672 GB, free: 48 kB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.02732/1.253, allocations: 8.628 MB / 0.9757 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.01907/1.272, allocations: 6.074 MB / 0.9816 GB, free: 12.97 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.007097/1.279, allocations: 4.448 MB / 0.9859 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00223/1.281, allocations: 1.111 MB / 0.987 GB, free: 12.08 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02287/1.304, allocations: 8.616 MB / 0.9954 GB, free: 8.57 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004239/1.309, allocations: 1.888 MB / 0.9973 GB, free: 7.465 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.001287/1.31, allocations: 244 kB / 0.9975 GB, free: 7.227 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03545/1.345, allocations: 13.32 MB / 1.011 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001399/1.347, allocations: 0.7353 MB / 1.011 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.004149/1.351, allocations: 1.666 MB / 1.013 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0346/1.386, allocations: 11.03 MB / 1.024 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/1.386, allocations: 0 / 1.024 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.923e-06/1.386, allocations: 0 / 1.024 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001347/1.386, allocations: 3.984 kB / 1.024 GB, free: 1.305 MB / 0.7169 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.01274/1.399, allocations: 5 MB / 1.029 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/1.399, allocations: 12.03 kB / 1.029 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004893/1.399, allocations: 386 kB / 1.029 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003403/1.402, allocations: 0.6772 MB / 1.03 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00309/1.406, allocations: 1.665 MB / 1.031 GB, free: 9.531 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/1.406, allocations: 209.4 kB / 1.031 GB, free: 9.328 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003961/1.406, allocations: 288.2 kB / 1.032 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006756/1.413, allocations: 3.326 MB / 1.035 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.779e-05/1.413, allocations: 7.938 kB / 1.035 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002123/1.413, allocations: 114.1 kB / 1.035 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002046/1.413, allocations: 161.9 kB / 1.035 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005972/1.419, allocations: 2.736 MB / 1.038 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01784/1.437, allocations: 15.54 MB / 1.053 GB, free: 1.492 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004106/1.441, allocations: 1.732 MB / 1.055 GB, free: 15.75 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001331/1.443, allocations: 0.8297 MB / 1.056 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.9669/2.41, allocations: 393.3 MB / 1.44 GB, free: 169.2 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.768e-05/2.41, allocations: 59.44 kB / 1.44 GB, free: 169.1 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=168): time 6.091e-06/2.41, allocations: 0 / 1.44 GB, free: 169.1 MB / 0.8887 GB Notification: Performance of matching and sorting (n=168): time 0.008065/2.418, allocations: 3.352 MB / 1.443 GB, free: 165.9 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/2.418, allocations: 94.11 kB / 1.443 GB, free: 165.7 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002115/2.42, allocations: 1.492 MB / 1.444 GB, free: 164.3 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001672/2.42, allocations: 53.7 kB / 1.445 GB, free: 164.2 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006396/2.421, allocations: 1.143 MB / 1.446 GB, free: 163.3 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005173/2.421, allocations: 0.6068 MB / 1.446 GB, free: 162.8 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005122/2.422, allocations: 351.2 kB / 1.447 GB, free: 162.5 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 4.235e-05/2.422, allocations: 301.1 kB / 1.447 GB, free: 162.2 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009792/2.423, allocations: 0.6442 MB / 1.447 GB, free: 161.5 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/2.424, allocations: 0.8969 MB / 1.448 GB, free: 160.5 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002286/2.426, allocations: 1.649 MB / 1.45 GB, free: 158.8 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.161e-05/2.427, allocations: 0 / 1.45 GB, free: 158.8 MB / 0.8887 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.003574/2.43, allocations: 2.064 MB / 1.452 GB, free: 156.8 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/2.43, allocations: 16.64 kB / 1.452 GB, free: 156.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.86e-05/2.43, allocations: 9.078 kB / 1.452 GB, free: 156.7 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004014/2.431, allocations: 102.5 kB / 1.452 GB, free: 156.6 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/2.432, allocations: 363.5 kB / 1.452 GB, free: 156.3 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002369/2.434, allocations: 4.384 MB / 1.457 GB, free: 151.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/2.435, allocations: 188.9 kB / 1.457 GB, free: 151.3 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002171/2.435, allocations: 98.47 kB / 1.457 GB, free: 151.2 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 18 (boundary_fore1.rear.state_rearwards.phase,unidirectionalSensorAdapter1.state.phase,sensor_vaporQuality4.state.phase,boundary_rear1.fore.state_forwards.phase,singleFlowSensor1.state.phase,singleSensorSelect1.state.phase,boundary_fore.rear.state_rearwards.phase,sensor_vaporQuality2.state.phase,boundary_rear.fore.state_forwards.phase,singleFlowSensor.state.phase,unidirectionalSensorAdapter.state.phase,singleSensorSelect.state.phase,flowResistance1.fore.state_forwards.phase,flowResistance1.rear.state_rearwards.phase,multiSensor_Tpm1.state.phase,flowResistance.fore.state_forwards.phase,flowResistance.rear.state_rearwards.phase,multiSensor_Tpm.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 182 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009039/2.436, allocations: 489.3 kB / 1.457 GB, free: 150.8 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005103/2.437, allocations: 206.7 kB / 1.458 GB, free: 150.6 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005942/2.443, allocations: 5.788 MB / 1.463 GB, free: 144.8 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-05/2.443, allocations: 75.89 kB / 1.463 GB, free: 144.7 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/2.443, allocations: 3.938 kB / 1.463 GB, free: 144.7 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.03e-05/2.443, allocations: 15.91 kB / 1.463 GB, free: 144.7 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008855/2.452, allocations: 8.58 MB / 1.472 GB, free: 136.1 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/2.452, allocations: 128 / 1.472 GB, free: 136.1 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009571/2.453, allocations: 315.6 kB / 1.472 GB, free: 135.8 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000302/2.453, allocations: 98.42 kB / 1.472 GB, free: 135.7 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001231/2.453, allocations: 63.97 kB / 1.472 GB, free: 135.7 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002031/2.455, allocations: 4.384 MB / 1.477 GB, free: 130.9 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/2.455, allocations: 0 / 1.477 GB, free: 130.9 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005147/2.46, allocations: 4.77 MB / 1.481 GB, free: 126 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005698/2.461, allocations: 402.1 kB / 1.482 GB, free: 125.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002634/2.461, allocations: 54.59 kB / 1.482 GB, free: 125.6 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000622/2.462, allocations: 36.09 kB / 1.482 GB, free: 125.6 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002253/2.462, allocations: 141.1 kB / 1.482 GB, free: 125.5 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/2.462, allocations: 71.97 kB / 1.482 GB, free: 125.4 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001221/2.463, allocations: 1.12 MB / 1.483 GB, free: 124.3 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/2.463, allocations: 0 / 1.483 GB, free: 124.3 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.007432/2.471, allocations: 2.399 MB / 1.485 GB, free: 121.9 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 12 (flowResistance2.rear.m_flow,singleSensorX1.value[1],singleSensorX1.value[2],flowResistance.rear.m_flow,flowResistance1.rear.m_flow,multiSensor_Tpm1.p,multiSensor_Tpm1.T,multiSensor_Tpm1.m_flow,singleSensorSelect1.value,singleFlowSensor1.value,sensor_vaporQuality4.value,differenceTwoPhaseSensorSensorSelect.value) * Number of discrete variables: 32 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (177): * Single equations (assignments): 150 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 16 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0129/2.484, allocations: 8.238 MB / 1.493 GB, free: 113.9 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00349/2.487, allocations: 2.563 MB / 1.496 GB, free: 111.3 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/2.487, allocations: 0 / 1.496 GB, free: 111.3 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001888/2.489, allocations: 1.898 MB / 1.498 GB, free: 109.4 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004576/2.494, allocations: 1.037 MB / 1.499 GB, free: 108.4 MB / 0.8887 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10357:11-10357: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:10357:11-10357: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:10357:11-10357: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:10357:11-10357: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:10357:11-10357: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:10357:11-10357: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:10357:11-10357: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:10357:11-10357: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:10357:11-10357: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:10357:11-10357: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:10357:11-10357: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:10357:11-10357: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:10357:11-10357: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:10357:11-10357: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:10357:11-10357: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:10357:11-10357: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:10357:11-10357: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:10357:11-10357: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:10357:11-10357: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:10357:11-10357: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:10357:11-10357: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:10357:11-10357: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:10357:11-10357: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:10357:11-10357: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.025/2.519, allocations: 19.34 MB / 1.518 GB, free: 88.68 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/2.52, allocations: 1.936 MB / 1.52 GB, free: 86.71 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001936/2.522, allocations: 1.063 MB / 1.521 GB, free: 85.67 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001261/2.523, allocations: 1.405 MB / 1.522 GB, free: 84.26 MB / 0.8887 GB Notification: Performance of SimCode: time 7.12e-07/2.523, allocations: 0 / 1.522 GB, free: 84.26 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4529/2.976, allocations: 124.9 MB / 1.644 GB, free: 408.7 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.65/22.62, allocations: 11.88 kB / 1.644 GB, free: 408.6 MB / 0.8887 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