Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008868/0.0008925, allocations: 100.5 kB / 15.71 MB, free: 452 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.0009818/0.0009819, allocations: 178.8 kB / 16.58 MB, free: 6.879 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.965/1.965, allocations: 205.4 MB / 222.7 MB, free: 5.66 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.859/1.859, allocations: 292.7 MB / 0.5505 GB, free: 14.61 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.0009097/0.0009098, allocations: 15.53 kB / 0.6744 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3313, allocations: 116.3 MB / 0.7879 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002059/0.3335, allocations: 0.9899 MB / 0.7889 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.1569/0.4904, allocations: 119.6 MB / 0.9057 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.366e-05/0.4905, allocations: 0 / 0.9057 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.077e-05/0.4905, allocations: 7.938 kB / 0.9057 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.709e-05/0.4906, allocations: 0 / 0.9057 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003308/0.4909, allocations: 43.8 kB / 0.9057 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.654e-05/0.491, allocations: 27.8 kB / 0.9058 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.226e-05/0.4911, allocations: 4 kB / 0.9058 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.281e-05/0.4911, allocations: 4 kB / 0.9058 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.78e-05/0.4912, allocations: 19.92 kB / 0.9058 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.4912, allocations: 3.984 kB / 0.9058 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.434e-05/0.4913, allocations: 12 kB / 0.9058 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.414e-05/0.4913, allocations: 7.984 kB / 0.9058 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.773e-05/0.4913, allocations: 29.7 kB / 0.9059 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.878e-05/0.4914, allocations: 16.2 kB / 0.9059 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.4914, allocations: 4 kB / 0.9059 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4914, allocations: 0 / 0.9059 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.4915, allocations: 0 / 0.9059 GB, free: 2.875 MB / 0.7169 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.0004222/0.4919, allocations: 323.4 kB / 0.9062 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.4919, allocations: 11.97 kB / 0.9062 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.492, allocations: 11.91 kB / 0.9062 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.4921, allocations: 163 kB / 0.9064 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.482e-05/0.4922, allocations: 29.7 kB / 0.9064 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.4922, allocations: 0 / 0.9064 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.4924, allocations: 37.69 kB / 0.9064 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.4924, allocations: 0 / 0.9064 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.4924, allocations: 4 kB / 0.9064 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.4924, allocations: 4 kB / 0.9064 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.283e-05/0.4925, allocations: 11.98 kB / 0.9064 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001819/0.4927, allocations: 161.6 kB / 0.9066 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.168e-05/0.4928, allocations: 34.55 kB / 0.9066 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.162e-05/0.4928, allocations: 12.8 kB / 0.9066 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001717/0.493, allocations: 97.19 kB / 0.9067 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.493, allocations: 34.56 kB / 0.9068 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.493, allocations: 0 / 0.9068 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0002396/0.4933, allocations: 57.61 kB / 0.9068 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.4933, allocations: 51.41 kB / 0.9069 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.903e-05/0.4934, allocations: 97.86 kB / 0.907 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.4935, allocations: 29.69 kB / 0.907 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.39e-05/0.4935, allocations: 84.14 kB / 0.9071 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.4935, allocations: 15.75 kB / 0.9071 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/0.4935, allocations: 0 / 0.9071 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.4937, allocations: 314.8 kB / 0.9074 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.011e-05/0.4937, allocations: 8 kB / 0.9074 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.1e-05/0.4938, allocations: 7.984 kB / 0.9074 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.846e-05/0.4938, allocations: 4.469 kB / 0.9074 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.4938, allocations: 0 / 0.9074 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001141/0.4939, allocations: 57.67 kB / 0.9075 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.4939, allocations: 4 kB / 0.9075 GB, free: 1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.494, allocations: 0 / 0.9075 GB, free: 1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.494, allocations: 48 / 0.9075 GB, free: 1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.268e-05/0.494, allocations: 15.92 kB / 0.9075 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.4941, allocations: 0 / 0.9075 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.815e-05/0.4941, allocations: 4 kB / 0.9075 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-06/0.4941, allocations: 0 / 0.9075 GB, free: 0.9805 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * 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 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 8.015e-05/0.4942, allocations: 117.8 kB / 0.9076 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.622e-06/0.4942, allocations: 4 kB / 0.9076 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001569/0.4944, allocations: 57.17 kB / 0.9077 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.4944, allocations: 4 kB / 0.9077 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4944, allocations: 0 / 0.9077 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.4944, allocations: 0 / 0.9077 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.4945, allocations: 153.6 kB / 0.9078 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.4945, allocations: 0 / 0.9078 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.981e-05/0.4946, allocations: 11.94 kB / 0.9078 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4946, allocations: 0 / 0.9078 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.4946, allocations: 8 kB / 0.9078 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.4946, allocations: 4 kB / 0.9078 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4946, allocations: 0 / 0.9078 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.4947, allocations: 69.11 kB / 0.9079 GB, free: 480 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.406e-05/0.4948, allocations: 88.97 kB / 0.908 GB, free: 372 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.4949, allocations: 0 / 0.908 GB, free: 372 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.348e-05/0.4949, allocations: 0 / 0.908 GB, free: 372 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/0.4949, allocations: 11.98 kB / 0.908 GB, free: 360 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-06/0.4949, allocations: 7.938 kB / 0.908 GB, free: 352 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.665e-05/0.495, allocations: 79.28 kB / 0.9081 GB, free: 272 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.633e-06/0.495, allocations: 0 / 0.9081 GB, free: 272 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001821/0.4952, allocations: 15.88 kB / 0.9081 GB, free: 256 kB / 0.7169 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 (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 Backend phase and start with SimCode phase: time 0.0001863/0.4954, allocations: 115.2 kB / 0.9082 GB, free: 128 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001271/0.4955, allocations: 23.92 kB / 0.9082 GB, free: 104 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4955, allocations: 0 / 0.9082 GB, free: 104 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.259e-05/0.4956, allocations: 15.98 kB / 0.9082 GB, free: 88 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.4958, allocations: 10.66 kB / 0.9082 GB, free: 80 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4974/0.9932, allocations: 156.5 kB / 0.9084 GB, free: 127.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000172/0.9934, allocations: 0.6753 MB / 0.9091 GB, free: 127.2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.021e-05/0.9935, allocations: 10.55 kB / 0.9091 GB, free: 127.2 MB / 0.7169 GB Notification: Performance of SimCode: time 1.182e-06/0.9935, allocations: 1.938 kB / 0.9091 GB, free: 127.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.002799/0.9963, allocations: 0.5605 MB / 0.9096 GB, free: 127.2 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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 OMCppBuildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTXCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTXCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTXCalcHelperMain.o] Error 1