Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck") translateModel(BuildingSystems.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001927/0.001927, allocations: 100.1 kB / 15.88 MB, free: 12 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.0028/0.0028, allocations: 198.7 kB / 16.79 MB, free: 6.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.017/2.017, allocations: 222.9 MB / 240.4 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002158/0.002158, allocations: 286.4 kB / 290.9 MB, free: 2.07 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.817/1.817, allocations: 169.2 MB / 0.4983 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003154/0.003154, allocations: 85.77 kB / 0.5951 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3872, allocations: 86.99 MB / 0.6801 GB, free: 1.188 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.007021/0.3943, allocations: 1.32 MB / 0.6814 GB, free: 15.87 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008387/0.4028, allocations: 3.234 MB / 0.6845 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.419e-05/0.4029, allocations: 0 / 0.6845 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.214e-05/0.4029, allocations: 0 / 0.6845 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.4031, allocations: 8.672 kB / 0.6845 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009654/0.4041, allocations: 95.61 kB / 0.6846 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.4042, allocations: 35.91 kB / 0.6846 GB, free: 12.49 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.185e-05/0.4042, allocations: 0 / 0.6846 GB, free: 12.49 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.615e-05/0.4044, allocations: 23.92 kB / 0.6847 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.4045, allocations: 11.98 kB / 0.6847 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.699e-05/0.4045, allocations: 7.938 kB / 0.6847 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004869/0.405, allocations: 71.8 kB / 0.6848 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.45e-05/0.4051, allocations: 11.92 kB / 0.6848 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.442e-05/0.4051, allocations: 19.98 kB / 0.6848 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004897/0.4057, allocations: 52.09 kB / 0.6848 GB, free: 12.29 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.4057, allocations: 0 / 0.6848 GB, free: 12.29 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.4057, allocations: 0 / 0.6848 GB, free: 12.29 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.4057, allocations: 0 / 0.6848 GB, free: 12.29 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008629/0.4066, allocations: 347.5 kB / 0.6852 GB, free: 11.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.506e-05/0.4067, allocations: 12.03 kB / 0.6852 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000217/0.4069, allocations: 8.844 kB / 0.6852 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.4071, allocations: 160.4 kB / 0.6853 GB, free: 11.69 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.4072, allocations: 8.375 kB / 0.6853 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.158e-05/0.4072, allocations: 4.375 kB / 0.6854 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.4075, allocations: 61.73 kB / 0.6854 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.4075, allocations: 7.984 kB / 0.6854 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.4075, allocations: 0 / 0.6854 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.4076, allocations: 4 kB / 0.6854 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.4077, allocations: 19.97 kB / 0.6854 GB, free: 11.58 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.408, allocations: 157.7 kB / 0.6856 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.4082, allocations: 54.56 kB / 0.6856 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.085e-05/0.4083, allocations: 24.72 kB / 0.6857 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001655/0.41, allocations: 0.5948 MB / 0.6862 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.481e-05/0.41, allocations: 34.56 kB / 0.6863 GB, free: 10.54 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 2.164e-06/0.41, allocations: 0 / 0.6863 GB, free: 10.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.001208/0.4113, allocations: 298.2 kB / 0.6866 GB, free: 10.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001677/0.4114, allocations: 51.41 kB / 0.6866 GB, free: 10.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.4116, allocations: 101.8 kB / 0.6867 GB, free: 10.03 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.4116, allocations: 33.64 kB / 0.6867 GB, free: 9.988 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000295/0.4119, allocations: 84.05 kB / 0.6868 GB, free: 9.902 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.787e-05/0.412, allocations: 35.61 kB / 0.6869 GB, free: 9.867 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.277e-05/0.4121, allocations: 25.72 kB / 0.6869 GB, free: 9.836 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002882/0.4124, allocations: 326.8 kB / 0.6872 GB, free: 9.508 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.134e-05/0.4125, allocations: 8 kB / 0.6872 GB, free: 9.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.4126, allocations: 57.08 kB / 0.6873 GB, free: 9.426 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.4128, allocations: 73.08 kB / 0.6873 GB, free: 9.336 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.4128, allocations: 0 / 0.6873 GB, free: 9.336 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002621/0.4131, allocations: 97.55 kB / 0.6874 GB, free: 9.234 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.4131, allocations: 4 kB / 0.6874 GB, free: 9.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.4131, allocations: 0 / 0.6874 GB, free: 9.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.4132, allocations: 4 kB / 0.6874 GB, free: 9.227 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.4133, allocations: 19.94 kB / 0.6874 GB, free: 9.207 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.769e-05/0.4133, allocations: 12.19 kB / 0.6875 GB, free: 9.195 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.069e-05/0.4134, allocations: 3.938 kB / 0.6875 GB, free: 9.191 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.4135, allocations: 7.984 kB / 0.6875 GB, free: 9.184 MB / 494.1 MB 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001604/0.4136, allocations: 115.2 kB / 0.6876 GB, free: 9.062 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.59e-05/0.4137, allocations: 7.906 kB / 0.6876 GB, free: 9.055 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.766e-05/0.4138, allocations: 8.25 kB / 0.6876 GB, free: 9.051 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.4138, allocations: 0 / 0.6876 GB, free: 9.051 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/0.4138, allocations: 0 / 0.6876 GB, free: 9.051 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/0.4138, allocations: 7.922 kB / 0.6876 GB, free: 9.043 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003961/0.4142, allocations: 178.1 kB / 0.6878 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.4143, allocations: 0 / 0.6878 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001473/0.4144, allocations: 27.92 kB / 0.6878 GB, free: 8.793 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.4144, allocations: 0 / 0.6878 GB, free: 8.793 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.4145, allocations: 0 / 0.6878 GB, free: 8.793 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.712e-06/0.4145, allocations: 0 / 0.6878 GB, free: 8.793 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4145, allocations: 3.938 kB / 0.6878 GB, free: 8.789 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003489/0.4148, allocations: 171.5 kB / 0.688 GB, free: 8.605 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.735e-05/0.415, allocations: 85.02 kB / 0.688 GB, free: 8.504 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.415, allocations: 11.94 kB / 0.6881 GB, free: 8.492 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.4152, allocations: 4.031 kB / 0.6881 GB, free: 8.488 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.4152, allocations: 4 kB / 0.6881 GB, free: 8.484 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.4152, allocations: 3.938 kB / 0.6881 GB, free: 8.48 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.764e-05/0.4153, allocations: 83.28 kB / 0.6881 GB, free: 8.398 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.866e-06/0.4153, allocations: 0 / 0.6881 GB, free: 8.398 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004383/0.4158, allocations: 11.94 kB / 0.6882 GB, free: 8.387 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002574/0.4161, allocations: 115.2 kB / 0.6883 GB, free: 8.262 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001872/0.4163, allocations: 39.92 kB / 0.6883 GB, free: 8.223 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.4163, allocations: 0 / 0.6883 GB, free: 8.223 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.884e-05/0.4163, allocations: 12 kB / 0.6883 GB, free: 8.211 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005546/0.4169, allocations: 10.06 kB / 0.6883 GB, free: 8.203 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.4183, allocations: 358.1 kB / 0.6887 GB, free: 7.82 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007276/0.4191, allocations: 0.6887 MB / 0.6893 GB, free: 7.105 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.56e-05/0.4191, allocations: 15.38 kB / 0.6894 GB, free: 7.09 MB / 494.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4192, allocations: 0 / 0.6894 GB, free: 7.09 MB / 494.1 MB Notification: Performance of Templates: time 0.005265/0.4244, allocations: 0.7691 MB / 0.6901 GB, free: 6.32 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.makefile make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheckCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheckCalcHelperMain.o] Error 1