Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0009406/0.0009407, allocations: 102.6 kB / 15.71 MB, free: 460 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.001198/0.001198, allocations: 176.2 kB / 16.58 MB, free: 6.402 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.549/1.549, allocations: 223.2 MB / 240.6 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.035/1.035, allocations: 135.3 MB / 427 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003526, allocations: 16.84 kB / 0.5076 GB, free: 5.164 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2279, allocations: 82.31 MB / 0.588 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005868/0.2339, allocations: 3.556 MB / 0.5915 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002559/0.2342, allocations: 143.7 kB / 0.5916 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.873e-05/0.2342, allocations: 0 / 0.5916 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.2344, allocations: 3.984 kB / 0.5916 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.2345, allocations: 19.92 kB / 0.5916 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000371/0.2349, allocations: 59.78 kB / 0.5917 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.235, allocations: 47.81 kB / 0.5917 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.964e-05/0.2351, allocations: 0 / 0.5917 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.377e-05/0.2351, allocations: 19.98 kB / 0.5917 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.743e-05/0.2352, allocations: 15.92 kB / 0.5918 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.2353, allocations: 0 / 0.5918 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001881/0.2355, allocations: 27.92 kB / 0.5918 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.891e-05/0.2355, allocations: 3.984 kB / 0.5918 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.402e-05/0.2356, allocations: 33.64 kB / 0.5918 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.2357, allocations: 31.97 kB / 0.5918 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2357, allocations: 0 / 0.5918 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2357, allocations: 3.938 kB / 0.5918 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.2357, allocations: 0 / 0.5918 GB, free: 15.02 MB / 0.4981 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.0005153/0.2363, allocations: 335.5 kB / 0.5922 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.2363, allocations: 8.031 kB / 0.5922 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.572e-05/0.2364, allocations: 3.953 kB / 0.5922 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.2366, allocations: 171 kB / 0.5923 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.781e-05/0.2367, allocations: 25.7 kB / 0.5924 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.2367, allocations: 4 kB / 0.5924 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.2369, allocations: 45.67 kB / 0.5924 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.2369, allocations: 0 / 0.5924 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.2369, allocations: 4 kB / 0.5924 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.394e-05/0.237, allocations: 0 / 0.5924 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.556e-05/0.2371, allocations: 19.98 kB / 0.5924 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006491/0.2377, allocations: 330 kB / 0.5928 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.695e-05/0.2378, allocations: 26.52 kB / 0.5928 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.266e-05/0.2378, allocations: 4.859 kB / 0.5928 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/0.238, allocations: 93.16 kB / 0.5929 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.238, allocations: 30.56 kB / 0.5929 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.223e-06/0.238, allocations: 0 / 0.5929 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0002139/0.2382, allocations: 41.59 kB / 0.5929 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/0.2383, allocations: 51.41 kB / 0.593 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.2385, allocations: 109.8 kB / 0.5931 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.2385, allocations: 25.7 kB / 0.5931 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.253e-05/0.2386, allocations: 88.2 kB / 0.5932 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.237e-05/0.2386, allocations: 7.906 kB / 0.5932 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-06/0.2386, allocations: 0 / 0.5932 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.2388, allocations: 314.8 kB / 0.5935 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.124e-05/0.2388, allocations: 8 kB / 0.5935 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.4e-05/0.2388, allocations: 13.72 kB / 0.5935 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.331e-05/0.2389, allocations: 3.938 kB / 0.5935 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2389, allocations: 8 kB / 0.5935 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001066/0.239, allocations: 49.62 kB / 0.5936 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.239, allocations: 4 kB / 0.5936 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.239, allocations: 0 / 0.5936 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.2391, allocations: 0 / 0.5936 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.203e-05/0.2391, allocations: 15.94 kB / 0.5936 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.2391, allocations: 0 / 0.5936 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.684e-05/0.2392, allocations: 0 / 0.5936 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.2392, allocations: 4 kB / 0.5936 GB, free: 12.95 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.2393, allocations: 113.9 kB / 0.5937 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.034e-05/0.2394, allocations: 0 / 0.5937 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001541/0.2395, allocations: 128.7 kB / 0.5938 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.662e-05/0.2396, allocations: 180.3 kB / 0.594 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.961e-05/0.2397, allocations: 192.2 kB / 0.5942 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.3e-05/0.2398, allocations: 176.3 kB / 0.5944 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003295/0.2402, allocations: 409.2 kB / 0.5948 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.846e-05/0.2402, allocations: 105 kB / 0.5949 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.626e-05/0.2403, allocations: 105 kB / 0.595 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.43e-05/0.2404, allocations: 184.2 kB / 0.5951 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.895e-05/0.2405, allocations: 176.3 kB / 0.5953 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001012/0.2406, allocations: 184.2 kB / 0.5955 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.136e-05/0.2407, allocations: 176.3 kB / 0.5956 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.2409, allocations: 311.7 kB / 0.5959 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.241, allocations: 182.1 kB / 0.5961 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/0.2412, allocations: 192.2 kB / 0.5963 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.2414, allocations: 109 kB / 0.5964 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.2415, allocations: 176.3 kB / 0.5966 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.098e-05/0.2416, allocations: 109.2 kB / 0.5967 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.966e-05/0.2416, allocations: 87.27 kB / 0.5968 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2417, allocations: 0 / 0.5968 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004429/0.2421, allocations: 15.95 kB / 0.5968 GB, free: 9.484 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002499/0.2424, allocations: 199.8 kB / 0.597 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.502e-05/0.2425, allocations: 8 kB / 0.597 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2425, allocations: 3.938 kB / 0.597 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.577e-06/0.2425, allocations: 3.938 kB / 0.597 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007007/0.2432, allocations: 0.5287 MB / 0.5975 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003378/0.2436, allocations: 209.6 kB / 0.5977 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.2439, allocations: 0.6731 MB / 0.5984 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/0.244, allocations: 7.438 kB / 0.5984 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.244, allocations: 0 / 0.5984 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of Templates: time 0.003111/0.2471, allocations: 0.7021 MB / 0.599 GB, free: 7.094 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversionCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversionCalcHelperMain.o] Error 1