Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Undirected.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|sink.inlet.m_flow|sink4.inlet.m_flow|sink6.inlet.m_flow|sink7.inlet.m_flow|source.outlet.m_flow|source3.outlet.m_flow|source7.outlet.m_flow|source8.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction") translateModel(ThermofluidStream.Undirected.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|sink.inlet.m_flow|sink4.inlet.m_flow|sink6.inlet.m_flow|sink7.inlet.m_flow|source.outlet.m_flow|source3.outlet.m_flow|source7.outlet.m_flow|source8.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008578/0.0008579, allocations: 101.9 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 181.7 kB / 16.59 MB, free: 6.137 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.609/1.609, allocations: 223.3 MB / 240.6 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.864/0.864, allocations: 89.62 MB / 381.3 MB, free: 11.43 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004094/0.0004094, allocations: 12.7 kB / 460.6 MB, free: 24.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1876, allocations: 68.82 MB / 0.517 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestJunction): time 0.727/0.9147, allocations: 217.6 MB / 0.7296 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.04302/0.9578, allocations: 33.98 MB / 0.7627 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004294/0.9621, allocations: 43.81 kB / 0.7628 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005991/0.9681, allocations: 1.566 MB / 0.7643 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01112/0.9793, allocations: 2.761 MB / 0.767 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.008453/0.9878, allocations: 1.974 MB / 0.7689 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008449/0.9963, allocations: 4.982 MB / 0.7738 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001766/0.9981, allocations: 0.8247 MB / 0.7746 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004197/1.002, allocations: 1.584 MB / 0.7761 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004949/1.007, allocations: 2.36 MB / 0.7784 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007286/1.008, allocations: 132 kB / 0.7786 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01197/1.02, allocations: 3.84 MB / 0.7823 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001387/1.021, allocations: 0.529 MB / 0.7828 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001697/1.023, allocations: 0.5472 MB / 0.7834 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00685/1.03, allocations: 3.624 MB / 0.7869 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 9.838e-06/1.03, allocations: 4 kB / 0.7869 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.585e-06/1.03, allocations: 3.938 kB / 0.7869 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.624e-05/1.03, allocations: 4 kB / 0.7869 GB, free: 6.75 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 572 * Number of variables: 572 Notification: Performance of Generate backend data structure: time 0.007696/1.038, allocations: 3.159 MB / 0.79 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/1.038, allocations: 12.03 kB / 0.79 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006598/1.039, allocations: 292.5 kB / 0.7903 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002401/1.041, allocations: 1.346 MB / 0.7916 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/1.041, allocations: 168.5 kB / 0.7918 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000348/1.041, allocations: 243.8 kB / 0.792 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004546/1.046, allocations: 2.794 MB / 0.7947 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.841e-05/1.046, allocations: 4 kB / 0.7947 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000193/1.046, allocations: 88 kB / 0.7948 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-05/1.046, allocations: 68.98 kB / 0.7949 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004325/1.051, allocations: 2.792 MB / 0.7976 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4588/1.509, allocations: 11.93 MB / 0.8093 GB, free: 223.6 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007063/1.517, allocations: 2.283 MB / 0.8115 GB, free: 223.5 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003156/1.52, allocations: 1.326 MB / 0.8128 GB, free: 223.5 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01455/1.534, allocations: 8.737 MB / 0.8213 GB, free: 216.3 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.831e-05/1.534, allocations: 62.23 kB / 0.8214 GB, free: 216.3 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=225): time 5.11e-06/1.534, allocations: 0 / 0.8214 GB, free: 216.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=229): time 0.01711/1.552, allocations: 8.992 MB / 0.8302 GB, free: 211.2 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.439e-05/1.552, allocations: 164.4 kB / 0.8303 GB, free: 211 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002585/1.554, allocations: 1.418 MB / 0.8317 GB, free: 210.5 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002579/1.555, allocations: 66.36 kB / 0.8318 GB, free: 210.4 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008842/1.555, allocations: 0.927 MB / 0.8327 GB, free: 209.7 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008633/1.556, allocations: 0.7656 MB / 0.8334 GB, free: 209.1 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/1.556, allocations: 42.91 kB / 0.8335 GB, free: 209.1 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001683/1.557, allocations: 390.9 kB / 0.8338 GB, free: 208.7 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001794/1.558, allocations: 0.89 MB / 0.8347 GB, free: 208.4 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00218/1.561, allocations: 1.189 MB / 0.8359 GB, free: 207.7 MB / 0.6075 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: flowResistance5.m_flow = flowResistance5.m_flow_0 (flowResistance7.m_flow_0 - flowResistance4.m_flow_0 = flowResistance5.m_flow_0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: flowResistance11.m_flow = flowResistance11.m_flow_0 (flowResistance6.m_flow_0 - flowResistance10.m_flow_0 = flowResistance11.m_flow_0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: flowResistance9.m_flow = flowResistance9.m_flow_0 (flowResistance3.m_flow_0 - flowResistance8.m_flow_0 = flowResistance9.m_flow_0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: flowResistance1.m_flow = flowResistance1.m_flow_0 (flowResistance2.m_flow_0 - flowResistance.m_flow_0 = flowResistance1.m_flow_0) Notification: Performance of analyzeInitialSystem (initialization): time 0.04564/1.606, allocations: 10.35 MB / 0.846 GB, free: 204.7 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.623e-05/1.606, allocations: 3.969 kB / 0.846 GB, free: 204.7 MB / 0.6075 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.007652/1.614, allocations: 3.191 MB / 0.8491 GB, free: 203 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.705e-05/1.614, allocations: 10.34 kB / 0.8491 GB, free: 203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.01e-05/1.614, allocations: 7.938 kB / 0.8491 GB, free: 203 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00272/1.617, allocations: 0.8447 MB / 0.8499 GB, free: 202.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/1.618, allocations: 371.1 kB / 0.8503 GB, free: 202.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01506/1.633, allocations: 11.12 MB / 0.8612 GB, free: 193.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002389/1.636, allocations: 142.4 kB / 0.8613 GB, free: 193.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000521/1.636, allocations: 97.33 kB / 0.8614 GB, free: 193.4 MB / 0.6075 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization sytem: flowResistance5.m_flow = flowResistance5.m_flow_0 flowResistance11.m_flow = flowResistance11.m_flow_0 flowResistance9.m_flow = flowResistance9.m_flow_0 flowResistance1.m_flow = flowResistance1.m_flow_0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (199): * Single equations (assignments): 195 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,77.8%) 9,(3,77.8%) 22,(3,77.8%) 19,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001557/1.638, allocations: 467.7 kB / 0.8618 GB, free: 192.9 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007904/1.639, allocations: 205.5 kB / 0.862 GB, free: 192.7 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007334/1.646, allocations: 4.086 MB / 0.866 GB, free: 188.6 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.041e-05/1.646, allocations: 31.98 kB / 0.866 GB, free: 188.6 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.053e-05/1.646, allocations: 12 kB / 0.8661 GB, free: 188.6 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.62e-05/1.646, allocations: 11.95 kB / 0.8661 GB, free: 188.6 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0119/1.658, allocations: 6.452 MB / 0.8724 GB, free: 182.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/1.658, allocations: 4 kB / 0.8724 GB, free: 182 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001163/1.659, allocations: 347.4 kB / 0.8727 GB, free: 181.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002291/1.662, allocations: 0.7175 MB / 0.8734 GB, free: 181 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001771/1.662, allocations: 79.91 kB / 0.8735 GB, free: 180.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01022/1.672, allocations: 9.585 MB / 0.8828 GB, free: 170.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/1.672, allocations: 8 kB / 0.8828 GB, free: 170.8 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007693/1.68, allocations: 4.818 MB / 0.8876 GB, free: 165.9 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/1.681, allocations: 330.1 kB / 0.8879 GB, free: 165.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002997/1.681, allocations: 52 kB / 0.8879 GB, free: 165.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/1.683, allocations: 139.6 kB / 0.888 GB, free: 165.4 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004393/1.683, allocations: 208.7 kB / 0.8882 GB, free: 165.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001791/1.683, allocations: 84.14 kB / 0.8883 GB, free: 165.1 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001445/1.685, allocations: 1.05 MB / 0.8894 GB, free: 164 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.81e-07/1.685, allocations: 0 / 0.8894 GB, free: 164 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.004671/1.689, allocations: 1.216 MB / 0.8905 GB, free: 162.9 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 8 (flowResistance1.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance9.inlet.m_flow,flowResistance3.inlet.m_flow,flowResistance11.inlet.m_flow,flowResistance6.inlet.m_flow,flowResistance5.inlet.m_flow,flowResistance7.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 (188): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 8,(3,77.8%) 19,(3,77.8%) 22,(3,77.8%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002432/1.692, allocations: 1.47 MB / 0.892 GB, free: 161.6 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005904/1.698, allocations: 3.17 MB / 0.8951 GB, free: 158.4 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/1.698, allocations: 0 / 0.8951 GB, free: 158.4 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003346/1.701, allocations: 2.136 MB / 0.8972 GB, free: 156.2 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004469/1.706, allocations: 0.7644 MB / 0.8979 GB, free: 155.4 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009684/1.715, allocations: 6.068 MB / 0.9038 GB, free: 149.3 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00125/1.717, allocations: 1.638 MB / 0.9054 GB, free: 147.6 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001152/1.718, allocations: 223.3 kB / 0.9056 GB, free: 147.4 MB / 0.6075 GB Notification: Performance of SimCode: time 1.984e-06/1.718, allocations: 0 / 0.9056 GB, free: 147.4 MB / 0.6075 GB Notification: Performance of Templates: time 0.1008/1.819, allocations: 85.75 MB / 0.9894 GB, free: 61.73 MB / 0.6075 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.makefile make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunction.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunctionCalcHelperMain.o OMCppThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunctionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestJunctionCalcHelperMain.o] Error 1