Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.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.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|pulse.T_start|pulse.count|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve") translateModel(ThermofluidStream.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|pulse.T_start|pulse.count|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009369/0.0009368, allocations: 99.44 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.0009934/0.0009931, allocations: 179.7 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.644/1.644, allocations: 223.2 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9237/0.9237, allocations: 89.63 MB / 381.3 MB, free: 11.44 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004594/0.0004594, allocations: 14.92 kB / 460.6 MB, free: 24.38 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1788, allocations: 68.82 MB / 0.517 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.CheckValve): time 0.6336/0.8124, allocations: 130.5 MB / 0.6445 GB, free: 1.984 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004579/0.8171, allocations: 3.326 MB / 0.6477 GB, free: 15.3 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003476/0.8175, allocations: 2.188 kB / 0.6477 GB, free: 15.3 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005957/0.8181, allocations: 143.8 kB / 0.6479 GB, free: 15.18 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009266/0.819, allocations: 336.3 kB / 0.6482 GB, free: 14.91 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007475/0.8198, allocations: 204.5 kB / 0.6484 GB, free: 14.76 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005378/0.8203, allocations: 0.4928 MB / 0.6489 GB, free: 14.46 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.8205, allocations: 60.12 kB / 0.6489 GB, free: 14.43 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003664/0.8209, allocations: 177.2 kB / 0.6491 GB, free: 14.33 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003124/0.8212, allocations: 200.2 kB / 0.6493 GB, free: 14.22 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.038e-05/0.8212, allocations: 13.91 kB / 0.6493 GB, free: 14.22 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008857/0.8221, allocations: 417.6 kB / 0.6497 GB, free: 14.04 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.854e-05/0.8222, allocations: 47.59 kB / 0.6497 GB, free: 14 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 8.665e-05/0.8223, allocations: 77.23 kB / 0.6498 GB, free: 13.94 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004452/0.8227, allocations: 323.2 kB / 0.6501 GB, free: 13.74 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.8228, allocations: 2.562 kB / 0.6501 GB, free: 13.74 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.8228, allocations: 0 / 0.6501 GB, free: 13.74 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.8228, allocations: 0 / 0.6501 GB, free: 13.74 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.00127/0.8241, allocations: 0.6376 MB / 0.6507 GB, free: 13.16 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.8241, allocations: 9 kB / 0.6507 GB, free: 13.16 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.289e-05/0.8242, allocations: 34.59 kB / 0.6508 GB, free: 13.14 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004082/0.8246, allocations: 281.9 kB / 0.651 GB, free: 12.86 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/0.8246, allocations: 17.12 kB / 0.6511 GB, free: 12.86 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.072e-05/0.8247, allocations: 25.47 kB / 0.6511 GB, free: 12.84 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000518/0.8252, allocations: 265.6 kB / 0.6513 GB, free: 12.67 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.8253, allocations: 0 / 0.6513 GB, free: 12.67 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.8253, allocations: 11.98 kB / 0.6514 GB, free: 12.66 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.8253, allocations: 9.703 kB / 0.6514 GB, free: 12.66 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004511/0.8258, allocations: 228.8 kB / 0.6516 GB, free: 12.55 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.8274, allocations: 1.077 MB / 0.6526 GB, free: 11.54 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005518/0.8279, allocations: 247.7 kB / 0.6529 GB, free: 11.4 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/0.8282, allocations: 116.9 kB / 0.653 GB, free: 11.34 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001139/0.8293, allocations: 0.9747 MB / 0.6539 GB, free: 10.31 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003881/0.8297, allocations: 157.8 kB / 0.6541 GB, free: 10.2 MB / 478.1 MB Notification: Performance of pre-optimization done (n=23): time 1.623e-06/0.8297, allocations: 0 / 0.6541 GB, free: 10.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=23): time 0.001118/0.8309, allocations: 484.7 kB / 0.6545 GB, free: 9.895 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.8309, allocations: 54.28 kB / 0.6546 GB, free: 9.832 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003276/0.8313, allocations: 270.8 kB / 0.6549 GB, free: 9.645 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.537e-05/0.8313, allocations: 32.55 kB / 0.6549 GB, free: 9.609 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.8315, allocations: 161.6 kB / 0.655 GB, free: 9.461 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.422e-05/0.8316, allocations: 83.23 kB / 0.6551 GB, free: 9.387 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.609e-05/0.8316, allocations: 6.844 kB / 0.6551 GB, free: 9.383 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.8317, allocations: 339.9 kB / 0.6554 GB, free: 9.047 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.8319, allocations: 90.16 kB / 0.6555 GB, free: 9.004 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.8322, allocations: 111.5 kB / 0.6556 GB, free: 8.938 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/0.8324, allocations: 123.9 kB / 0.6558 GB, free: 8.859 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8324, allocations: 3.938 kB / 0.6558 GB, free: 8.855 MB / 478.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006561/0.8331, allocations: 345.7 kB / 0.6561 GB, free: 8.656 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.647e-05/0.8332, allocations: 35.47 kB / 0.6561 GB, free: 8.621 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.8332, allocations: 0 / 0.6561 GB, free: 8.621 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002364/0.8334, allocations: 39.8 kB / 0.6562 GB, free: 8.598 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.8336, allocations: 48 kB / 0.6562 GB, free: 8.586 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/0.835, allocations: 1.412 MB / 0.6576 GB, free: 7.16 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.8352, allocations: 31.61 kB / 0.6576 GB, free: 7.141 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.579e-05/0.8352, allocations: 11.95 kB / 0.6576 GB, free: 7.137 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 1 * 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 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001728/0.8354, allocations: 141.5 kB / 0.6578 GB, free: 7.004 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-05/0.8354, allocations: 36.34 kB / 0.6578 GB, free: 6.98 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007477/0.8362, allocations: 339.6 kB / 0.6581 GB, free: 6.781 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.8362, allocations: 10.77 kB / 0.6581 GB, free: 6.773 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.659e-05/0.8362, allocations: 0 / 0.6581 GB, free: 6.773 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.8363, allocations: 3.984 kB / 0.6581 GB, free: 6.77 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.8374, allocations: 0.7386 MB / 0.6589 GB, free: 6.172 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.8374, allocations: 0 / 0.6589 GB, free: 6.172 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.8376, allocations: 46.31 kB / 0.6589 GB, free: 6.156 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001648/0.8378, allocations: 43.83 kB / 0.6589 GB, free: 6.129 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.684e-05/0.8378, allocations: 11.3 kB / 0.659 GB, free: 6.121 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001407/0.8392, allocations: 1.412 MB / 0.6603 GB, free: 4.699 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.8393, allocations: 0.625 kB / 0.6603 GB, free: 4.699 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.8403, allocations: 0.5103 MB / 0.6608 GB, free: 4.359 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.8404, allocations: 104.8 kB / 0.6609 GB, free: 4.246 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.496e-05/0.8405, allocations: 11.11 kB / 0.6609 GB, free: 4.238 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.8407, allocations: 26.64 kB / 0.661 GB, free: 4.223 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.8408, allocations: 26.86 kB / 0.661 GB, free: 4.207 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.8408, allocations: 5.688 kB / 0.661 GB, free: 4.207 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002401/0.8411, allocations: 195.2 kB / 0.6612 GB, free: 4.074 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8411, allocations: 2.906 kB / 0.6612 GB, free: 4.074 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005702/0.8416, allocations: 122.7 kB / 0.6613 GB, free: 4.039 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (flowResistance.inlet.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004307/0.8421, allocations: 243.2 kB / 0.6615 GB, free: 3.867 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008232/0.8429, allocations: 389.7 kB / 0.6619 GB, free: 3.598 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.8429, allocations: 4.062 kB / 0.6619 GB, free: 3.594 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004129/0.8434, allocations: 248.5 kB / 0.6622 GB, free: 3.418 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006819/0.844, allocations: 93 kB / 0.6622 GB, free: 3.367 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.8454, allocations: 0.7658 MB / 0.663 GB, free: 2.797 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004345/0.8459, allocations: 0.7619 MB / 0.6637 GB, free: 2.066 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.708e-05/0.846, allocations: 31.98 kB / 0.6638 GB, free: 2.051 MB / 478.1 MB Notification: Performance of SimCode: time 7.81e-07/0.846, allocations: 0 / 0.6638 GB, free: 2.051 MB / 478.1 MB Notification: Performance of Templates: time 0.01074/0.8567, allocations: 6.188 MB / 0.6698 GB, free: 14.12 MB / 494.1 MB make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.makefile make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValve.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.CheckValveCalcHelperMain.o OMCppThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermofluidStream_ThermofluidStream.FlowControl.Tests.CheckValveCalcHelperMain.o] Error 1