Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Sensors.Tests.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Undirected.Sensors.Tests.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear2.fore.m_flow|differenceTwoPhaseSensorSensorSelect.value|flowResistance.rear.m_flow|flowResistance1.rear.m_flow|multiSensor_Tpm1.T|multiSensor_Tpm1.m_flow|multiSensor_Tpm1.p|sensor_vaporQuality4.value|singleFlowSensor1.value|singleSensorSelect1.value|singleSensorX1.value.1.|singleSensorX1.value.2.",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Sensors.Tests.TestSensors") translateModel(ThermofluidStream.Undirected.Sensors.Tests.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear2.fore.m_flow|differenceTwoPhaseSensorSensorSelect.value|flowResistance.rear.m_flow|flowResistance1.rear.m_flow|multiSensor_Tpm1.T|multiSensor_Tpm1.m_flow|multiSensor_Tpm1.p|sensor_vaporQuality4.value|singleFlowSensor1.value|singleSensorSelect1.value|singleSensorX1.value.1.|singleSensorX1.value.2.",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Sensors.Tests.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001242/0.001242, allocations: 176.4 kB / 15.78 MB, free: 6.316 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007399/0.0007395, allocations: 94.23 kB / 270.3 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.7056/0.7056, allocations: 90.6 MB / 409.1 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002944/0.0002944, allocations: 12 kB / 485.9 MB, free: 2.086 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2982, allocations: 66.28 MB / 0.5392 GB, free: 45.68 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Sensors.Tests.TestSensors): time 0.5215/0.8197, allocations: 302.4 MB / 0.8345 GB, free: 6.418 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.05054/0.8703, allocations: 60.94 MB / 0.894 GB, free: 64 kB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003324/0.8737, allocations: 38.91 kB / 0.8941 GB, free: 64 kB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 0.005613/0.8793, allocations: 1.938 MB / 0.8959 GB, free: 15.04 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.02047/0.8998, allocations: 7.275 MB / 0.9031 GB, free: 10.94 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01457/0.9144, allocations: 4.95 MB / 0.9079 GB, free: 7.422 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.006365/0.9208, allocations: 5.252 MB / 0.913 GB, free: 2.984 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001357/0.9221, allocations: 0.8781 MB / 0.9139 GB, free: 2.293 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01658/0.9387, allocations: 12.84 MB / 0.9264 GB, free: 6.531 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002104/0.9409, allocations: 1.583 MB / 0.928 GB, free: 5.094 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0002249/0.9411, allocations: 84 kB / 0.928 GB, free: 5.012 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02606/0.9672, allocations: 12.44 MB / 0.9402 GB, free: 9.059 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0008023/0.968, allocations: 0.5135 MB / 0.9407 GB, free: 8.543 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0009672/0.969, allocations: 0.594 MB / 0.9413 GB, free: 7.941 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.01439/0.9834, allocations: 7.785 MB / 0.9489 GB, free: 196 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.9834, allocations: 0 / 0.9489 GB, free: 196 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.994e-06/0.9835, allocations: 0 / 0.9489 GB, free: 196 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.106e-05/0.9835, allocations: 4 kB / 0.9489 GB, free: 192 kB / 0.6042 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.009816/0.9933, allocations: 4.234 MB / 0.953 GB, free: 11.93 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.9934, allocations: 12.03 kB / 0.953 GB, free: 11.92 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002685/0.9961, allocations: 0.6288 MB / 0.9536 GB, free: 11.29 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001664/0.9977, allocations: 1.153 MB / 0.9548 GB, free: 10.09 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001341/0.9979, allocations: 197.4 kB / 0.955 GB, free: 9.891 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003107/0.9982, allocations: 271.9 kB / 0.9552 GB, free: 9.625 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005819/1.004, allocations: 3.401 MB / 0.9585 GB, free: 6.148 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.181e-05/1.004, allocations: 0 / 0.9585 GB, free: 6.148 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001922/1.004, allocations: 112 kB / 0.9586 GB, free: 6.039 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001786/1.004, allocations: 173.9 kB / 0.9588 GB, free: 5.871 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004963/1.009, allocations: 2.814 MB / 0.9616 GB, free: 3.055 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01467/1.024, allocations: 16.97 MB / 0.9781 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003705/1.028, allocations: 1.758 MB / 0.9798 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001436/1.029, allocations: 0.9979 MB / 0.9808 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.9505/1.98, allocations: 315.1 MB / 1.289 GB, free: 268.1 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/1.98, allocations: 53.62 kB / 1.289 GB, free: 268 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=192): time 5.019e-06/1.98, allocations: 0 / 1.289 GB, free: 268 MB / 0.6667 GB Notification: Performance of matching and sorting (n=192): time 0.008033/1.988, allocations: 3.837 MB / 1.292 GB, free: 267.6 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/1.988, allocations: 97.02 kB / 1.292 GB, free: 267.5 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009434/1.989, allocations: 0.8162 MB / 1.293 GB, free: 267.4 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001052/1.989, allocations: 55.72 kB / 1.293 GB, free: 267.4 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005981/1.99, allocations: 0.9688 MB / 1.294 GB, free: 267 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004239/1.99, allocations: 0.6446 MB / 1.295 GB, free: 266.6 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.956e-05/1.99, allocations: 31.28 kB / 1.295 GB, free: 266.6 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001094/1.99, allocations: 373.9 kB / 1.295 GB, free: 266.3 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/1.992, allocations: 0.7502 MB / 1.296 GB, free: 266.3 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/1.993, allocations: 0.9654 MB / 1.297 GB, free: 266.1 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/1.994, allocations: 0.8707 MB / 1.298 GB, free: 266 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/1.994, allocations: 3 kB / 1.298 GB, free: 266 MB / 0.6667 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.003291/1.997, allocations: 2.202 MB / 1.3 GB, free: 265.1 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/1.997, allocations: 9.766 kB / 1.3 GB, free: 265.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/1.998, allocations: 5.844 kB / 1.3 GB, free: 265.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003927/1.998, allocations: 108.2 kB / 1.3 GB, free: 265 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/1.999, allocations: 340.9 kB / 1.3 GB, free: 265 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002344/2.001, allocations: 4.081 MB / 1.304 GB, free: 261 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/2.003, allocations: 307.1 kB / 1.305 GB, free: 260.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002608/2.003, allocations: 102.5 kB / 1.305 GB, free: 260.8 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 18 (singleFlowSensor.fore.state_forwards.phase,sensor_vaporQuality2.rear.state_rearwards.phase,singleFlowSensor1.fore.state_forwards.phase,unidirectionalSensorAdapter1.rear.state_rearwards.phase,unidirectionalSensorAdapter1.state.phase,sensor_vaporQuality4.state.phase,singleFlowSensor1.state.phase,singleSensorSelect1.state.phase,sensor_vaporQuality2.state.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 (187): * Single equations (assignments): 170 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 6 * 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.001129/2.005, allocations: 470.4 kB / 1.305 GB, free: 260.5 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004908/2.005, allocations: 143.1 kB / 1.305 GB, free: 260.5 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007386/2.012, allocations: 5.256 MB / 1.31 GB, free: 258.1 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001035/2.013, allocations: 71.62 kB / 1.311 GB, free: 258.1 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/2.013, allocations: 2.844 kB / 1.311 GB, free: 258.1 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.219e-05/2.013, allocations: 10.42 kB / 1.311 GB, free: 258.1 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01229/2.025, allocations: 8.371 MB / 1.319 GB, free: 254.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/2.025, allocations: 3.344 kB / 1.319 GB, free: 254.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/2.026, allocations: 312.2 kB / 1.319 GB, free: 254.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003677/2.027, allocations: 111.7 kB / 1.319 GB, free: 254.1 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001439/2.027, allocations: 71.39 kB / 1.319 GB, free: 254.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002205/2.029, allocations: 4.076 MB / 1.323 GB, free: 250 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/2.029, allocations: 1.781 kB / 1.323 GB, free: 250 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006712/2.036, allocations: 5.012 MB / 1.328 GB, free: 247.6 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007342/2.036, allocations: 327 kB / 1.328 GB, free: 247.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002006/2.037, allocations: 35.94 kB / 1.328 GB, free: 247.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/2.038, allocations: 233.8 kB / 1.329 GB, free: 247.3 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002869/2.038, allocations: 155.7 kB / 1.329 GB, free: 247.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000212/2.038, allocations: 95.75 kB / 1.329 GB, free: 247.3 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0008918/2.039, allocations: 0.5234 MB / 1.329 GB, free: 247 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.4e-07/2.039, allocations: 0 / 1.329 GB, free: 247 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.007471/2.047, allocations: 2.61 MB / 1.332 GB, free: 246.6 MB / 0.6667 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,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,singleFlowSensor.fore.state_forwards.phase,sensor_vaporQuality2.rear.state_rearwards.phase,singleFlowSensor1.fore.state_forwards.phase,unidirectionalSensorAdapter1.rear.state_rearwards.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (182): * Single equations (assignments): 151 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 20 * 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.01023/2.057, allocations: 3.395 MB / 1.335 GB, free: 246.2 MB / 0.6667 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {sensorState.rear.state_rearwards.X[1], sensorState.rear.state_rearwards.X[2]} = $TMP_ThermofluidStream_Undirected_Sensors_Tests_TestSensors_boundary__fore2_rear_Medium_ThermodynamicState20.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {singleSensorX1.fore.state_forwards.X[1], singleSensorX1.fore.state_forwards.X[2]} = $TMP_ThermofluidStream_Undirected_Sensors_Tests_TestSensors_boundary__rear2_fore_Medium_ThermodynamicState32.X Notification: Performance of simCode: created initialization part: time 0.004444/2.062, allocations: 3.114 MB / 1.338 GB, free: 244.7 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/2.062, allocations: 7.938 kB / 1.338 GB, free: 244.7 MB / 0.6667 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {sensorState.rear.state_rearwards.X[1], sensorState.rear.state_rearwards.X[2]} = $TMP_ThermofluidStream_Undirected_Sensors_Tests_TestSensors_boundary__fore2_rear_Medium_ThermodynamicState393.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {singleSensorX1.fore.state_forwards.X[1], singleSensorX1.fore.state_forwards.X[2]} = $TMP_ThermofluidStream_Undirected_Sensors_Tests_TestSensors_boundary__rear2_fore_Medium_ThermodynamicState415.X Notification: Performance of simCode: created simulation system equations: time 0.002488/2.064, allocations: 2.324 MB / 1.341 GB, free: 243.4 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003971/2.068, allocations: 0.732 MB / 1.341 GB, free: 243.2 MB / 0.6667 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:9932:11-9932: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:9932:11-9932: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:9932:11-9932: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:9932:11-9932: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:9932:11-9932: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:9932:11-9932: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:9932:11-9932: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:9932:11-9932: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:9932:11-9932: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:9932:11-9932: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:9932:11-9932: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:9932:11-9932: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:9932:11-9932: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:9932:11-9932: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:9932:11-9932: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:9932:11-9932: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:9932:11-9932: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:9932:11-9932: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:9932:11-9932: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:9932:11-9932: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:9932:11-9932: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:9932:11-9932: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:9932:11-9932: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:9932:11-9932: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.01067/2.079, allocations: 7.709 MB / 1.349 GB, free: 239.1 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001433/2.08, allocations: 1.855 MB / 1.351 GB, free: 238.3 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007951/2.081, allocations: 203.4 kB / 1.351 GB, free: 238.3 MB / 0.6667 GB Notification: Performance of SimCode: time 1.142e-06/2.081, allocations: 3.719 kB / 1.351 GB, free: 238.3 MB / 0.6667 GB Error: Internal error GetVarIndexListByMapping: No Element for $TMP_ThermofluidStream_Undirected_Sensors_Tests_TestSensors_boundary__fore2_rear_Medium_ThermodynamicState20.X found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14165:9-14165:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:9: $TMP_ThermofluidStream_Undirected_Sensors_Tests_TestSensors_boundary__fore2_rear_Medium_ThermodynamicState20.X[1] (no alias) protected hideResult initial: arrCref:$TMP_ThermofluidStream_Undirected_Sensors_Tests_TestSensors_boundary__fore2_rear_Medium_ThermodynamicState20.X index:(34) [] Error: Internal error GetVarIndexListByMapping: No Element for $TMP_ThermofluidStream_Undirected_Sensors_Tests_TestSensors_boundary__fore2_rear_Medium_ThermodynamicState20.X found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14165:9-14165:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:10: $TMP_ThermofluidStream_Undirected_Sensors_Tests_TestSensors_boundary__fore2_rear_Medium_ThermodynamicState20.X[2] (no alias) protected hideResult initial: no arrCref index:(35) [] Error: Internal error GetVarIndexListByMapping: No Element for $TMP_ThermofluidStream_Undirected_Sensors_Tests_TestSensors_boundary__fore2_rear_Medium_ThermodynamicState393.X found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14165:9-14165:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:13: $TMP_ThermofluidStream_Undirected_Sensors_Tests_TestSensors_boundary__fore2_rear_Medium_ThermodynamicState393.X[1] (no alias) protected hideResult initial: arrCref:$TMP_ThermofluidStream_Undirected_Sensors_Tests_TestSensors_boundary__fore2_rear_Medium_ThermodynamicState393.X index:(38) [] Error: Internal error GetVarIndexListByMapping: No Element for $TMP_ThermofluidStream_Undirected_Sensors_Tests_TestSensors_boundary__fore2_rear_Medium_ThermodynamicState393.X found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14165:9-14165:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:14: $TMP_ThermofluidStream_Undirected_Sensors_Tests_TestSensors_boundary__fore2_rear_Medium_ThermodynamicState393.X[2] (no alias) protected hideResult initial: no arrCref index:(39) [] Error: Internal error GetVarIndexListByMapping: No Element for $TMP_ThermofluidStream_Undirected_Sensors_Tests_TestSensors_boundary__rear2_fore_Medium_ThermodynamicState32.X found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14165:9-14165:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:33: $TMP_ThermofluidStream_Undirected_Sensors_Tests_TestSensors_boundary__rear2_fore_Medium_ThermodynamicState32.X[1] (no alias) protected hideResult initial: arrCref:$TMP_ThermofluidStream_Undirected_Sensors_Tests_TestSensors_boundary__rear2_fore_Medium_ThermodynamicState32.X index:(58) [] Error: Internal error GetVarIndexListByMapping: No Element for $TMP_ThermofluidStream_Undirected_Sensors_Tests_TestSensors_boundary__rear2_fore_Medium_ThermodynamicState32.X found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14165:9-14165:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:34: $TMP_ThermofluidStream_Undirected_Sensors_Tests_TestSensors_boundary__rear2_fore_Medium_ThermodynamicState32.X[2] (no alias) protected hideResult initial: no arrCref index:(59) [] Error: Internal error GetVarIndexListByMapping: No Element for $TMP_ThermofluidStream_Undirected_Sensors_Tests_TestSensors_boundary__rear2_fore_Medium_ThermodynamicState415.X found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14165:9-14165:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:37: $TMP_ThermofluidStream_Undirected_Sensors_Tests_TestSensors_boundary__rear2_fore_Medium_ThermodynamicState415.X[1] (no alias) protected hideResult initial: arrCref:$TMP_ThermofluidStream_Undirected_Sensors_Tests_TestSensors_boundary__rear2_fore_Medium_ThermodynamicState415.X index:(62) [] Error: Internal error GetVarIndexListByMapping: No Element for $TMP_ThermofluidStream_Undirected_Sensors_Tests_TestSensors_boundary__rear2_fore_Medium_ThermodynamicState415.X found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14165:9-14165:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:38: $TMP_ThermofluidStream_Undirected_Sensors_Tests_TestSensors_boundary__rear2_fore_Medium_ThermodynamicState415.X[2] (no alias) protected hideResult initial: no arrCref index:(63) [] Error: Template error: A template call failed (/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so: (null)). One possible reason could be that a template imported function call failed (which should not happen for functions called from within template code; templates assert pure 'match'/non-failing semantics).