Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Examples.VenturiPump.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.1-main/package.mo", uses=false) Using package ThermofluidStream with version 0.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/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.Examples.VenturiPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|sink2_1.inlet.m_flow|source2_2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Examples.VenturiPump") translateModel(ThermofluidStream.Examples.VenturiPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|sink2_1.inlet.m_flow|source2_2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Examples.VenturiPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 182.8 kB / 15.98 MB, free: 5.77 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.436/1.436, allocations: 205.1 MB / 221.8 MB, free: 8.48 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.001158/0.001158, allocations: 97.81 kB / 269.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo): time 0.6731/0.6731, allocations: 91.22 MB / 407.8 MB, free: 2.531 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 59.84 kB / 483.5 MB, free: 6.594 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.315, allocations: 64.96 MB / 0.5356 GB, free: 33.64 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.VenturiPump): time 0.08716/0.4022, allocations: 100.7 MB / 0.634 GB, free: 0.6836 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.03719/0.4394, allocations: 34.74 MB / 0.6679 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001388/0.4409, allocations: 15.94 kB / 0.668 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.002503/0.4434, allocations: 0.9639 MB / 0.6689 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.004234/0.4477, allocations: 1.563 MB / 0.6704 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.01503/0.4627, allocations: 5.281 MB / 0.6756 GB, free: 5.996 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002931/0.4657, allocations: 2.466 MB / 0.678 GB, free: 3.52 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006663/0.4663, allocations: 481.8 kB / 0.6785 GB, free: 3.027 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2612/0.7275, allocations: 3.887 MB / 0.6822 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001174/0.7287, allocations: 0.846 MB / 0.6831 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002367/0.729, allocations: 94.56 kB / 0.6832 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01826/0.7472, allocations: 8.736 MB / 0.6917 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0006774/0.748, allocations: 279.1 kB / 0.692 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.001111/0.7491, allocations: 0.7222 MB / 0.6927 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.01548/0.7646, allocations: 6.573 MB / 0.6991 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.7646, allocations: 0 / 0.6991 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7646, allocations: 0 / 0.6991 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.867e-05/0.7647, allocations: 0.6875 kB / 0.6991 GB, free: 10.91 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 319 * Number of variables: 319 Notification: Performance of Generate backend data structure: time 0.008044/0.7727, allocations: 2.609 MB / 0.7016 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.7728, allocations: 8.219 kB / 0.7016 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.7739, allocations: 268.7 kB / 0.7019 GB, free: 9.656 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.775, allocations: 0.7027 MB / 0.7026 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.115e-05/0.7751, allocations: 91.86 kB / 0.7027 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.7752, allocations: 119.3 kB / 0.7028 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002557/0.7778, allocations: 1.546 MB / 0.7043 GB, free: 9.199 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/0.7778, allocations: 3.625 kB / 0.7043 GB, free: 9.199 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-05/0.7779, allocations: 51.23 kB / 0.7043 GB, free: 9.199 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.687e-05/0.778, allocations: 54.67 kB / 0.7044 GB, free: 9.195 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002362/0.7803, allocations: 1.302 MB / 0.7057 GB, free: 9.18 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006416/0.7868, allocations: 6.967 MB / 0.7125 GB, free: 20.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002116/0.7889, allocations: 1.049 MB / 0.7135 GB, free: 20.56 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007255/0.7897, allocations: 0.5466 MB / 0.714 GB, free: 20.54 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06597/0.8557, allocations: 36.26 MB / 0.7494 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.837e-05/0.8558, allocations: 46.22 kB / 0.7495 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=95): time 4.468e-06/0.8558, allocations: 0 / 0.7495 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of matching and sorting (n=96): time 0.007041/0.8628, allocations: 3.396 MB / 0.7528 GB, free: 6.094 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.8629, allocations: 64.41 kB / 0.7529 GB, free: 6.02 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007136/0.8636, allocations: 0.5755 MB / 0.7534 GB, free: 5.566 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.642e-05/0.8637, allocations: 36.39 kB / 0.7535 GB, free: 5.535 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002859/0.864, allocations: 0.501 MB / 0.754 GB, free: 5.176 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000226/0.8642, allocations: 327.7 kB / 0.7543 GB, free: 4.898 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002492/0.8645, allocations: 166.9 kB / 0.7544 GB, free: 4.789 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.8646, allocations: 397.5 kB / 0.7548 GB, free: 4.426 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005328/0.8652, allocations: 357.5 kB / 0.7551 GB, free: 4.215 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000623/0.8658, allocations: 469.7 kB / 0.7556 GB, free: 3.883 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/0.8671, allocations: 0.8839 MB / 0.7565 GB, free: 3.352 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.8671, allocations: 3.984 kB / 0.7565 GB, free: 3.348 MB / 0.5261 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001891/0.869, allocations: 1.163 MB / 0.7576 GB, free: 2.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.869, allocations: 4 kB / 0.7576 GB, free: 2.566 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.869, allocations: 4 kB / 0.7576 GB, free: 2.562 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004909/0.8695, allocations: 166.8 kB / 0.7578 GB, free: 2.434 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005942/0.8701, allocations: 159.9 kB / 0.7579 GB, free: 2.297 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002696/0.8728, allocations: 2.472 MB / 0.7603 GB, free: 260 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006932/0.8735, allocations: 76.64 kB / 0.7604 GB, free: 196 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.536e-05/0.8736, allocations: 46.73 kB / 0.7604 GB, free: 160 kB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 10 (singleFlowSensor8.outlet.state.phase,singleFlowSensor.outlet.state.phase,dynamicPressureInflow2.outlet.state.phase,dynamicPressureOutflow.outlet.state.phase,dynamicPressureInflow.outlet.state.phase,dynamicJunctionN2_1.dynamicPressureInflow.outlet.state.phase,dynamicJunctionN2_1.junction.outlet.state.phase,checkValve.outlet.state.phase,flowResistance1.outlet.state.phase,flowResistance.outlet.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004647/0.8741, allocations: 279.6 kB / 0.7607 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.8743, allocations: 86.91 kB / 0.7608 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003318/0.8776, allocations: 2.798 MB / 0.7635 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.607e-05/0.8776, allocations: 31.7 kB / 0.7636 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.8776, allocations: 4 kB / 0.7636 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.8776, allocations: 3.984 kB / 0.7636 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005327/0.883, allocations: 4.481 MB / 0.7679 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.883, allocations: 0 / 0.7679 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000537/0.8835, allocations: 132 kB / 0.7681 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004604/0.884, allocations: 167.4 kB / 0.7682 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.62e-05/0.8841, allocations: 33.95 kB / 0.7683 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002639/0.8867, allocations: 2.472 MB / 0.7707 GB, free: 8.992 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.8868, allocations: 4 kB / 0.7707 GB, free: 8.988 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3022/1.189, allocations: 88.59 MB / 0.8572 GB, free: 2.117 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002625/1.189, allocations: 207.4 kB / 0.8574 GB, free: 1.895 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/1.189, allocations: 16 kB / 0.8574 GB, free: 1.879 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005724/1.19, allocations: 74.61 kB / 0.8575 GB, free: 1.809 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001682/1.19, allocations: 76.89 kB / 0.8575 GB, free: 1.734 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.06e-05/1.19, allocations: 31.98 kB / 0.8576 GB, free: 1.703 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000465/1.191, allocations: 399.1 kB / 0.858 GB, free: 1.316 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/1.191, allocations: 8 kB / 0.858 GB, free: 1.309 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.01372/1.204, allocations: 3.881 MB / 0.8618 GB, free: 13.43 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (dynamicPressureInflow2.inlet.m_flow,dynamicJunctionN2_1.dynamicPressureInflow.inlet.m_flow) * Number of discrete variables: 18 ($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,$cse9.phase,$cse9.region,singleFlowSensor.outlet.state.phase,singleFlowSensor8.outlet.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02493/1.229, allocations: 2.928 MB / 0.8646 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002713/1.232, allocations: 1.432 MB / 0.866 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.232, allocations: 0 / 0.866 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001576/1.234, allocations: 1.103 MB / 0.8671 GB, free: 8.168 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001969/1.236, allocations: 351.7 kB / 0.8674 GB, free: 7.832 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10228:11-10228: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(singleFlowSensor8.quantity) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10228:11-10228: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/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10228:11-10228: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/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10228:11-10228: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(singleFlowSensor8.quantity) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10228:11-10228: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/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10228:11-10228: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/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10228:11-10228: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(singleFlowSensor8.quantity) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10228:11-10228: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/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10228:11-10228: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/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10228:11-10228: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/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:10228:11-10228: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(singleFlowSensor8.quantity) Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00764/1.243, allocations: 5.546 MB / 0.8728 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009068/1.244, allocations: 1.365 MB / 0.8742 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001405/1.246, allocations: 469.6 kB / 0.8746 GB, free: 384 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006122/1.246, allocations: 127.4 kB / 0.8747 GB, free: 260 kB / 0.6355 GB Notification: Performance of SimCode: time 7.41e-07/1.246, allocations: 0 / 0.8747 GB, free: 260 kB / 0.6355 GB Notification: Performance of Templates: time 0.4461/1.693, allocations: 171.6 MB / 1.042 GB, free: 199.8 MB / 0.6823 GB make -j1 -f ThermofluidStream_ThermofluidStream.Examples.VenturiPump.makefile (rm -f ThermofluidStream_ThermofluidStream.Examples.VenturiPump.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Examples.VenturiPump.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Examples.VenturiPump.pipe >> ../files/ThermofluidStream_ThermofluidStream.Examples.VenturiPump.sim & ./ThermofluidStream_ThermofluidStream.Examples.VenturiPump -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Examples.VenturiPump.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Examples.VenturiPump_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Examples.VenturiPump_ref.mat","../files/ThermofluidStream_ThermofluidStream.Examples.VenturiPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:Time,sink2_1.inlet.m_flow,source2_2.outlet.m_flow Variables in the result:A_in_hp,A_in_lp,A_out,checkValve.L,checkValve.clip_p_out,checkValve.initM_flow,checkValve.m_acceleraton_0,checkValve.m_flowStateSelect,checkValve.m_flow_0,checkValve.m_flow_ref,checkValve.p_min,checkValve.p_ref,dropOfCommons.L,dropOfCommons.assertionLevel,dropOfCommons.g,dropOfCommons.k_volume_damping,dropOfCommons.m_flow_reg,dropOfCommons.omega_reg,dropOfCommons.p_min,dropOfCommons.rho_min,dynamicJunctionN2_1.A[1],dynamicJunctionN2_1.A[2],dynamicJunctionN2_1.A_out,dynamicJunctionN2_1.L,dynamicJunctionN2_1.N,dynamicJunctionN2_1.assumeConstantDensity,dynamicJunctionN2_1.dynamicPressureInflow.A,dynamicJunctionN2_1.dynamicPressureInflow.A_par,dynamicJunctionN2_1.dynamicPressureInflow.L,dynamicJunctionN2_1.dynamicPressureInflow.areaFromInput,dynamicJunctionN2_1.dynamicPressureInflow.assumeConstantDensity,dynamicJunctionN2_1.dynamicPressureInflow.clip_p_out,dynamicJunctionN2_1.dynamicPressureInflow.extrapolateQuadratic,dynamicJunctionN2_1.dynamicPressureInflow.initM_flow,dynamicJunctionN2_1.dynamicPressureInflow.inlet.m_flow,dynamicJunctionN2_1.dynamicPressureInflow.m_acceleraton_0,dynamicJunctionN2_1.dynamicPressureInflow.m_flowStateSelect,dynamicJunctionN2_1.dynamicPressureInflow.m_flow_0,dynamicJunctionN2_1.dynamicPressureInflow.m_flow_reg,dynamicJunctionN2_1.dynamicPressureInflow.p_min,dynamicJunctionN2_1.dynamicPressureInflow.v_in_par,dynamicJunctionN2_1.dynamicPressureInflow.velocityFromInput,dynamicJunctionN2_1.junction.L,dynamicJunctionN2_1.junction.N,dynamicJunctionN2_1.junction.assumeConstantDensity,dynamicJunctionN2_1.junction.m_flow_eps,dynamicJunctionN2_1.m_flow_reg,dynamicPressureInflow.A,dynamicPressureInflow.A_par,dynamicPressureInflow.L,dynamicPressureInflow.areaFromInput,dynamicPressureInflow.assumeConstantDensity,dynamicPressureInflow.clip_p_out,dynamicPressureInflow.extrapolateQuadratic,dynamicPressureInflow.initM_flow,dynamicPressureInflow.m_acceleraton_0,dynamicPressureInflow.m_flowStateSelect,dynamicPressureInflow.m_flow_0,dynamicPressureInflow.m_flow_reg,dynamicPressureInflow.p_min,dynamicPressureInflow.v_in,dynamicPressureInflow.v_in_par,dynamicPressureInflow.velocityFromInput,dynamicPressureInflow2.A,dynamicPressureInflow2.A_par,dynamicPressureInflow2.L,dynamicPressureInflow2.areaFromInput,dynamicPressureInflow2.assumeConstantDensity,dynamicPressureInflow2.clip_p_out,dynamicPressureInflow2.extrapolateQuadratic,dynamicPressureInflow2.initM_flow,dynamicPressureInflow2.inlet.m_flow,dynamicPressureInflow2.m_acceleraton_0,dynamicPressureInflow2.m_flowStateSelect,dynamicPressureInflow2.m_flow_0,dynamicPressureInflow2.m_flow_reg,dynamicPressureInflow2.p_min,dynamicPressureInflow2.v_in,dynamicPressureInflow2.v_in_par,dynamicPressureInflow2.velocityFromInput,dynamicPressureOutflow.A,dynamicPressureOutflow.A_par,dynamicPressureOutflow.L,dynamicPressureOutflow.areaFromInput,dynamicPressureOutflow.assumeConstantDensity,dynamicPressureOutflow.clip_p_out,dynamicPressureOutflow.extrapolateQuadratic,dynamicPressureOutflow.initM_flow,dynamicPressureOutflow.m_acceleraton_0,dynamicPressureOutflow.m_flowStateSelect,dynamicPressureOutflow.m_flow_0,dynamicPressureOutflow.m_flow_reg,dynamicPressureOutflow.p_min,dynamicPressureOutflow.v_out,dynamicPressureOutflow.v_out_par,dynamicPressureOutflow.velocityFromInput,flowResistance.L,flowResistance.L_value,flowResistance.clip_p_out,flowResistance.computeL,flowResistance.initM_flow,flowResistance.l,flowResistance.m_acceleraton_0,flowResistance.m_flowStateSelect,flowResistance.m_flow_0,flowResistance.p_min,flowResistance.r,flowResistance.rho_min,flowResistance1.L,flowResistance1.L_value,flowResistance1.clip_p_out,flowResistance1.computeL,flowResistance1.initM_flow,flowResistance1.l,flowResistance1.m_acceleraton_0,flowResistance1.m_flowStateSelect,flowResistance1.m_flow_0,flowResistance1.p_min,flowResistance1.r,flowResistance1.rho_min,singleFlowSensor.TC,singleFlowSensor.digits,singleFlowSensor.filter_output,singleFlowSensor.init,singleFlowSensor.outputValue,singleFlowSensor.quantity,singleFlowSensor.rho_min,singleFlowSensor.value_0,singleFlowSensor1.TC,singleFlowSensor1.digits,singleFlowSensor1.filter_output,singleFlowSensor1.init,singleFlowSensor1.outputValue,singleFlowSensor1.quantity,singleFlowSensor1.rho_min,singleFlowSensor1.value_0,singleFlowSensor8.TC,singleFlowSensor8.digits,singleFlowSensor8.filter_output,singleFlowSensor8.init,singleFlowSensor8.outputValue,singleFlowSensor8.quantity,singleFlowSensor8.rho_min,singleFlowSensor8.value_0,sink2_1.L,sink2_1.inlet.m_flow,sink2_1.p0,sink2_1.p0_par,sink2_1.pressureFromInput,source2_1.L,source2_1.T0,source2_1.T0_par,source2_1.enthalpyFromInput,source2_1.h0,source2_1.h0_par,source2_1.p0,source2_1.p0_par,source2_1.pressureFromInput,source2_1.setEnthalpy,source2_1.temperatureFromInput,source2_1.xiFromInput,source2_2.L,source2_2.T0,source2_2.T0_par,source2_2.enthalpyFromInput,source2_2.h0,source2_2.h0_par,source2_2.outlet.m_flow,source2_2.p0,source2_2.p0_par,source2_2.pressureFromInput,source2_2.setEnthalpy,source2_2.temperatureFromInput,source2_2.xiFromInput,time