Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve") translateModel(IBPSA.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007475/0.0007475, allocations: 96.59 kB / 16.33 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008572/0.0008573, allocations: 183.1 kB / 17.22 MB, free: 6.285 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.501/1.501, allocations: 223.2 MB / 241.2 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6694/0.6694, allocations: 114.4 MB / 406.7 MB, free: 4 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003541, allocations: 8 kB / 494.4 MB, free: 8.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2046, allocations: 77.27 MB / 0.5583 GB, free: 10.95 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.01936/0.224, allocations: 19.01 MB / 0.5769 GB, free: 7.883 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006844/0.2309, allocations: 4.643 MB / 0.5814 GB, free: 3.234 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006923/0.2316, allocations: 19.81 kB / 0.5814 GB, free: 3.215 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007251/0.2324, allocations: 194.7 kB / 0.5816 GB, free: 3.023 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001901/0.2343, allocations: 0.6488 MB / 0.5822 GB, free: 2.371 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001796/0.2361, allocations: 0.6064 MB / 0.5828 GB, free: 1.773 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001801/0.2379, allocations: 1.551 MB / 0.5844 GB, free: 224 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4241/0.6621, allocations: 330.5 kB / 0.5847 GB, free: 12.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00168/0.6638, allocations: 0.4956 MB / 0.5852 GB, free: 12.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009159/0.6647, allocations: 422.6 kB / 0.5856 GB, free: 12.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.951e-05/0.6648, allocations: 21.31 kB / 0.5856 GB, free: 12.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.6663, allocations: 0.5251 MB / 0.5861 GB, free: 12.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001845/0.6665, allocations: 100.6 kB / 0.5862 GB, free: 12.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002454/0.6668, allocations: 128.2 kB / 0.5863 GB, free: 12.47 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.6678, allocations: 0.5621 MB / 0.5869 GB, free: 12.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.6678, allocations: 1.312 kB / 0.5869 GB, free: 12.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6678, allocations: 1.156 kB / 0.5869 GB, free: 12.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.6679, allocations: 1.312 kB / 0.5869 GB, free: 12.45 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001838/0.6697, allocations: 0.8359 MB / 0.5877 GB, free: 27.91 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.6698, allocations: 8.844 kB / 0.5877 GB, free: 27.91 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/0.6699, allocations: 63.23 kB / 0.5877 GB, free: 27.88 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006608/0.6706, allocations: 433 kB / 0.5882 GB, free: 27.62 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.41e-05/0.6706, allocations: 25.38 kB / 0.5882 GB, free: 27.62 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.866e-05/0.6707, allocations: 35.12 kB / 0.5882 GB, free: 27.62 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000754/0.6714, allocations: 320.7 kB / 0.5885 GB, free: 27.59 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.6715, allocations: 0 / 0.5885 GB, free: 27.59 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.6715, allocations: 16.66 kB / 0.5885 GB, free: 27.58 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.6715, allocations: 6.531 kB / 0.5885 GB, free: 27.58 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006812/0.6722, allocations: 282.8 kB / 0.5888 GB, free: 27.58 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002269/0.6745, allocations: 1.346 MB / 0.5901 GB, free: 26.91 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005866/0.6751, allocations: 267.2 kB / 0.5904 GB, free: 26.88 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003474/0.6754, allocations: 151.8 kB / 0.5905 GB, free: 26.86 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003643/0.6758, allocations: 0.4971 MB / 0.591 GB, free: 26.3 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.6758, allocations: 33.64 kB / 0.591 GB, free: 26.26 MB / 462.1 MB Notification: Performance of pre-optimization done (n=25): time 2.134e-06/0.6759, allocations: 0 / 0.591 GB, free: 26.26 MB / 462.1 MB Notification: Performance of matching and sorting (n=25): time 0.001803/0.6777, allocations: 0.5884 MB / 0.5916 GB, free: 26.09 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.6777, allocations: 58.58 kB / 0.5917 GB, free: 26.02 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007142/0.6784, allocations: 457.9 kB / 0.5921 GB, free: 25.9 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.926e-05/0.6785, allocations: 33.23 kB / 0.5921 GB, free: 25.87 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/0.6787, allocations: 249.1 kB / 0.5924 GB, free: 25.76 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.432e-05/0.6788, allocations: 82.95 kB / 0.5925 GB, free: 25.7 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.909e-05/0.6788, allocations: 10.84 kB / 0.5925 GB, free: 25.7 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002471/0.6791, allocations: 356.4 kB / 0.5928 GB, free: 25.39 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003368/0.6794, allocations: 122.9 kB / 0.5929 GB, free: 25.39 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003803/0.6798, allocations: 189.4 kB / 0.5931 GB, free: 25.34 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003628/0.6802, allocations: 149.3 kB / 0.5932 GB, free: 25.33 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.6802, allocations: 0 / 0.5932 GB, free: 25.33 MB / 462.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001061/0.6812, allocations: 431.7 kB / 0.5937 GB, free: 25.26 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.827e-05/0.6813, allocations: 113.7 kB / 0.5938 GB, free: 25.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.6813, allocations: 0.7188 kB / 0.5938 GB, free: 25.14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003367/0.6817, allocations: 50.23 kB / 0.5938 GB, free: 25.14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003815/0.6821, allocations: 76.78 kB / 0.5939 GB, free: 25.14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000564/0.6826, allocations: 0.5641 MB / 0.5944 GB, free: 24.62 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005689/0.6832, allocations: 69.44 kB / 0.5945 GB, free: 24.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.863e-05/0.6833, allocations: 14.97 kB / 0.5945 GB, free: 24.6 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.6833, allocations: 3.656 kB / 0.5945 GB, free: 24.6 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007997/0.6841, allocations: 321 kB / 0.5948 GB, free: 24.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.6841, allocations: 0 / 0.5948 GB, free: 24.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.883e-06/0.6841, allocations: 6.797 kB / 0.5948 GB, free: 24.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004032/0.6845, allocations: 83.11 kB / 0.5949 GB, free: 24.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.6846, allocations: 2.969 kB / 0.5949 GB, free: 24.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004479/0.685, allocations: 66.23 kB / 0.595 GB, free: 24.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.504e-05/0.6851, allocations: 12.38 kB / 0.595 GB, free: 24.57 MB / 462.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * 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: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003512/0.6854, allocations: 252.7 kB / 0.5952 GB, free: 24.38 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.427e-05/0.6855, allocations: 53.09 kB / 0.5953 GB, free: 24.35 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.6866, allocations: 438.6 kB / 0.5957 GB, free: 24.28 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/0.6866, allocations: 3.938 kB / 0.5957 GB, free: 24.28 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.6866, allocations: 0.875 kB / 0.5957 GB, free: 24.28 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.6866, allocations: 1.406 kB / 0.5957 GB, free: 24.28 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/0.6884, allocations: 0.9668 MB / 0.5967 GB, free: 23.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/0.6884, allocations: 6.375 kB / 0.5967 GB, free: 23.92 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/0.6886, allocations: 51.14 kB / 0.5967 GB, free: 23.92 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001945/0.6888, allocations: 42.7 kB / 0.5968 GB, free: 23.91 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.6889, allocations: 8.875 kB / 0.5968 GB, free: 23.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003946/0.6893, allocations: 0.5634 MB / 0.5973 GB, free: 23.39 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.6893, allocations: 1.656 kB / 0.5973 GB, free: 23.39 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009631/0.6903, allocations: 0.5043 MB / 0.5978 GB, free: 23.19 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002264/0.6905, allocations: 167.5 kB / 0.598 GB, free: 23.06 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.352e-05/0.6906, allocations: 7.312 kB / 0.598 GB, free: 23.06 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003642/0.6909, allocations: 38.11 kB / 0.598 GB, free: 23.06 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.228e-05/0.691, allocations: 33.16 kB / 0.598 GB, free: 23.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.538e-05/0.6911, allocations: 14.02 kB / 0.5981 GB, free: 23.05 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005354/0.6916, allocations: 316.5 kB / 0.5984 GB, free: 22.96 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6916, allocations: 0 / 0.5984 GB, free: 22.96 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001097/0.6927, allocations: 249.9 kB / 0.5986 GB, free: 22.93 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006798/0.6934, allocations: 255.8 kB / 0.5988 GB, free: 22.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001463/0.6949, allocations: 496.4 kB / 0.5993 GB, free: 22.79 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6949, allocations: 0 / 0.5993 GB, free: 22.79 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004893/0.6954, allocations: 180.5 kB / 0.5995 GB, free: 22.78 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/0.6968, allocations: 257.2 kB / 0.5997 GB, free: 22.77 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.6988, allocations: 1.006 MB / 0.6007 GB, free: 22.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006289/0.6994, allocations: 0.8563 MB / 0.6015 GB, free: 21.49 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/0.6996, allocations: 44.95 kB / 0.6016 GB, free: 21.48 MB / 462.1 MB Notification: Performance of SimCode: time 5.11e-07/0.6996, allocations: 0 / 0.6016 GB, free: 21.48 MB / 462.1 MB Notification: Performance of Templates: time 0.01817/0.7178, allocations: 10.21 MB / 0.6116 GB, free: 18.98 MB / 462.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.makefile make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValveCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValveCalcHelperMain.o] Error 1