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.0009426/0.0009427, allocations: 170.7 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.166/1.166, allocations: 205 MB / 221.9 MB, free: 9.059 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.0007206/0.0007206, allocations: 87.62 kB / 269.9 MB, free: 8.66 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.6189/0.6189, allocations: 90.51 MB / 408.3 MB, free: 3.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002748/0.0002749, allocations: 8.219 kB / 484.8 MB, free: 7.199 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2549, allocations: 65.8 MB / 0.5377 GB, free: 34.94 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.5859/0.8408, allocations: 389.7 MB / 0.9183 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.3932/1.234, allocations: 45.15 MB / 0.9624 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002147/1.236, allocations: 27.53 kB / 0.9625 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.004388/1.241, allocations: 1.817 MB / 0.9642 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.02153/1.262, allocations: 7.464 MB / 0.9715 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.01528/1.278, allocations: 5.994 MB / 0.9774 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.006407/1.284, allocations: 5.467 MB / 0.9827 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/1.285, allocations: 0.9891 MB / 0.9837 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00427/1.289, allocations: 2.046 MB / 0.9857 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001541/1.291, allocations: 1.476 MB / 0.9871 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001595/1.291, allocations: 85.78 kB / 0.9872 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05173/1.343, allocations: 25.98 MB / 1.013 GB, free: 0 / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001996/1.345, allocations: 0.6807 MB / 1.013 GB, free: 0 / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.002093/1.347, allocations: 1.074 MB / 1.014 GB, free: 0 / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.02122/1.368, allocations: 8.744 MB / 1.023 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.368, allocations: 3.406 kB / 1.023 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.994e-06/1.368, allocations: 0 / 1.023 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.787e-05/1.368, allocations: 0 / 1.023 GB, free: 12.84 MB / 0.6511 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.01094/1.379, allocations: 4.388 MB / 1.027 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/1.379, allocations: 11.41 kB / 1.027 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006358/1.38, allocations: 224.3 kB / 1.027 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/1.381, allocations: 1.061 MB / 1.028 GB, free: 9.547 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.638e-05/1.382, allocations: 144.2 kB / 1.029 GB, free: 9.539 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002479/1.382, allocations: 192.6 kB / 1.029 GB, free: 9.535 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003937/1.386, allocations: 3.173 MB / 1.032 GB, free: 8.215 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.458e-05/1.386, allocations: 0 / 1.032 GB, free: 8.215 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000162/1.386, allocations: 71.47 kB / 1.032 GB, free: 8.203 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002005/1.386, allocations: 180.9 kB / 1.032 GB, free: 8.055 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004273/1.39, allocations: 3.459 MB / 1.035 GB, free: 5.738 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0131/1.404, allocations: 12.68 MB / 1.048 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0025/1.406, allocations: 1.821 MB / 1.05 GB, free: 8.957 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001824/1.408, allocations: 1.606 MB / 1.051 GB, free: 7.988 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005756/1.414, allocations: 7.447 MB / 1.058 GB, free: 15.51 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/1.414, allocations: 53.81 kB / 1.058 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=212): time 5.771e-06/1.414, allocations: 0 / 1.058 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of matching and sorting (n=216): time 0.01422/1.428, allocations: 9.191 MB / 1.067 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.607e-05/1.428, allocations: 102.2 kB / 1.068 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007841/1.429, allocations: 0.7083 MB / 1.068 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001455/1.429, allocations: 63.5 kB / 1.068 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003731/1.429, allocations: 0.6379 MB / 1.069 GB, free: 5.402 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005314/1.43, allocations: 0.7301 MB / 1.07 GB, free: 4.68 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/1.43, allocations: 38.27 kB / 1.07 GB, free: 4.645 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001388/1.43, allocations: 373.9 kB / 1.07 GB, free: 4.273 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001572/1.432, allocations: 1.183 MB / 1.071 GB, free: 3.09 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001749/1.434, allocations: 1.308 MB / 1.072 GB, free: 1.781 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003588/1.437, allocations: 2.679 MB / 1.075 GB, free: 15.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.437, allocations: 2.734 kB / 1.075 GB, free: 15.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=224) (initialization): time 0.005139/1.442, allocations: 3.354 MB / 1.078 GB, free: 11.76 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/1.442, allocations: 7.984 kB / 1.078 GB, free: 11.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/1.442, allocations: 0 / 1.078 GB, free: 11.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001174/1.444, allocations: 462.3 kB / 1.079 GB, free: 11.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/1.445, allocations: 346.9 kB / 1.079 GB, free: 10.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006721/1.451, allocations: 5.806 MB / 1.085 GB, free: 4.926 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/1.453, allocations: 143.9 kB / 1.085 GB, free: 4.785 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003284/1.453, allocations: 179.9 kB / 1.085 GB, free: 4.609 MB / 0.698 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,16,68.0%), (5,16,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008847/1.454, allocations: 0.496 MB / 1.086 GB, free: 4.125 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004304/1.454, allocations: 142.2 kB / 1.086 GB, free: 3.984 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007472/1.462, allocations: 4.259 MB / 1.09 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.434e-05/1.462, allocations: 35.98 kB / 1.09 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/1.462, allocations: 7.938 kB / 1.09 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.222e-05/1.462, allocations: 17.81 kB / 1.09 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01023/1.472, allocations: 6.964 MB / 1.097 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/1.472, allocations: 0 / 1.097 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/1.473, allocations: 359 kB / 1.097 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001126/1.475, allocations: 485.1 kB / 1.098 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001819/1.475, allocations: 103.9 kB / 1.098 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00654/1.481, allocations: 5.836 MB / 1.103 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/1.481, allocations: 6.906 kB / 1.103 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007938/1.489, allocations: 5.674 MB / 1.109 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000471/1.49, allocations: 203.3 kB / 1.109 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002299/1.49, allocations: 44.23 kB / 1.109 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009592/1.491, allocations: 155.1 kB / 1.109 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003948/1.491, allocations: 212.7 kB / 1.109 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002884/1.492, allocations: 183.9 kB / 1.11 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005954/1.492, allocations: 0.4951 MB / 1.11 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/1.492, allocations: 0 / 1.11 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.006158/1.498, allocations: 2.332 MB / 1.112 GB, free: 8.484 MB / 0.7292 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,16,68.0%), (5,16,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00727/1.506, allocations: 3.233 MB / 1.116 GB, free: 5.555 MB / 0.7292 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.006105/1.512, allocations: 3.738 MB / 1.119 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.512, allocations: 0 / 1.119 GB, free: 1.809 MB / 0.7292 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.003783/1.516, allocations: 2.382 MB / 1.122 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002952/1.519, allocations: 0.6039 MB / 1.122 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007127/1.526, allocations: 5.558 MB / 1.128 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001249/1.527, allocations: 1.611 MB / 1.129 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001141/1.528, allocations: 331.2 kB / 1.129 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of SimCode: time 1.854e-06/1.528, allocations: 0 / 1.129 GB, free: 7.293 MB / 0.7448 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:14392:9-14392: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:14392:9-14392: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:14392:9-14392: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:14392:9-14392: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:14392:9-14392: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:14392:9-14392: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:14392:9-14392: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:14392:9-14392: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).