Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 96.14 kB / 15.87 MB, free: 16 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.001381/0.001381, allocations: 192.9 kB / 16.79 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.957/1.957, allocations: 205.1 MB / 222.6 MB, free: 5.012 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.77/1.77, allocations: 292.3 MB / 0.5491 GB, free: 13.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 65.53 kB / 0.6714 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.282, allocations: 114.5 MB / 0.7833 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005678/0.2877, allocations: 4.058 MB / 0.7873 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002115/0.288, allocations: 151.5 kB / 0.7874 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.932e-05/0.288, allocations: 0 / 0.7874 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.2881, allocations: 8 kB / 0.7874 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.673e-05/0.2882, allocations: 11.91 kB / 0.7874 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002821/0.2885, allocations: 67.78 kB / 0.7875 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.372e-05/0.2886, allocations: 59.81 kB / 0.7876 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.072e-05/0.2887, allocations: 4 kB / 0.7876 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.641e-05/0.2887, allocations: 7.984 kB / 0.7876 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.575e-05/0.2888, allocations: 19.91 kB / 0.7876 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.2888, allocations: 0 / 0.7876 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002324/0.289, allocations: 71.8 kB / 0.7877 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.027e-05/0.2891, allocations: 7.984 kB / 0.7877 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.077e-05/0.2891, allocations: 15.92 kB / 0.7877 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.949e-05/0.2892, allocations: 28.27 kB / 0.7877 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2893, allocations: 0 / 0.7877 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.42e-07/0.2893, allocations: 0 / 0.7877 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.2893, allocations: 0 / 0.7877 GB, free: 9.523 MB / 0.6075 GB 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.0004485/0.2897, allocations: 339.5 kB / 0.788 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.2898, allocations: 12.02 kB / 0.788 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.834e-05/0.2898, allocations: 0.9375 kB / 0.788 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.2899, allocations: 164.4 kB / 0.7882 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.357e-05/0.29, allocations: 30.2 kB / 0.7882 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.29, allocations: 8.312 kB / 0.7882 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.2902, allocations: 49.62 kB / 0.7883 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.2902, allocations: 0 / 0.7883 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.2902, allocations: 0 / 0.7883 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.255e-05/0.2902, allocations: 3.984 kB / 0.7883 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.576e-05/0.2903, allocations: 16 kB / 0.7883 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004677/0.2908, allocations: 334 kB / 0.7886 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.045e-05/0.2908, allocations: 26.52 kB / 0.7886 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.474e-05/0.2908, allocations: 4.859 kB / 0.7886 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-05/0.2909, allocations: 85.16 kB / 0.7887 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.291, allocations: 34.56 kB / 0.7888 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.291, allocations: 0 / 0.7888 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001443/0.2911, allocations: 37.61 kB / 0.7888 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.2912, allocations: 55.53 kB / 0.7888 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.171e-05/0.2913, allocations: 109.7 kB / 0.789 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.2913, allocations: 25.7 kB / 0.789 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.089e-05/0.2914, allocations: 84.14 kB / 0.7891 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.494e-06/0.2914, allocations: 7.906 kB / 0.7891 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.2914, allocations: 13.7 kB / 0.7891 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.2915, allocations: 326.7 kB / 0.7894 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.403e-05/0.2916, allocations: 0 / 0.7894 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.769e-05/0.2916, allocations: 25.7 kB / 0.7894 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.225e-05/0.2916, allocations: 21.72 kB / 0.7894 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2917, allocations: 0 / 0.7894 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.403e-05/0.2918, allocations: 49.62 kB / 0.7895 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.2918, allocations: 8 kB / 0.7895 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.2918, allocations: 4 kB / 0.7895 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.2918, allocations: 4.062 kB / 0.7895 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.308e-05/0.2919, allocations: 4 kB / 0.7895 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.2919, allocations: 0 / 0.7895 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.983e-05/0.2919, allocations: 4 kB / 0.7895 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.2919, allocations: 288 / 0.7895 GB, free: 7.398 MB / 0.6075 GB 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.798e-05/0.292, allocations: 121.7 kB / 0.7896 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.292, allocations: 3.906 kB / 0.7896 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.2921, allocations: 121 kB / 0.7897 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.3e-05/0.2922, allocations: 180.3 kB / 0.7899 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-05/0.2923, allocations: 184.2 kB / 0.7901 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.076e-05/0.2924, allocations: 180.3 kB / 0.7903 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002572/0.2926, allocations: 409.1 kB / 0.7906 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.841e-05/0.2927, allocations: 101 kB / 0.7907 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.98e-05/0.2927, allocations: 109 kB / 0.7908 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.139e-05/0.2928, allocations: 180.2 kB / 0.791 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.507e-05/0.2929, allocations: 184.2 kB / 0.7912 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.217e-05/0.293, allocations: 184.2 kB / 0.7914 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.001e-05/0.2931, allocations: 180.3 kB / 0.7915 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.2933, allocations: 311.7 kB / 0.7918 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.2934, allocations: 182.1 kB / 0.792 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.2935, allocations: 184.2 kB / 0.7922 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.2936, allocations: 105 kB / 0.7923 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.112e-05/0.2937, allocations: 188.5 kB / 0.7925 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.451e-05/0.2938, allocations: 105 kB / 0.7926 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.608e-05/0.2938, allocations: 83.28 kB / 0.7927 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2938, allocations: 0 / 0.7927 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002573/0.2941, allocations: 19.94 kB / 0.7927 GB, free: 3.934 MB / 0.6075 GB 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.0002832/0.2944, allocations: 198.4 kB / 0.7929 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.391e-05/0.2945, allocations: 23.97 kB / 0.7929 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2945, allocations: 0 / 0.7929 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.2945, allocations: 0 / 0.7929 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.2949, allocations: 0.5252 MB / 0.7934 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002943/0.2952, allocations: 217.5 kB / 0.7936 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.2955, allocations: 0.6692 MB / 0.7943 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.903e-05/0.2955, allocations: 11.44 kB / 0.7943 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2955, allocations: 0 / 0.7943 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of Templates: time 0.002028/0.2976, allocations: 0.7238 MB / 0.795 GB, free: 1.512 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile make -j1 -f Buildings_8_Buildings.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 OMCppBuildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversionCalcHelperMain.o OMCppBuildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversionCalcHelperMain.o] Error 1