Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.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.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve") translateModel(ThermofluidStream.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 99.98 kB / 15.71 MB, free: 452 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.00191/0.00191, allocations: 176.4 kB / 16.58 MB, free: 6.422 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.621/1.621, allocations: 223.2 MB / 240.6 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9201/0.9201, allocations: 89.63 MB / 381.3 MB, free: 11.4 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.000432/0.000432, allocations: 15.56 kB / 460.6 MB, free: 24.35 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1786, allocations: 68.82 MB / 0.517 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.6616/0.8402, allocations: 149.8 MB / 0.6633 GB, free: 2.605 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01727/0.8575, allocations: 11.95 MB / 0.675 GB, free: 8.934 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0016/0.8592, allocations: 17.69 kB / 0.675 GB, free: 8.93 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001785/0.861, allocations: 0.5013 MB / 0.6755 GB, free: 8.512 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002959/0.864, allocations: 0.7574 MB / 0.6762 GB, free: 7.883 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002488/0.8665, allocations: 0.6135 MB / 0.6768 GB, free: 7.406 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00212/0.8686, allocations: 1.268 MB / 0.6781 GB, free: 6.523 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005429/0.8691, allocations: 262.6 kB / 0.6783 GB, free: 6.258 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008016/0.87, allocations: 410.2 kB / 0.6787 GB, free: 5.855 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007701/0.8707, allocations: 0.572 MB / 0.6793 GB, free: 5.281 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.314e-05/0.8708, allocations: 36 kB / 0.6793 GB, free: 5.246 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003506/0.8743, allocations: 1.232 MB / 0.6805 GB, free: 4.012 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.8745, allocations: 131.3 kB / 0.6806 GB, free: 3.883 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003101/0.8748, allocations: 197.2 kB / 0.6808 GB, free: 3.684 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001605/0.8764, allocations: 0.9819 MB / 0.6818 GB, free: 2.699 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.8765, allocations: 4 kB / 0.6818 GB, free: 2.695 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.8765, allocations: 0 / 0.6818 GB, free: 2.695 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.8765, allocations: 0 / 0.6818 GB, free: 2.695 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002276/0.8788, allocations: 1.154 MB / 0.6829 GB, free: 1.492 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.315e-05/0.8788, allocations: 16.02 kB / 0.6829 GB, free: 1.477 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001719/0.879, allocations: 98.78 kB / 0.683 GB, free: 1.379 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008544/0.8799, allocations: 0.5374 MB / 0.6835 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.659e-05/0.8799, allocations: 50 kB / 0.6836 GB, free: 0.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.8801, allocations: 72 kB / 0.6837 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.8813, allocations: 0.7315 MB / 0.6844 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.8814, allocations: 0 / 0.6844 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.319e-05/0.8814, allocations: 35.98 kB / 0.6844 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.81e-05/0.8815, allocations: 16 kB / 0.6844 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.8826, allocations: 0.6363 MB / 0.685 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003827/0.8864, allocations: 3.089 MB / 0.6881 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.8876, allocations: 0.5871 MB / 0.6886 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004402/0.8881, allocations: 267.9 kB / 0.6889 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003164/0.8913, allocations: 2.588 MB / 0.6914 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/0.8913, allocations: 43.12 kB / 0.6915 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=55): time 2.244e-06/0.8913, allocations: 0 / 0.6915 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of matching and sorting (n=56): time 0.003877/0.8952, allocations: 1.754 MB / 0.6932 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.8953, allocations: 55.97 kB / 0.6932 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007258/0.896, allocations: 0.5745 MB / 0.6938 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001098/0.8961, allocations: 29.7 kB / 0.6938 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003581/0.8965, allocations: 380.2 kB / 0.6942 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/0.8967, allocations: 197.1 kB / 0.6944 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.446e-05/0.8967, allocations: 8 kB / 0.6944 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002393/0.8969, allocations: 382.7 kB / 0.6947 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003329/0.8973, allocations: 173 kB / 0.6949 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003578/0.8976, allocations: 227.2 kB / 0.6951 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003649/0.898, allocations: 202.1 kB / 0.6953 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.898, allocations: 0 / 0.6953 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001325/0.8994, allocations: 0.6316 MB / 0.6959 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.8994, allocations: 8 kB / 0.6959 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.8994, allocations: 0 / 0.6959 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004635/0.8999, allocations: 112.9 kB / 0.696 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003765/0.9003, allocations: 107.8 kB / 0.6961 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002362/0.9026, allocations: 1.904 MB / 0.698 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004407/0.9031, allocations: 40 kB / 0.698 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.843e-05/0.9032, allocations: 20.06 kB / 0.6981 GB, free: 0.8711 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (51): * Single equations (assignments): 50 * 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 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003714/0.9035, allocations: 199.4 kB / 0.6983 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.9037, allocations: 67.16 kB / 0.6983 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001745/0.9054, allocations: 0.8745 MB / 0.6992 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.9054, allocations: 8 kB / 0.6992 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.9054, allocations: 0 / 0.6992 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.9055, allocations: 7.984 kB / 0.6992 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002643/0.9081, allocations: 1.5 MB / 0.7007 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.9081, allocations: 4 kB / 0.7007 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003414/0.9085, allocations: 87.89 kB / 0.7007 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004264/0.9089, allocations: 124.7 kB / 0.7009 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.568e-05/0.909, allocations: 23.98 kB / 0.7009 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002447/0.9114, allocations: 1.907 MB / 0.7027 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.9114, allocations: 3.953 kB / 0.7027 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/0.9132, allocations: 0.9678 MB / 0.7037 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002547/0.9135, allocations: 148.3 kB / 0.7038 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.162e-05/0.9135, allocations: 15.95 kB / 0.7038 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003336/0.9139, allocations: 43.81 kB / 0.7039 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.914, allocations: 48.56 kB / 0.7039 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/0.9142, allocations: 19.98 kB / 0.704 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005965/0.9148, allocations: 427.1 kB / 0.7044 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9148, allocations: 0 / 0.7044 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001087/0.9159, allocations: 319.8 kB / 0.7047 GB, free: 9.812 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (flowResistance1.inlet.m_flow,flowResistance2.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 (48): * Single equations (assignments): 47 * 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 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008267/0.9167, allocations: 493.6 kB / 0.7051 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001422/0.9181, allocations: 0.6272 MB / 0.7058 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.9182, allocations: 4.062 kB / 0.7058 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007594/0.9189, allocations: 429.7 kB / 0.7062 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.9201, allocations: 232.3 kB / 0.7064 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002895/0.923, allocations: 1.797 MB / 0.7081 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006072/0.9236, allocations: 0.9576 MB / 0.7091 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/0.9238, allocations: 71.41 kB / 0.7091 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of SimCode: time 4.41e-07/0.9238, allocations: 0 / 0.7091 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of Templates: time 0.02664/0.9505, allocations: 17.1 MB / 0.7258 GB, free: 4.059 MB / 0.5294 GB make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.makefile make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.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.FlowControl.Tests.TanValveCalcHelperMain.o OMCppThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValveCalcHelperMain.o] Error 1