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.001724/0.001724, 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.002165/0.002165, allocations: 197.8 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.365/2.365, allocations: 222.9 MB / 240.5 MB, free: 4.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004104/0.004105, allocations: 290.5 kB / 290.9 MB, free: 2.074 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.859/1.859, allocations: 169.2 MB / 0.4983 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003115/0.003116, allocations: 95.2 kB / 0.5951 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3103, allocations: 86.99 MB / 0.6801 GB, free: 1.219 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.008363/0.3187, allocations: 4.045 MB / 0.684 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003094/0.3191, allocations: 155.5 kB / 0.6842 GB, free: 13 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.042e-05/0.3191, allocations: 0 / 0.6842 GB, free: 13 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001388/0.3193, allocations: 4 kB / 0.6842 GB, free: 13 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.3194, allocations: 15.91 kB / 0.6842 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005472/0.32, allocations: 75.7 kB / 0.6843 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.3202, allocations: 63.81 kB / 0.6843 GB, free: 12.85 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.325e-05/0.3203, allocations: 3.984 kB / 0.6843 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.537e-05/0.3203, allocations: 12 kB / 0.6843 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.3204, allocations: 15.92 kB / 0.6843 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.3205, allocations: 4 kB / 0.6844 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003024/0.3208, allocations: 71.77 kB / 0.6844 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.005e-05/0.3209, allocations: 11.94 kB / 0.6844 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.798e-05/0.3209, allocations: 4 kB / 0.6844 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.3211, allocations: 44.17 kB / 0.6845 GB, free: 12.68 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.3212, allocations: 4 kB / 0.6845 GB, free: 12.68 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.3212, allocations: 0 / 0.6845 GB, free: 12.68 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.3212, allocations: 0 / 0.6845 GB, free: 12.68 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.0005468/0.3217, allocations: 327.6 kB / 0.6848 GB, free: 12.31 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.3218, allocations: 8.031 kB / 0.6848 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.338e-05/0.3219, allocations: 8.844 kB / 0.6848 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.322, allocations: 168.3 kB / 0.685 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.898e-05/0.3221, allocations: 26.27 kB / 0.685 GB, free: 12.06 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.3222, allocations: 4.375 kB / 0.685 GB, free: 12.06 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.3223, allocations: 45.62 kB / 0.685 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.3224, allocations: 3.938 kB / 0.685 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.3224, allocations: 4 kB / 0.6851 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.69e-05/0.3224, allocations: 4 kB / 0.6851 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.245e-05/0.3225, allocations: 11.98 kB / 0.6851 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006484/0.3232, allocations: 338 kB / 0.6854 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.54e-05/0.3232, allocations: 22.52 kB / 0.6854 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.585e-05/0.3233, allocations: 8.859 kB / 0.6854 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001215/0.3234, allocations: 85.17 kB / 0.6855 GB, free: 11.44 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.96e-05/0.3235, allocations: 42.48 kB / 0.6855 GB, free: 11.39 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.613e-06/0.3235, allocations: 0 / 0.6855 GB, free: 11.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002072/0.3237, allocations: 33.7 kB / 0.6856 GB, free: 11.35 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.3237, allocations: 51.41 kB / 0.6856 GB, free: 11.29 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.3239, allocations: 106 kB / 0.6857 GB, free: 11.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.3239, allocations: 25.7 kB / 0.6857 GB, free: 11.14 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.711e-05/0.324, allocations: 88.05 kB / 0.6858 GB, free: 11.05 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.669e-06/0.324, allocations: 3.906 kB / 0.6858 GB, free: 11.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.3241, allocations: 17.72 kB / 0.6859 GB, free: 11.03 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.3242, allocations: 318.8 kB / 0.6862 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.144e-05/0.3243, allocations: 4 kB / 0.6862 GB, free: 10.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.801e-05/0.3243, allocations: 21.66 kB / 0.6862 GB, free: 10.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.885e-05/0.3244, allocations: 17.72 kB / 0.6862 GB, free: 10.65 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.3244, allocations: 0 / 0.6862 GB, free: 10.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001199/0.3245, allocations: 53.91 kB / 0.6862 GB, free: 10.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.3245, allocations: 4 kB / 0.6863 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.3246, allocations: 4 kB / 0.6863 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.3246, allocations: 0 / 0.6863 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.806e-05/0.3247, allocations: 11.98 kB / 0.6863 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.3247, allocations: 4.062 kB / 0.6863 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.068e-05/0.3247, allocations: 3.984 kB / 0.6863 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.3248, allocations: 0 / 0.6863 GB, free: 10.57 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 0.0001099/0.3249, allocations: 119.1 kB / 0.6864 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.176e-05/0.3249, allocations: 0 / 0.6864 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006606/0.3256, allocations: 124.8 kB / 0.6865 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.491e-05/0.3257, allocations: 180.3 kB / 0.6867 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.123e-05/0.3258, allocations: 188.2 kB / 0.6869 GB, free: 9.938 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.991e-05/0.3259, allocations: 176.3 kB / 0.687 GB, free: 9.758 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003307/0.3262, allocations: 409.2 kB / 0.6874 GB, free: 9.301 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-05/0.3263, allocations: 104.9 kB / 0.6875 GB, free: 9.191 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.348e-05/0.3264, allocations: 105 kB / 0.6876 GB, free: 9.082 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.721e-05/0.3265, allocations: 184.2 kB / 0.6878 GB, free: 8.895 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.009e-05/0.3266, allocations: 180.3 kB / 0.688 GB, free: 8.711 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.327e-05/0.3267, allocations: 176.3 kB / 0.6881 GB, free: 8.531 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.539e-05/0.3268, allocations: 180.2 kB / 0.6883 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001904/0.327, allocations: 319.6 kB / 0.6886 GB, free: 8.012 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.3271, allocations: 186.3 kB / 0.6888 GB, free: 7.805 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.3272, allocations: 176.3 kB / 0.689 GB, free: 7.625 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.3274, allocations: 120.9 kB / 0.6891 GB, free: 7.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.493e-05/0.3275, allocations: 180.2 kB / 0.6892 GB, free: 7.316 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.491e-05/0.3276, allocations: 104.9 kB / 0.6893 GB, free: 7.207 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.048e-05/0.3277, allocations: 87.27 kB / 0.6894 GB, free: 7.121 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3277, allocations: 0 / 0.6894 GB, free: 7.121 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004018/0.3281, allocations: 23.94 kB / 0.6894 GB, free: 7.098 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.0003191/0.3284, allocations: 202.4 kB / 0.6896 GB, free: 6.891 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.813e-05/0.3285, allocations: 4 kB / 0.6896 GB, free: 6.887 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.3285, allocations: 4.125 kB / 0.6896 GB, free: 6.883 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.598e-06/0.3285, allocations: 4 kB / 0.6897 GB, free: 6.879 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006263/0.3292, allocations: 0.5258 MB / 0.6902 GB, free: 6.352 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004212/0.3296, allocations: 205.4 kB / 0.6904 GB, free: 6.117 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.33, allocations: 0.6809 MB / 0.691 GB, free: 5.41 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.766e-05/0.33, allocations: 7.438 kB / 0.691 GB, free: 5.406 MB / 494.1 MB Notification: Performance of SimCode: time 4.81e-07/0.33, allocations: 0 / 0.691 GB, free: 5.406 MB / 494.1 MB Notification: Performance of Templates: time 0.003141/0.3332, allocations: 0.7395 MB / 0.6918 GB, free: 4.672 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