Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.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.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck") translateModel(BuildingSystems.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001544, 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.002127/0.002126, allocations: 195.3 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.829/2.829, allocations: 222.9 MB / 240.5 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003561/0.00356, allocations: 286.8 kB / 290.9 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.342/1.342, allocations: 169.2 MB / 0.4983 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 87.5 kB / 0.5951 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1864, allocations: 86.98 MB / 0.6801 GB, free: 1.203 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.002668/0.1892, allocations: 1.321 MB / 0.6814 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.6956/0.8848, allocations: 135.7 MB / 0.8139 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.899e-05/0.8849, allocations: 3.938 kB / 0.8139 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.048e-05/0.8849, allocations: 0 / 0.8139 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.786e-05/0.8851, allocations: 2.719 kB / 0.8139 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002598/0.8877, allocations: 377.8 kB / 0.8143 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.8878, allocations: 41.25 kB / 0.8143 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.116e-05/0.8879, allocations: 0 / 0.8143 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.672e-05/0.888, allocations: 22.56 kB / 0.8143 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.8881, allocations: 20.19 kB / 0.8143 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.8882, allocations: 2.375 kB / 0.8143 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00357/0.8918, allocations: 0.8211 MB / 0.8151 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.056e-05/0.8918, allocations: 12.44 kB / 0.8151 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.638e-05/0.8919, allocations: 21.17 kB / 0.8152 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000937/0.8929, allocations: 301.6 kB / 0.8155 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.361e-06/0.8929, allocations: 3.094 kB / 0.8155 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.495e-06/0.8929, allocations: 0 / 0.8155 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.8929, allocations: 0 / 0.8155 GB, free: 1.887 MB / 0.5606 GB 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.001123/0.8941, allocations: 363.1 kB / 0.8158 GB, free: 17.53 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.137e-05/0.8941, allocations: 10.94 kB / 0.8158 GB, free: 17.53 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000348/0.8945, allocations: 9.984 kB / 0.8158 GB, free: 17.53 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.8947, allocations: 170.2 kB / 0.816 GB, free: 17.33 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.8947, allocations: 8 kB / 0.816 GB, free: 17.32 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.125e-05/0.8948, allocations: 3.781 kB / 0.816 GB, free: 17.32 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002975/0.8951, allocations: 57.34 kB / 0.8161 GB, free: 17.29 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.8952, allocations: 0 / 0.8161 GB, free: 17.29 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.8952, allocations: 1.875 kB / 0.8161 GB, free: 17.29 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.8952, allocations: 0 / 0.8161 GB, free: 17.29 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.8953, allocations: 26.48 kB / 0.8161 GB, free: 17.29 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002623/0.8956, allocations: 164.8 kB / 0.8162 GB, free: 17.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.8958, allocations: 56.36 kB / 0.8163 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.768e-05/0.8959, allocations: 15.16 kB / 0.8163 GB, free: 17.06 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01985/0.9157, allocations: 3.165 MB / 0.8194 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.023e-05/0.9158, allocations: 36.22 kB / 0.8194 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 3.837e-06/0.9159, allocations: 0.5 kB / 0.8194 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.08011/0.996, allocations: 14.88 MB / 0.834 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.905e-05/0.9961, allocations: 51.41 kB / 0.834 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.9963, allocations: 92.39 kB / 0.8341 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.981e-05/0.9963, allocations: 29.39 kB / 0.8341 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.934e-05/0.9964, allocations: 83.98 kB / 0.8342 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.099e-05/0.9965, allocations: 43.14 kB / 0.8342 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.831e-05/0.9966, allocations: 31 kB / 0.8343 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002253/0.9968, allocations: 320.3 kB / 0.8346 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.041e-05/0.9969, allocations: 23.17 kB / 0.8346 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.823e-05/0.997, allocations: 23.78 kB / 0.8346 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002163/0.9973, allocations: 67.09 kB / 0.8347 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.9973, allocations: 0 / 0.8347 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003852/0.9977, allocations: 113.3 kB / 0.8348 GB, free: 12 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.261e-05/0.9977, allocations: 7.062 kB / 0.8348 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.9977, allocations: 0 / 0.8348 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/0.9978, allocations: 4 kB / 0.8348 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.998, allocations: 24.02 kB / 0.8348 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/0.998, allocations: 3.984 kB / 0.8348 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.23e-05/0.9981, allocations: 6.469 kB / 0.8348 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.9981, allocations: 1.844 kB / 0.8348 GB, free: 11.99 MB / 0.5762 GB 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 (14): * Single equations (assignments): 14 * 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.0002231/0.9984, allocations: 126 kB / 0.835 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.444e-05/0.9985, allocations: 3 kB / 0.835 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005109/0.999, allocations: 124.5 kB / 0.8351 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/0.999, allocations: 2.812 kB / 0.8351 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.999, allocations: 1.094 kB / 0.8351 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.9991, allocations: 0 / 0.8351 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/0.9993, allocations: 183.8 kB / 0.8353 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.9994, allocations: 0 / 0.8353 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/0.9996, allocations: 31.52 kB / 0.8353 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.9996, allocations: 4 kB / 0.8353 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.9996, allocations: 6.031 kB / 0.8353 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.9997, allocations: 0 / 0.8353 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.9997, allocations: 0 / 0.8353 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005381/1, allocations: 153.4 kB / 0.8355 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/1, allocations: 91.2 kB / 0.8355 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/1, allocations: 3.5 kB / 0.8355 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/1.001, allocations: 19.77 kB / 0.8356 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/1.001, allocations: 9.766 kB / 0.8356 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/1.001, allocations: 5.062 kB / 0.8356 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.802e-05/1.001, allocations: 75.28 kB / 0.8356 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.5e-07/1.001, allocations: 0 / 0.8356 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003729/1.005, allocations: 0.5648 MB / 0.8362 GB, free: 11.29 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,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 (11): * Single equations (assignments): 11 * 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.007264/1.012, allocations: 360.4 kB / 0.8365 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004182/1.012, allocations: 67.67 kB / 0.8366 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.854e-06/1.012, allocations: 1.094 kB / 0.8366 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001538/1.013, allocations: 37.05 kB / 0.8366 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/1.013, allocations: 10.25 kB / 0.8367 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/1.014, allocations: 391.1 kB / 0.837 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/1.015, allocations: 0.6831 MB / 0.8377 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.823e-05/1.015, allocations: 20.5 kB / 0.8377 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of SimCode: time 3.91e-07/1.015, allocations: 4 kB / 0.8377 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.04735/1.062, allocations: 14.34 MB / 0.8517 GB, free: 1.547 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.makefile make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.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.SteamDerivativeCheckCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheckCalcHelperMain.o] Error 1