Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Undirected.Sensors.Tests.TestSensors,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Sensors_Tests_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Sensors.Tests.TestSensors,fileNamePrefix="ThermofluidStream_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.001146/0.001145, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001463/0.001464, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7341/0.7341, allocations: 89.63 MB / 380.6 MB, free: 11.43 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003663/0.0003664, allocations: 8.594 kB / 460 MB, free: 24.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1498, allocations: 68.84 MB / 0.5165 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Sensors.Tests.TestSensors): time 0.6386/0.7885, allocations: 260.5 MB / 0.7708 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.5613/1.35, allocations: 55.31 MB / 0.8248 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003536/1.353, allocations: 35.12 kB / 0.8249 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.006488/1.36, allocations: 2.014 MB / 0.8268 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.02943/1.389, allocations: 6.867 MB / 0.8335 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01834/1.408, allocations: 4.799 MB / 0.8382 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.007543/1.415, allocations: 2.781 MB / 0.8409 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001619/1.417, allocations: 0.8735 MB / 0.8418 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02137/1.438, allocations: 12.38 MB / 0.8539 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003151/1.441, allocations: 1.12 MB / 0.855 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004024/1.442, allocations: 80.25 kB / 0.8551 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03351/1.475, allocations: 12.29 MB / 0.8671 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001383/1.477, allocations: 480 kB / 0.8675 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002404/1.479, allocations: 0.5883 MB / 0.8681 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02106/1.5, allocations: 7.098 MB / 0.875 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/1.5, allocations: 0 / 0.875 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.425e-06/1.5, allocations: 0 / 0.875 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.343e-05/1.5, allocations: 0 / 0.875 GB, free: 10.56 MB / 0.6075 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.01457/1.515, allocations: 4.078 MB / 0.879 GB, free: 24.28 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/1.515, allocations: 14.88 kB / 0.879 GB, free: 24.28 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008502/1.516, allocations: 386.5 kB / 0.8794 GB, free: 24.16 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003382/1.519, allocations: 0.6294 MB / 0.88 GB, free: 23.92 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002336/1.522, allocations: 1.144 MB / 0.8811 GB, free: 23.38 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/1.522, allocations: 208 kB / 0.8813 GB, free: 23.37 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003546/1.522, allocations: 278.4 kB / 0.8816 GB, free: 23.37 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005807/1.528, allocations: 3.294 MB / 0.8848 GB, free: 21.62 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.928e-05/1.528, allocations: 6.438 kB / 0.8848 GB, free: 21.61 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001941/1.528, allocations: 112.9 kB / 0.8849 GB, free: 21.59 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001766/1.528, allocations: 165.3 kB / 0.8851 GB, free: 21.45 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004649/1.533, allocations: 2.726 MB / 0.8877 GB, free: 19.63 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01654/1.55, allocations: 15.47 MB / 0.9028 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003843/1.554, allocations: 1.724 MB / 0.9045 GB, free: 3.797 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.9482/2.502, allocations: 330.4 MB / 1.227 GB, free: 314.1 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.004e-05/2.502, allocations: 47.94 kB / 1.227 GB, free: 314 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=168): time 5.71e-06/2.502, allocations: 4 kB / 1.227 GB, free: 314 MB / 0.8262 GB Notification: Performance of matching and sorting (n=168): time 0.007934/2.51, allocations: 3.945 MB / 1.231 GB, free: 310 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/2.51, allocations: 98.11 kB / 1.231 GB, free: 309.9 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/2.511, allocations: 1.168 MB / 1.232 GB, free: 308.7 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001121/2.511, allocations: 54.95 kB / 1.232 GB, free: 308.6 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005083/2.512, allocations: 0.9947 MB / 1.233 GB, free: 307.8 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003638/2.512, allocations: 0.5764 MB / 1.234 GB, free: 307.2 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.717e-05/2.512, allocations: 29.25 kB / 1.234 GB, free: 307.2 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.661e-05/2.513, allocations: 373.7 kB / 1.234 GB, free: 306.8 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008771/2.513, allocations: 0.6442 MB / 1.235 GB, free: 306.2 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009756/2.514, allocations: 0.8886 MB / 1.236 GB, free: 305.2 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/2.515, allocations: 0.762 MB / 1.237 GB, free: 304.4 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/2.515, allocations: 0 / 1.237 GB, free: 304.4 MB / 0.8262 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.003051/2.518, allocations: 2.023 MB / 1.238 GB, free: 302.4 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/2.519, allocations: 9.688 kB / 1.238 GB, free: 302.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/2.519, allocations: 4 kB / 1.238 GB, free: 302.4 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003696/2.519, allocations: 111 kB / 1.239 GB, free: 302.3 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/2.52, allocations: 367.5 kB / 1.239 GB, free: 301.9 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002231/2.522, allocations: 4.103 MB / 1.243 GB, free: 297.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/2.524, allocations: 299.2 kB / 1.243 GB, free: 297.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000174/2.524, allocations: 97.05 kB / 1.243 GB, free: 297.1 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 18 (boundary_fore1.rear.state_rearwards.phase,unidirectionalSensorAdapter1.state.phase,sensor_vaporQuality4.state.phase,boundary_rear1.fore.state_forwards.phase,singleFlowSensor1.state.phase,singleSensorSelect1.state.phase,boundary_fore.rear.state_rearwards.phase,sensor_vaporQuality2.state.phase,boundary_rear.fore.state_forwards.phase,singleFlowSensor.state.phase,unidirectionalSensorAdapter.state.phase,singleSensorSelect.state.phase,flowResistance1.fore.state_forwards.phase,flowResistance1.rear.state_rearwards.phase,multiSensor_Tpm1.state.phase,flowResistance.fore.state_forwards.phase,flowResistance.rear.state_rearwards.phase,multiSensor_Tpm.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 182 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000974/2.525, allocations: 463.3 kB / 1.244 GB, free: 296.6 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002696/2.525, allocations: 170 kB / 1.244 GB, free: 296.4 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006281/2.532, allocations: 5.794 MB / 1.25 GB, free: 290.6 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-05/2.532, allocations: 79.89 kB / 1.25 GB, free: 290.6 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/2.532, allocations: 4 kB / 1.25 GB, free: 290.6 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-05/2.532, allocations: 9.172 kB / 1.25 GB, free: 290.5 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01017/2.542, allocations: 8.48 MB / 1.258 GB, free: 282 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/2.542, allocations: 3.719 kB / 1.258 GB, free: 282 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009734/2.543, allocations: 307.6 kB / 1.258 GB, free: 281.7 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000321/2.543, allocations: 106.6 kB / 1.258 GB, free: 281.6 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/2.543, allocations: 61.92 kB / 1.258 GB, free: 281.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002434/2.546, allocations: 4.106 MB / 1.262 GB, free: 277 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/2.546, allocations: 4 kB / 1.262 GB, free: 277 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005624/2.551, allocations: 4.774 MB / 1.267 GB, free: 272.2 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/2.553, allocations: 412.9 kB / 1.267 GB, free: 271.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002202/2.553, allocations: 39.05 kB / 1.268 GB, free: 271.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/2.554, allocations: 175.5 kB / 1.268 GB, free: 271.5 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002158/2.554, allocations: 137.4 kB / 1.268 GB, free: 271.4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001324/2.554, allocations: 84.81 kB / 1.268 GB, free: 271.3 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001097/2.555, allocations: 0.8875 MB / 1.269 GB, free: 270.4 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/2.555, allocations: 4 kB / 1.269 GB, free: 270.4 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.009042/2.564, allocations: 2.343 MB / 1.271 GB, free: 268.3 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 12 (flowResistance2.rear.m_flow,singleSensorX1.value[1],singleSensorX1.value[2],flowResistance.rear.m_flow,flowResistance1.rear.m_flow,multiSensor_Tpm1.p,multiSensor_Tpm1.T,multiSensor_Tpm1.m_flow,singleSensorSelect1.value,singleFlowSensor1.value,sensor_vaporQuality4.value,differenceTwoPhaseSensorSensorSelect.value) * Number of discrete variables: 32 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (177): * Single equations (assignments): 150 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 16 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01683/2.581, allocations: 8.547 MB / 1.279 GB, free: 260 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00387/2.585, allocations: 2.549 MB / 1.282 GB, free: 257.4 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/2.585, allocations: 4 kB / 1.282 GB, free: 257.4 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001955/2.587, allocations: 1.887 MB / 1.284 GB, free: 255.5 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004555/2.592, allocations: 0.9273 MB / 1.285 GB, free: 254.6 MB / 0.8262 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9719:9-9719:218:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(differenceTwoPhaseSensorSensorSelect.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9719:9-9719:218:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(sensor_vaporQuality4.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9719:9-9719:218:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getFlowUnit(singleFlowSensor1.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9719:9-9719:218:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getUnit(singleSensorSelect1.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9719:9-9719:218:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(sensor_vaporQuality2.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9719:9-9719:218:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getFlowUnit(singleFlowSensor.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9719:9-9719:218:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(sensor_vaporQuality1.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9719:9-9719:218:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getUnit(singleSensorSelect.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9719:9-9719:218:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(differenceTwoPhaseSensorSensorSelect.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9719:9-9719:218:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(sensor_vaporQuality4.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9719:9-9719:218:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getFlowUnit(singleFlowSensor1.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9719:9-9719:218:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getUnit(singleSensorSelect1.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9719:9-9719:218:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(sensor_vaporQuality2.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9719:9-9719:218:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getFlowUnit(singleFlowSensor.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9719:9-9719:218:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(sensor_vaporQuality1.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9719:9-9719:218:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getUnit(singleSensorSelect.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9719:9-9719:218:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(differenceTwoPhaseSensorSensorSelect.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9719:9-9719:218:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(sensor_vaporQuality4.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9719:9-9719:218:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getFlowUnit(singleFlowSensor1.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9719:9-9719:218:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getUnit(singleSensorSelect1.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9719:9-9719:218:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(sensor_vaporQuality2.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9719:9-9719:218:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getFlowUnit(singleFlowSensor.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9719:9-9719:218:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getTwoPhaseUnit(sensor_vaporQuality1.quantity) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9719:9-9719:218:writable] Error: Internal error Unexpected expression (should have been handled earlier, probably in the front-end. Unit/displayUnit expression is not a string literal: ThermofluidStream.Sensors.Internal.getUnit(singleSensorSelect.quantity) Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02822/2.62, allocations: 19.01 MB / 1.303 GB, free: 235 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001402/2.621, allocations: 1.913 MB / 1.305 GB, free: 233 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002458/2.624, allocations: 1.017 MB / 1.306 GB, free: 232 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001421/2.625, allocations: 1.257 MB / 1.307 GB, free: 230.8 MB / 0.8262 GB Notification: Performance of SimCode: time 1.994e-06/2.625, allocations: 4 kB / 1.307 GB, free: 230.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1729/2.798, allocations: 115.9 MB / 1.42 GB, free: 115.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002205/2.798, allocations: 249.1 kB / 1.421 GB, free: 115 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.666/9.465, allocations: 0 / 1.421 GB, free: 115 MB / 0.8262 GB (rm -f ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_Sensors_Tests_TestSensors_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_Sensors_Tests_TestSensors.fmu > ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Undirected.Sensors.Tests.TestSensors_res.mat does not exist to compare? outputFormat=mat