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.001367/0.001367, allocations: 168.2 kB / 16.1 MB, free: 5.691 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.179/1.179, allocations: 205 MB / 221.9 MB, free: 9.137 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.0006849/0.000685, allocations: 78.38 kB / 269.9 MB, free: 8.672 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.6046/0.6046, allocations: 90.51 MB / 408.3 MB, free: 3.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002921/0.0002922, allocations: 8 kB / 484.8 MB, free: 7.203 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2475, allocations: 65.81 MB / 0.5378 GB, free: 34.94 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Sensors.Tests.TestSensors): time 0.4736/0.7212, allocations: 324.8 MB / 0.8549 GB, free: 14.95 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.06283/0.784, allocations: 66.29 MB / 0.9197 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002701/0.7868, allocations: 35.88 kB / 0.9197 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.005625/0.7924, allocations: 2.22 MB / 0.9219 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.02033/0.8128, allocations: 7.826 MB / 0.9295 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.3077/1.12, allocations: 5.501 MB / 0.9349 GB, free: 8.438 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.008208/1.129, allocations: 6.162 MB / 0.9409 GB, free: 8.43 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001507/1.13, allocations: 0.9381 MB / 0.9418 GB, free: 8.18 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01478/1.145, allocations: 8.163 MB / 0.9498 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002755/1.148, allocations: 1.648 MB / 0.9514 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002599/1.148, allocations: 82.47 kB / 0.9515 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02707/1.175, allocations: 15.28 MB / 0.9664 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0008687/1.176, allocations: 0.5197 MB / 0.9669 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.002121/1.178, allocations: 1.372 MB / 0.9682 GB, free: 6.273 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01196/1.19, allocations: 8.085 MB / 0.9761 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/1.19, allocations: 4.312 kB / 0.9761 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.723e-06/1.19, allocations: 0 / 0.9761 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.593e-05/1.19, allocations: 0 / 0.9761 GB, free: 6.043 MB / 0.6355 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.009349/1.2, allocations: 4.207 MB / 0.9803 GB, free: 20.19 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/1.2, allocations: 9.719 kB / 0.9803 GB, free: 20.19 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002961/1.203, allocations: 0.6301 MB / 0.9809 GB, free: 20.04 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00158/1.204, allocations: 1.186 MB / 0.982 GB, free: 19.65 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/1.204, allocations: 208.6 kB / 0.9822 GB, free: 19.64 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002691/1.205, allocations: 269.8 kB / 0.9825 GB, free: 19.64 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005363/1.21, allocations: 3.42 MB / 0.9858 GB, free: 19.41 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.964e-05/1.21, allocations: 4.5 kB / 0.9858 GB, free: 19.41 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001734/1.21, allocations: 105.4 kB / 0.9859 GB, free: 19.41 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001521/1.21, allocations: 168.1 kB / 0.9861 GB, free: 19.41 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004673/1.215, allocations: 2.834 MB / 0.9889 GB, free: 19.39 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.013/1.228, allocations: 16.98 MB / 1.005 GB, free: 6.469 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003319/1.231, allocations: 1.77 MB / 1.007 GB, free: 6.156 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/1.233, allocations: 0.9908 MB / 1.008 GB, free: 6.051 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6911/1.924, allocations: 315.1 MB / 1.316 GB, free: 410.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/1.924, allocations: 59.2 kB / 1.316 GB, free: 410.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=192): time 4.378e-06/1.924, allocations: 4 kB / 1.316 GB, free: 410.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=192): time 0.007258/1.931, allocations: 3.845 MB / 1.32 GB, free: 407 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/1.931, allocations: 98.55 kB / 1.32 GB, free: 406.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007641/1.932, allocations: 0.8258 MB / 1.321 GB, free: 406.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.124e-05/1.932, allocations: 57.53 kB / 1.321 GB, free: 406 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003339/1.932, allocations: 0.9655 MB / 1.322 GB, free: 405.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003061/1.933, allocations: 0.6519 MB / 1.322 GB, free: 404.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.71e-05/1.933, allocations: 31.91 kB / 1.322 GB, free: 404.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.303e-05/1.933, allocations: 377.8 kB / 1.323 GB, free: 404.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009307/1.934, allocations: 0.7575 MB / 1.323 GB, free: 403.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/1.935, allocations: 0.9775 MB / 1.324 GB, free: 402.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002131/1.937, allocations: 1.872 MB / 1.326 GB, free: 400.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/1.937, allocations: 0 / 1.326 GB, free: 400.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.003013/1.94, allocations: 2.218 MB / 1.328 GB, free: 398.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/1.94, allocations: 4 kB / 1.328 GB, free: 398.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/1.94, allocations: 4.75 kB / 1.328 GB, free: 398.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003074/1.94, allocations: 104.9 kB / 1.328 GB, free: 398.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009149/1.941, allocations: 343.7 kB / 1.329 GB, free: 397.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/1.943, allocations: 4.087 MB / 1.333 GB, free: 393.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/1.944, allocations: 308.7 kB / 1.333 GB, free: 393 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/1.945, allocations: 109.5 kB / 1.333 GB, free: 392.9 MB / 0.8698 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 (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.0007693/1.945, allocations: 461.8 kB / 1.334 GB, free: 392.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000296/1.946, allocations: 138.3 kB / 1.334 GB, free: 392.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00518/1.951, allocations: 5.264 MB / 1.339 GB, free: 387 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-05/1.951, allocations: 71.91 kB / 1.339 GB, free: 386.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/1.951, allocations: 4 kB / 1.339 GB, free: 386.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.559e-05/1.951, allocations: 7.969 kB / 1.339 GB, free: 386.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008002/1.959, allocations: 8.4 MB / 1.347 GB, free: 378.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/1.959, allocations: 4 kB / 1.347 GB, free: 378.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009192/1.96, allocations: 311.5 kB / 1.347 GB, free: 378.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002657/1.96, allocations: 114.4 kB / 1.348 GB, free: 378.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/1.96, allocations: 73.22 kB / 1.348 GB, free: 378 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001783/1.962, allocations: 4.064 MB / 1.352 GB, free: 373.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.962, allocations: 12.09 kB / 1.352 GB, free: 373.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005074/1.967, allocations: 5.036 MB / 1.357 GB, free: 368.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004802/1.968, allocations: 325.5 kB / 1.357 GB, free: 368.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001682/1.968, allocations: 49.33 kB / 1.357 GB, free: 368 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009751/1.969, allocations: 225.5 kB / 1.357 GB, free: 367.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002353/1.969, allocations: 153.3 kB / 1.357 GB, free: 367.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001297/1.969, allocations: 99.95 kB / 1.357 GB, free: 367.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005027/1.97, allocations: 0.5321 MB / 1.358 GB, free: 367 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.2e-07/1.97, allocations: 0 / 1.358 GB, free: 367 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005797/1.975, allocations: 2.613 MB / 1.36 GB, free: 364.6 MB / 0.8698 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 (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.008124/1.984, allocations: 3.523 MB / 1.364 GB, free: 361.6 MB / 0.8698 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.003652/1.987, allocations: 3.122 MB / 1.367 GB, free: 358.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/1.987, allocations: 4 kB / 1.367 GB, free: 358.4 MB / 0.8698 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.002119/1.989, allocations: 2.335 MB / 1.369 GB, free: 356 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003198/1.993, allocations: 0.7303 MB / 1.37 GB, free: 355.3 MB / 0.8698 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10068:11-10068: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:10068:11-10068: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:10068:11-10068: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:10068:11-10068: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:10068:11-10068: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:10068:11-10068: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:10068:11-10068: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:10068:11-10068: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:10068:11-10068: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:10068:11-10068: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:10068:11-10068: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:10068:11-10068: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:10068:11-10068: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:10068:11-10068: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:10068:11-10068: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:10068:11-10068: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:10068:11-10068: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:10068:11-10068: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:10068:11-10068: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:10068:11-10068: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:10068:11-10068: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:10068:11-10068: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:10068:11-10068: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:10068:11-10068: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.008185/2.001, allocations: 7.815 MB / 1.378 GB, free: 347.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009447/2.002, allocations: 1.849 MB / 1.379 GB, free: 345.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005272/2.002, allocations: 211.4 kB / 1.38 GB, free: 345.4 MB / 0.8698 GB Notification: Performance of SimCode: time 8.31e-07/2.002, allocations: 0 / 1.38 GB, free: 345.4 MB / 0.8698 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:14392:9-14392: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:14392:9-14392: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:14392:9-14392: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:14392:9-14392: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:14392:9-14392: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:14392:9-14392: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:14392:9-14392: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:14392:9-14392: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).