Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestJunctionNM.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.Topology.Tests.TestJunctionNM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|junctionNM.splitterN.inlet.m_flow|junctionNM1.splitterN.inlet.m_flow|sink.inlet.m_flow|sink1.inlet.m_flow|sink3.inlet.m_flow|sink4.inlet.m_flow|source.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestJunctionNM") translateModel(ThermofluidStream.Topology.Tests.TestJunctionNM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|junctionNM.splitterN.inlet.m_flow|junctionNM1.splitterN.inlet.m_flow|sink.inlet.m_flow|sink1.inlet.m_flow|sink3.inlet.m_flow|sink4.inlet.m_flow|source.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestJunctionNM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001925/0.001925, allocations: 174.6 kB / 15.77 MB, free: 6.324 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.655/1.655, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0009215/0.0009214, allocations: 86.31 kB / 270.3 MB, free: 13.36 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.6857/0.6857, allocations: 90.6 MB / 409.1 MB, free: 14.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003114/0.0003114, allocations: 11.94 kB / 485.9 MB, free: 2.078 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3513, allocations: 66.27 MB / 0.5392 GB, free: 45.59 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.7305/1.082, allocations: 357 MB / 0.8879 GB, free: 15.45 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.04697/1.129, allocations: 41.15 MB / 0.9281 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002704/1.132, allocations: 22.38 kB / 0.9281 GB, free: 2.621 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.004014/1.136, allocations: 1.253 MB / 0.9293 GB, free: 1.449 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.02201/1.158, allocations: 6.464 MB / 0.9356 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.01826/1.176, allocations: 5.208 MB / 0.9407 GB, free: 5.793 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.006827/1.183, allocations: 4.524 MB / 0.9451 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001535/1.184, allocations: 0.8712 MB / 0.946 GB, free: 388 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005064/1.189, allocations: 1.951 MB / 0.9479 GB, free: 14.42 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002723/1.192, allocations: 1.436 MB / 0.9493 GB, free: 12.98 MB / 0.6199 GB Notification: Performance of NFPackage.collectConstants: time 0.0002673/1.192, allocations: 80 kB / 0.9494 GB, free: 12.9 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03922/1.232, allocations: 18.76 MB / 0.9677 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001266/1.233, allocations: 0.6307 MB / 0.9683 GB, free: 9.48 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0009304/1.234, allocations: 460.6 kB / 0.9687 GB, free: 9.023 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.02122/1.255, allocations: 8.214 MB / 0.9768 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/1.255, allocations: 0 / 0.9768 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.639e-06/1.255, allocations: 0 / 0.9768 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.398e-05/1.255, allocations: 4 kB / 0.9768 GB, free: 0.7891 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: 506 * Number of variables: 506 Notification: Performance of Generate backend data structure: time 0.01236/1.268, allocations: 4.413 MB / 0.9811 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/1.268, allocations: 8.031 kB / 0.9811 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005861/1.268, allocations: 229.3 kB / 0.9813 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001728/1.27, allocations: 1.017 MB / 0.9823 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/1.27, allocations: 143.6 kB / 0.9824 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002976/1.27, allocations: 195.9 kB / 0.9826 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004603/1.275, allocations: 3.155 MB / 0.9857 GB, free: 7.516 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.473e-05/1.275, allocations: 3.938 kB / 0.9857 GB, free: 7.512 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001825/1.275, allocations: 79.97 kB / 0.9858 GB, free: 7.434 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002183/1.276, allocations: 179.8 kB / 0.9859 GB, free: 7.258 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004524/1.28, allocations: 3.439 MB / 0.9893 GB, free: 3.816 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01474/1.295, allocations: 12.67 MB / 1.002 GB, free: 5.766 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002671/1.298, allocations: 1.819 MB / 1.003 GB, free: 3.93 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002079/1.3, allocations: 1.594 MB / 1.005 GB, free: 2.332 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.292/1.592, allocations: 7.441 MB / 1.012 GB, free: 272.4 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.955e-05/1.592, allocations: 62.53 kB / 1.012 GB, free: 272.4 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=212): time 8.827e-06/1.592, allocations: 0 / 1.012 GB, free: 272.4 MB / 0.6667 GB Notification: Performance of matching and sorting (n=216): time 0.01515/1.607, allocations: 9.154 MB / 1.021 GB, free: 270.5 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/1.607, allocations: 100.1 kB / 1.021 GB, free: 270.4 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007846/1.608, allocations: 0.7028 MB / 1.022 GB, free: 270.1 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001602/1.608, allocations: 60.39 kB / 1.022 GB, free: 270 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003014/1.608, allocations: 0.6475 MB / 1.023 GB, free: 269.5 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004859/1.609, allocations: 0.7252 MB / 1.023 GB, free: 269 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/1.609, allocations: 36.67 kB / 1.023 GB, free: 268.9 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001016/1.609, allocations: 371.5 kB / 1.024 GB, free: 268.6 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001528/1.611, allocations: 1.176 MB / 1.025 GB, free: 268.1 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001711/1.612, allocations: 1.303 MB / 1.026 GB, free: 267.6 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001921/1.614, allocations: 1.321 MB / 1.028 GB, free: 267.1 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/1.614, allocations: 0 / 1.028 GB, free: 267.1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=224) (initialization): time 0.005585/1.62, allocations: 3.343 MB / 1.031 GB, free: 265.7 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/1.62, allocations: 8.812 kB / 1.031 GB, free: 265.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/1.62, allocations: 5.109 kB / 1.031 GB, free: 265.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001378/1.621, allocations: 455 kB / 1.031 GB, free: 265.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/1.623, allocations: 348.9 kB / 1.032 GB, free: 265.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007177/1.63, allocations: 5.792 MB / 1.037 GB, free: 261.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/1.632, allocations: 148.3 kB / 1.037 GB, free: 261.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004511/1.632, allocations: 185.9 kB / 1.038 GB, free: 261.3 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (172): * Single equations (assignments): 156 * Array equations: 10 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,68.0%) 16,(5,68.0%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001149/1.633, allocations: 0.4968 MB / 1.038 GB, free: 261 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003899/1.634, allocations: 140.3 kB / 1.038 GB, free: 260.9 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008675/1.642, allocations: 4.267 MB / 1.042 GB, free: 259.3 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.403e-05/1.642, allocations: 30.94 kB / 1.042 GB, free: 259.3 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.912e-05/1.643, allocations: 7.156 kB / 1.042 GB, free: 259.3 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.303e-05/1.643, allocations: 11.02 kB / 1.042 GB, free: 259.3 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01314/1.656, allocations: 6.949 MB / 1.049 GB, free: 256.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-05/1.656, allocations: 5.875 kB / 1.049 GB, free: 256.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001523/1.657, allocations: 360.6 kB / 1.05 GB, free: 256.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001692/1.659, allocations: 473.6 kB / 1.05 GB, free: 256.3 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002912/1.659, allocations: 108.1 kB / 1.05 GB, free: 256.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007447/1.667, allocations: 5.833 MB / 1.056 GB, free: 252 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.076e-06/1.667, allocations: 10.11 kB / 1.056 GB, free: 252 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01011/1.677, allocations: 5.644 MB / 1.061 GB, free: 249.5 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007487/1.678, allocations: 206.8 kB / 1.062 GB, free: 249.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002585/1.678, allocations: 46.05 kB / 1.062 GB, free: 249.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/1.679, allocations: 148.7 kB / 1.062 GB, free: 249.3 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004423/1.68, allocations: 206.2 kB / 1.062 GB, free: 249.2 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003292/1.68, allocations: 182.8 kB / 1.062 GB, free: 249.2 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0006413/1.681, allocations: 0.4909 MB / 1.063 GB, free: 249 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.21e-07/1.681, allocations: 0 / 1.063 GB, free: 249 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.006685/1.687, allocations: 2.329 MB / 1.065 GB, free: 248.7 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (junctionNM1.junctionN.outlet.m_flow,flowResistance6.inlet.m_flow,flowResistance8.inlet.m_flow,flowResistance9.inlet.m_flow,junctionNM.junctionN.outlet.m_flow,flowResistance1.inlet.m_flow,flowResistance3.inlet.m_flow,flowResistance4.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (184): * Single equations (assignments): 168 * Array equations: 10 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,68.0%) 16,(5,68.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007851/1.695, allocations: 3.174 MB / 1.068 GB, free: 248.3 MB / 0.6667 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {flowResistance6.inlet.state.X[1], flowResistance6.inlet.state.X[2]} = $TMP_ThermofluidStream_Topology_Tests_TestJunctionNM_source3_outlet_Medium_ThermodynamicState1.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {flowResistance1.inlet.state.X[1], flowResistance1.inlet.state.X[2]} = $TMP_ThermofluidStream_Topology_Tests_TestJunctionNM_source1_outlet_Medium_ThermodynamicState137.X Notification: Performance of simCode: created initialization part: time 0.006308/1.701, allocations: 3.729 MB / 1.072 GB, free: 246.8 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/1.701, allocations: 0 / 1.072 GB, free: 246.8 MB / 0.6667 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {flowResistance1.inlet.state.X[1], flowResistance1.inlet.state.X[2]} = $TMP_ThermofluidStream_Topology_Tests_TestJunctionNM_source1_outlet_Medium_ThermodynamicState279.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {flowResistance6.inlet.state.X[1], flowResistance6.inlet.state.X[2]} = $TMP_ThermofluidStream_Topology_Tests_TestJunctionNM_source3_outlet_Medium_ThermodynamicState418.X Notification: Performance of simCode: created simulation system equations: time 0.003787/1.705, allocations: 2.387 MB / 1.074 GB, free: 245.7 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003017/1.708, allocations: 0.6004 MB / 1.074 GB, free: 245.6 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006891/1.715, allocations: 5.512 MB / 1.08 GB, free: 241.9 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009574/1.716, allocations: 1.608 MB / 1.081 GB, free: 240.5 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001214/1.717, allocations: 332.7 kB / 1.082 GB, free: 240.2 MB / 0.6667 GB Notification: Performance of SimCode: time 1.092e-06/1.717, allocations: 0 / 1.082 GB, free: 240.2 MB / 0.6667 GB Error: Internal error GetVarIndexListByMapping: No Element for $TMP_ThermofluidStream_Topology_Tests_TestJunctionNM_source1_outlet_Medium_ThermodynamicState137.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:25: $TMP_ThermofluidStream_Topology_Tests_TestJunctionNM_source1_outlet_Medium_ThermodynamicState137.X[1] (no alias) protected hideResult initial: arrCref:$TMP_ThermofluidStream_Topology_Tests_TestJunctionNM_source1_outlet_Medium_ThermodynamicState137.X index:(42) [] Error: Internal error GetVarIndexListByMapping: No Element for $TMP_ThermofluidStream_Topology_Tests_TestJunctionNM_source1_outlet_Medium_ThermodynamicState137.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:26: $TMP_ThermofluidStream_Topology_Tests_TestJunctionNM_source1_outlet_Medium_ThermodynamicState137.X[2] (no alias) protected hideResult initial: no arrCref index:(43) [] Error: Internal error GetVarIndexListByMapping: No Element for $TMP_ThermofluidStream_Topology_Tests_TestJunctionNM_source1_outlet_Medium_ThermodynamicState279.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:29: $TMP_ThermofluidStream_Topology_Tests_TestJunctionNM_source1_outlet_Medium_ThermodynamicState279.X[1] (no alias) protected hideResult initial: arrCref:$TMP_ThermofluidStream_Topology_Tests_TestJunctionNM_source1_outlet_Medium_ThermodynamicState279.X index:(46) [] Error: Internal error GetVarIndexListByMapping: No Element for $TMP_ThermofluidStream_Topology_Tests_TestJunctionNM_source1_outlet_Medium_ThermodynamicState279.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:30: $TMP_ThermofluidStream_Topology_Tests_TestJunctionNM_source1_outlet_Medium_ThermodynamicState279.X[2] (no alias) protected hideResult initial: no arrCref index:(47) [] Error: Internal error GetVarIndexListByMapping: No Element for $TMP_ThermofluidStream_Topology_Tests_TestJunctionNM_source3_outlet_Medium_ThermodynamicState1.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_Topology_Tests_TestJunctionNM_source3_outlet_Medium_ThermodynamicState1.X[1] (no alias) protected hideResult initial: arrCref:$TMP_ThermofluidStream_Topology_Tests_TestJunctionNM_source3_outlet_Medium_ThermodynamicState1.X index:(50) [] Error: Internal error GetVarIndexListByMapping: No Element for $TMP_ThermofluidStream_Topology_Tests_TestJunctionNM_source3_outlet_Medium_ThermodynamicState1.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_Topology_Tests_TestJunctionNM_source3_outlet_Medium_ThermodynamicState1.X[2] (no alias) protected hideResult initial: no arrCref index:(51) [] Error: Internal error GetVarIndexListByMapping: No Element for $TMP_ThermofluidStream_Topology_Tests_TestJunctionNM_source3_outlet_Medium_ThermodynamicState418.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_Topology_Tests_TestJunctionNM_source3_outlet_Medium_ThermodynamicState418.X[1] (no alias) protected hideResult initial: arrCref:$TMP_ThermofluidStream_Topology_Tests_TestJunctionNM_source3_outlet_Medium_ThermodynamicState418.X index:(54) [] Error: Internal error GetVarIndexListByMapping: No Element for $TMP_ThermofluidStream_Topology_Tests_TestJunctionNM_source3_outlet_Medium_ThermodynamicState418.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_Topology_Tests_TestJunctionNM_source3_outlet_Medium_ThermodynamicState418.X[2] (no alias) protected hideResult initial: no arrCref index:(55) [] 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).