Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 92.16 kB / 16.02 MB, free: 76 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.0014/0.0014, allocations: 182.8 kB / 16.92 MB, free: 6.926 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.358/1.358, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001816/0.001817, allocations: 262.4 kB / 292.3 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.905/0.905, allocations: 169.5 MB / 0.501 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004684/0.0004685, allocations: 15 kB / 0.5993 GB, free: 27.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.184, allocations: 88.54 MB / 0.6858 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004253/0.1883, allocations: 3.686 MB / 0.6894 GB, free: 11.43 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001764/0.1886, allocations: 148.6 kB / 0.6895 GB, free: 11.29 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.39e-05/0.1886, allocations: 0 / 0.6895 GB, free: 11.29 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.619e-05/0.1887, allocations: 0.6875 kB / 0.6895 GB, free: 11.29 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.851e-05/0.1887, allocations: 23.12 kB / 0.6895 GB, free: 11.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.189, allocations: 75.7 kB / 0.6896 GB, free: 11.19 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.293e-05/0.1891, allocations: 55.83 kB / 0.6896 GB, free: 11.14 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.794e-05/0.1892, allocations: 4 kB / 0.6896 GB, free: 11.13 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.594e-05/0.1892, allocations: 19.91 kB / 0.6897 GB, free: 11.11 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.852e-05/0.1893, allocations: 13.3 kB / 0.6897 GB, free: 11.1 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.188e-06/0.1893, allocations: 3.938 kB / 0.6897 GB, free: 11.1 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001834/0.1895, allocations: 75.78 kB / 0.6898 GB, free: 11.02 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.473e-05/0.1895, allocations: 12.58 kB / 0.6898 GB, free: 11.01 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.626e-05/0.1896, allocations: 29.7 kB / 0.6898 GB, free: 10.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.836e-05/0.1897, allocations: 37.84 kB / 0.6898 GB, free: 10.94 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1897, allocations: 0 / 0.6898 GB, free: 10.94 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1897, allocations: 0 / 0.6898 GB, free: 10.94 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.1897, allocations: 0 / 0.6898 GB, free: 10.94 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003287/0.19, allocations: 324.5 kB / 0.6901 GB, free: 10.58 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1901, allocations: 12.03 kB / 0.6901 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.162e-05/0.1901, allocations: 5.594 kB / 0.6902 GB, free: 10.56 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.1902, allocations: 169.9 kB / 0.6903 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.458e-05/0.1903, allocations: 30.27 kB / 0.6903 GB, free: 10.32 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.1903, allocations: 384 / 0.6903 GB, free: 10.32 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.1904, allocations: 50.19 kB / 0.6904 GB, free: 10.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.1905, allocations: 0 / 0.6904 GB, free: 10.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.1905, allocations: 8 kB / 0.6904 GB, free: 10.26 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.1905, allocations: 0 / 0.6904 GB, free: 10.26 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.294e-05/0.1906, allocations: 11.98 kB / 0.6904 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004145/0.191, allocations: 338 kB / 0.6907 GB, free: 9.852 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.591e-05/0.191, allocations: 22.58 kB / 0.6908 GB, free: 9.82 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.387e-05/0.1911, allocations: 12.86 kB / 0.6908 GB, free: 9.805 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.637e-05/0.1911, allocations: 89.09 kB / 0.6909 GB, free: 9.699 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.1912, allocations: 30.56 kB / 0.6909 GB, free: 9.66 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1912, allocations: 0 / 0.6909 GB, free: 9.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001377/0.1913, allocations: 33.7 kB / 0.6909 GB, free: 9.621 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.1914, allocations: 51.41 kB / 0.691 GB, free: 9.559 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.19e-05/0.1915, allocations: 105.8 kB / 0.6911 GB, free: 9.445 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.1915, allocations: 25.7 kB / 0.6911 GB, free: 9.414 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.705e-05/0.1915, allocations: 92.17 kB / 0.6912 GB, free: 9.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.689e-06/0.1916, allocations: 0 / 0.6912 GB, free: 9.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.267e-05/0.1916, allocations: 9.719 kB / 0.6912 GB, free: 9.305 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1917, allocations: 326.7 kB / 0.6915 GB, free: 8.977 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.097e-05/0.1917, allocations: 0 / 0.6915 GB, free: 8.977 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.348e-05/0.1917, allocations: 17.91 kB / 0.6915 GB, free: 8.953 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.067e-05/0.1918, allocations: 21.72 kB / 0.6915 GB, free: 8.926 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1918, allocations: 4 kB / 0.6915 GB, free: 8.922 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.225e-05/0.1919, allocations: 53.53 kB / 0.6916 GB, free: 8.863 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1919, allocations: 9.719 kB / 0.6916 GB, free: 8.855 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1919, allocations: 0 / 0.6916 GB, free: 8.855 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.1919, allocations: 96 / 0.6916 GB, free: 8.855 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.079e-05/0.192, allocations: 7.984 kB / 0.6916 GB, free: 8.848 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.192, allocations: 3.938 kB / 0.6916 GB, free: 8.844 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.039e-05/0.192, allocations: 11.98 kB / 0.6916 GB, free: 8.832 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.192, allocations: 0 / 0.6916 GB, free: 8.832 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 7.533e-05/0.1921, allocations: 119.2 kB / 0.6917 GB, free: 8.707 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.1921, allocations: 3.938 kB / 0.6917 GB, free: 8.703 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.1922, allocations: 120.9 kB / 0.6919 GB, free: 8.578 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.651e-05/0.1923, allocations: 180.3 kB / 0.692 GB, free: 8.395 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-05/0.1924, allocations: 180.2 kB / 0.6922 GB, free: 8.211 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.285e-05/0.1924, allocations: 180.3 kB / 0.6924 GB, free: 8.027 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.1927, allocations: 413.1 kB / 0.6928 GB, free: 7.566 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.383e-05/0.1927, allocations: 101 kB / 0.6929 GB, free: 7.461 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-05/0.1928, allocations: 109 kB / 0.693 GB, free: 7.348 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.293e-05/0.1928, allocations: 180.2 kB / 0.6931 GB, free: 7.164 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.124e-05/0.1929, allocations: 176.3 kB / 0.6933 GB, free: 6.984 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.784e-05/0.1929, allocations: 184.2 kB / 0.6935 GB, free: 6.797 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.913e-05/0.193, allocations: 184.3 kB / 0.6937 GB, free: 6.609 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.1932, allocations: 307.7 kB / 0.6939 GB, free: 6.285 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.464e-05/0.1932, allocations: 186 kB / 0.6941 GB, free: 6.078 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.809e-05/0.1933, allocations: 196.4 kB / 0.6943 GB, free: 5.879 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.1935, allocations: 101 kB / 0.6944 GB, free: 5.773 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.625e-05/0.1935, allocations: 180.3 kB / 0.6946 GB, free: 5.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.593e-05/0.1936, allocations: 108.9 kB / 0.6947 GB, free: 5.477 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.578e-05/0.1936, allocations: 87.27 kB / 0.6948 GB, free: 5.391 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1936, allocations: 0 / 0.6948 GB, free: 5.391 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002332/0.1939, allocations: 19.94 kB / 0.6948 GB, free: 5.371 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.000221/0.1941, allocations: 202.4 kB / 0.695 GB, free: 5.164 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.362e-05/0.1942, allocations: 4 kB / 0.695 GB, free: 5.16 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.1942, allocations: 0 / 0.695 GB, free: 5.16 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.845e-06/0.1942, allocations: 3.938 kB / 0.695 GB, free: 5.156 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.1946, allocations: 0.5344 MB / 0.6955 GB, free: 4.621 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002561/0.1949, allocations: 221.5 kB / 0.6957 GB, free: 4.367 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.1951, allocations: 0.677 MB / 0.6964 GB, free: 3.664 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.747e-05/0.1951, allocations: 7.438 kB / 0.6964 GB, free: 3.656 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1951, allocations: 4 kB / 0.6964 GB, free: 3.652 MB / 494.1 MB Notification: Performance of Templates: time 0.001949/0.1971, allocations: 0.7397 MB / 0.6971 GB, free: 2.918 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.makefile make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversionCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversionCalcHelperMain.o] Error 1