Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007358/0.0007359, allocations: 92.16 kB / 16.02 MB, free: 80 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.0007757/0.0007757, allocations: 182.5 kB / 16.92 MB, free: 6.922 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.299/1.299, allocations: 223.2 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.719/0.719, allocations: 132.3 MB / 424.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.0003289, allocations: 8 kB / 0.5046 GB, free: 3.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.395, allocations: 81.59 MB / 0.5843 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004481/0.3996, allocations: 3.681 MB / 0.5879 GB, free: 1.328 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001919/0.3998, allocations: 160.6 kB / 0.588 GB, free: 1.215 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.82e-05/0.3998, allocations: 4.938 kB / 0.588 GB, free: 1.211 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.3999, allocations: 0.75 kB / 0.588 GB, free: 1.211 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.406e-05/0.4, allocations: 13.78 kB / 0.588 GB, free: 1.203 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.4004, allocations: 73.36 kB / 0.5881 GB, free: 1.168 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.4005, allocations: 58.56 kB / 0.5882 GB, free: 1.152 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.381e-05/0.4005, allocations: 1.922 kB / 0.5882 GB, free: 1.152 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.544e-05/0.4006, allocations: 23.31 kB / 0.5882 GB, free: 1.141 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.881e-05/0.4007, allocations: 17.31 kB / 0.5882 GB, free: 1.133 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.4007, allocations: 0 / 0.5882 GB, free: 1.133 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000222/0.4009, allocations: 74.09 kB / 0.5883 GB, free: 1.105 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.752e-05/0.401, allocations: 4.156 kB / 0.5883 GB, free: 1.105 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.032e-05/0.401, allocations: 39.44 kB / 0.5883 GB, free: 1.066 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.4012, allocations: 32.31 kB / 0.5884 GB, free: 1.059 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.4012, allocations: 0 / 0.5884 GB, free: 1.059 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4012, allocations: 1.469 kB / 0.5884 GB, free: 1.059 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.4012, allocations: 0 / 0.5884 GB, free: 1.059 MB / 430.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.0003454/0.4015, allocations: 333.3 kB / 0.5887 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.4016, allocations: 10.75 kB / 0.5887 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/0.4016, allocations: 2 kB / 0.5887 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.864e-05/0.4017, allocations: 166.2 kB / 0.5888 GB, free: 0.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.634e-05/0.4018, allocations: 29.3 kB / 0.5889 GB, free: 480 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.4018, allocations: 2.062 kB / 0.5889 GB, free: 480 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.402, allocations: 47.98 kB / 0.5889 GB, free: 440 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.402, allocations: 4.469 kB / 0.5889 GB, free: 436 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.402, allocations: 8.812 kB / 0.5889 GB, free: 428 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/0.402, allocations: 1.562 kB / 0.5889 GB, free: 428 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.591e-05/0.4021, allocations: 16.66 kB / 0.5889 GB, free: 424 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004145/0.4025, allocations: 336.2 kB / 0.5893 GB, free: 44 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.352e-05/0.4026, allocations: 17.23 kB / 0.5893 GB, free: 20 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.36e-05/0.4026, allocations: 8.188 kB / 0.5893 GB, free: 12 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001165/0.4027, allocations: 87.67 kB / 0.5894 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.4027, allocations: 39.2 kB / 0.5894 GB, free: 15.87 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.4028, allocations: 0 / 0.5894 GB, free: 15.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.000155/0.4029, allocations: 37.72 kB / 0.5894 GB, free: 15.83 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.403, allocations: 52.02 kB / 0.5895 GB, free: 15.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.648e-05/0.4031, allocations: 103 kB / 0.5896 GB, free: 15.67 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.4031, allocations: 27.2 kB / 0.5896 GB, free: 15.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.173e-05/0.4032, allocations: 92.77 kB / 0.5897 GB, free: 15.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.703e-06/0.4032, allocations: 5.766 kB / 0.5897 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.431e-05/0.4032, allocations: 11.75 kB / 0.5897 GB, free: 15.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.4034, allocations: 319.7 kB / 0.59 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.583e-05/0.4034, allocations: 3.547 kB / 0.59 GB, free: 15.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.097e-05/0.4034, allocations: 19.19 kB / 0.5901 GB, free: 15.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.756e-05/0.4035, allocations: 24.73 kB / 0.5901 GB, free: 15.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.4035, allocations: 1.375 kB / 0.5901 GB, free: 15.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.751e-05/0.4036, allocations: 49.31 kB / 0.5901 GB, free: 15.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.4036, allocations: 7.344 kB / 0.5901 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.4036, allocations: 1.25 kB / 0.5901 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.4036, allocations: 1.672 kB / 0.5901 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.503e-05/0.4037, allocations: 4.859 kB / 0.5901 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.4037, allocations: 2.312 kB / 0.5901 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.058e-05/0.4037, allocations: 3.938 kB / 0.5901 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.4037, allocations: 6.891 kB / 0.5902 GB, free: 15.11 MB / 446.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.922e-05/0.4038, allocations: 113.6 kB / 0.5903 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.4038, allocations: 3.906 kB / 0.5903 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.404, allocations: 122.6 kB / 0.5904 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.103e-05/0.404, allocations: 177.8 kB / 0.5906 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-05/0.4041, allocations: 182 kB / 0.5907 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.407e-05/0.4042, allocations: 182.2 kB / 0.5909 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002609/0.4045, allocations: 415.7 kB / 0.5913 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-05/0.4045, allocations: 106.4 kB / 0.5914 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.883e-05/0.4046, allocations: 103 kB / 0.5915 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-05/0.4047, allocations: 181.6 kB / 0.5917 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001059/0.4048, allocations: 187 kB / 0.5918 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.465e-05/0.4049, allocations: 177.5 kB / 0.592 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001158/0.405, allocations: 181.7 kB / 0.5922 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.4052, allocations: 309.9 kB / 0.5925 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.968e-05/0.4053, allocations: 182 kB / 0.5927 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.956e-05/0.4054, allocations: 182.5 kB / 0.5928 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.4056, allocations: 111.3 kB / 0.5929 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.548e-05/0.4057, allocations: 181.6 kB / 0.5931 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.334e-05/0.4057, allocations: 106.3 kB / 0.5932 GB, free: 11.81 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.279e-05/0.4058, allocations: 86.28 kB / 0.5933 GB, free: 11.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.703e-06/0.4058, allocations: 0.9688 kB / 0.5933 GB, free: 11.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002416/0.406, allocations: 20.83 kB / 0.5933 GB, free: 11.73 MB / 446.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.0003297/0.4064, allocations: 195.8 kB / 0.5935 GB, free: 11.56 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.536e-05/0.4065, allocations: 12.11 kB / 0.5935 GB, free: 11.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4065, allocations: 0 / 0.5935 GB, free: 11.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.4065, allocations: 1.906 kB / 0.5935 GB, free: 11.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004713/0.407, allocations: 0.5264 MB / 0.594 GB, free: 11.03 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003528/0.4073, allocations: 215.2 kB / 0.5942 GB, free: 10.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.4077, allocations: 0.6742 MB / 0.5949 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.37e-05/0.4077, allocations: 13.59 kB / 0.5949 GB, free: 10.11 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4077, allocations: 0.625 kB / 0.5949 GB, free: 10.11 MB / 446.1 MB Notification: Performance of Templates: time 0.002969/0.4107, allocations: 0.7376 MB / 0.5956 GB, free: 10.06 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile make -j1 -f IDEAS_IDEAS.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 OMCppIDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversionCalcHelperMain.o OMCppIDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversionCalcHelperMain.o] Error 1