Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.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.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|junctionN.outlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction") translateModel(ThermofluidStream.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|junctionN.outlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001057, allocations: 102.2 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.001406/0.001406, allocations: 175.4 kB / 16.58 MB, free: 6.121 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.535/1.535, allocations: 223.3 MB / 240.6 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9168/0.9168, allocations: 89.62 MB / 381.3 MB, free: 11.44 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000455/0.000455, allocations: 12.12 kB / 460.6 MB, free: 24.38 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1711, allocations: 68.82 MB / 0.517 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.6518/0.8229, allocations: 131.1 MB / 0.6451 GB, free: 1.449 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005067/0.828, allocations: 4.196 MB / 0.6492 GB, free: 14.06 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003926/0.8285, allocations: 6.844 kB / 0.6492 GB, free: 14.05 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006977/0.8292, allocations: 166.3 kB / 0.6494 GB, free: 13.92 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007209/0.8299, allocations: 257.5 kB / 0.6496 GB, free: 13.71 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009947/0.8309, allocations: 314.4 kB / 0.6499 GB, free: 13.48 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007037/0.8316, allocations: 0.6401 MB / 0.6505 GB, free: 13.1 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.8319, allocations: 91.59 kB / 0.6506 GB, free: 13.05 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005962/0.8325, allocations: 258.5 kB / 0.6509 GB, free: 12.91 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004652/0.8329, allocations: 285.7 kB / 0.6511 GB, free: 12.76 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.125e-05/0.833, allocations: 16.81 kB / 0.6512 GB, free: 12.76 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008661/0.8339, allocations: 360.2 kB / 0.6515 GB, free: 12.61 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.42e-05/0.834, allocations: 73.39 kB / 0.6516 GB, free: 12.56 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 8.571e-05/0.8341, allocations: 80.11 kB / 0.6517 GB, free: 12.5 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004714/0.8345, allocations: 344.9 kB / 0.652 GB, free: 12.29 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.8346, allocations: 0 / 0.652 GB, free: 12.29 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.8346, allocations: 0 / 0.652 GB, free: 12.29 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.8346, allocations: 0 / 0.652 GB, free: 12.29 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001453/0.8361, allocations: 0.6463 MB / 0.6526 GB, free: 11.74 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/0.8361, allocations: 10.88 kB / 0.6526 GB, free: 11.74 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.151e-05/0.8362, allocations: 32.25 kB / 0.6527 GB, free: 11.73 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004684/0.8367, allocations: 291.3 kB / 0.6529 GB, free: 11.44 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.321e-05/0.8367, allocations: 23.8 kB / 0.653 GB, free: 11.43 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.599e-05/0.8368, allocations: 27.89 kB / 0.653 GB, free: 11.41 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007218/0.8375, allocations: 433.7 kB / 0.6534 GB, free: 11.13 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.8376, allocations: 3.281 kB / 0.6534 GB, free: 11.13 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.552e-05/0.8376, allocations: 8 kB / 0.6534 GB, free: 11.12 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-05/0.8377, allocations: 13.94 kB / 0.6534 GB, free: 11.12 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008144/0.8385, allocations: 489.6 kB / 0.6539 GB, free: 10.88 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002275/0.8408, allocations: 1.42 MB / 0.6553 GB, free: 9.691 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004964/0.8413, allocations: 238.3 kB / 0.6555 GB, free: 9.559 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003472/0.8416, allocations: 209.1 kB / 0.6557 GB, free: 9.453 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004416/0.8421, allocations: 327.3 kB / 0.656 GB, free: 9.07 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.984e-05/0.8422, allocations: 41.98 kB / 0.6561 GB, free: 9.023 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 1.283e-06/0.8422, allocations: 0 / 0.6561 GB, free: 9.023 MB / 478.1 MB Notification: Performance of matching and sorting (n=33): time 0.003007/0.8452, allocations: 1.498 MB / 0.6575 GB, free: 7.918 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.8453, allocations: 54.72 kB / 0.6576 GB, free: 7.855 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003225/0.8456, allocations: 266.4 kB / 0.6578 GB, free: 7.672 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.327e-05/0.8456, allocations: 31.7 kB / 0.6579 GB, free: 7.637 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.8458, allocations: 147.6 kB / 0.658 GB, free: 7.5 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.8459, allocations: 123.8 kB / 0.6581 GB, free: 7.391 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.206e-05/0.846, allocations: 11 kB / 0.6581 GB, free: 7.383 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.8461, allocations: 343 kB / 0.6584 GB, free: 7.047 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002368/0.8464, allocations: 138 kB / 0.6586 GB, free: 6.977 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/0.8467, allocations: 143.1 kB / 0.6587 GB, free: 6.906 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003312/0.847, allocations: 172.5 kB / 0.6589 GB, free: 6.816 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.847, allocations: 3.953 kB / 0.6589 GB, free: 6.812 MB / 478.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009479/0.848, allocations: 0.5032 MB / 0.6594 GB, free: 6.527 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.848, allocations: 5.406 kB / 0.6594 GB, free: 6.527 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.848, allocations: 0 / 0.6594 GB, free: 6.527 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004576/0.8485, allocations: 120.4 kB / 0.6595 GB, free: 6.469 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003032/0.8488, allocations: 55.53 kB / 0.6595 GB, free: 6.449 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002896/0.8517, allocations: 2.12 MB / 0.6616 GB, free: 4.586 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.8519, allocations: 14.56 kB / 0.6616 GB, free: 4.574 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.876e-05/0.852, allocations: 12.67 kB / 0.6616 GB, free: 4.57 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (25): * Single equations (assignments): 24 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002643/0.8523, allocations: 152.7 kB / 0.6618 GB, free: 4.43 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.25e-05/0.8523, allocations: 33.34 kB / 0.6618 GB, free: 4.41 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/0.8535, allocations: 0.647 MB / 0.6625 GB, free: 3.949 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.8535, allocations: 3.312 kB / 0.6625 GB, free: 3.949 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.8535, allocations: 2.875 kB / 0.6625 GB, free: 3.949 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.8535, allocations: 3.938 kB / 0.6625 GB, free: 3.945 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004647/0.854, allocations: 404 kB / 0.6628 GB, free: 3.59 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.854, allocations: 3.953 kB / 0.6629 GB, free: 3.586 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.8542, allocations: 30.83 kB / 0.6629 GB, free: 3.574 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003105/0.8545, allocations: 127.8 kB / 0.663 GB, free: 3.508 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.235e-05/0.8546, allocations: 15.17 kB / 0.663 GB, free: 3.496 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002511/0.8571, allocations: 2.127 MB / 0.6651 GB, free: 1.621 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/0.8571, allocations: 4 kB / 0.6651 GB, free: 1.617 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.8583, allocations: 0.6387 MB / 0.6657 GB, free: 1.223 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.8585, allocations: 108.8 kB / 0.6658 GB, free: 1.105 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.511e-05/0.8585, allocations: 8 kB / 0.6658 GB, free: 1.098 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.8587, allocations: 13.64 kB / 0.6658 GB, free: 1.09 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.715e-05/0.8588, allocations: 23.45 kB / 0.6659 GB, free: 1.074 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.653e-05/0.8588, allocations: 14.22 kB / 0.6659 GB, free: 1.066 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003103/0.8591, allocations: 224.9 kB / 0.6661 GB, free: 0.918 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8591, allocations: 0 / 0.6661 GB, free: 0.918 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005684/0.8597, allocations: 108.7 kB / 0.6662 GB, free: 0.9023 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (source.outlet.m_flow,source1.outlet.m_flow,source2.outlet.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 (13): * Single equations (assignments): 12 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,62.5%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003967/0.8601, allocations: 179.2 kB / 0.6664 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.8612, allocations: 0.5105 MB / 0.6669 GB, free: 464 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.8612, allocations: 0 / 0.6669 GB, free: 464 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006343/0.8618, allocations: 361.6 kB / 0.6672 GB, free: 212 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006409/0.8625, allocations: 93.95 kB / 0.6673 GB, free: 160 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.8643, allocations: 0.9457 MB / 0.6682 GB, free: 15.45 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004783/0.8647, allocations: 0.7913 MB / 0.669 GB, free: 14.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.8649, allocations: 42.89 kB / 0.669 GB, free: 14.68 MB / 494.1 MB Notification: Performance of SimCode: time 5.51e-07/0.8649, allocations: 0 / 0.669 GB, free: 14.68 MB / 494.1 MB Notification: Performance of Templates: time 0.01263/0.8775, allocations: 7.149 MB / 0.676 GB, free: 7.77 MB / 494.1 MB make -j1 -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.makefile make -j1 -f ThermofluidStream_ThermofluidStream.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.Topology.Tests.TestJunctionCalcHelperMain.o OMCppThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionCalcHelperMain.o] Error 1