Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.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.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01032/0.01032, allocations: 101.4 kB / 15.88 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00213/0.002131, allocations: 192.9 kB / 16.79 MB, free: 5.809 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.259/2.259, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004178/0.004178, allocations: 282.5 kB / 290.9 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.647/1.647, allocations: 169.2 MB / 0.4984 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003419/0.003419, allocations: 87 kB / 0.5951 GB, free: 28.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3226, allocations: 86.99 MB / 0.6801 GB, free: 1.16 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.03298/0.3557, allocations: 13.84 MB / 0.6936 GB, free: 3.281 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005588/0.3613, allocations: 2.699 MB / 0.6962 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003522/0.3618, allocations: 0 / 0.6962 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006036/0.3624, allocations: 43.73 kB / 0.6963 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005716/0.3631, allocations: 87.48 kB / 0.6964 GB, free: 456 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002682/0.3658, allocations: 466.3 kB / 0.6968 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006197/0.3664, allocations: 303.8 kB / 0.6971 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.944e-05/0.3665, allocations: 13.55 kB / 0.6971 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01775/0.3843, allocations: 3.143 MB / 0.7002 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003467/0.3847, allocations: 99.58 kB / 0.7003 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.195e-05/0.3847, allocations: 8 kB / 0.7003 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004762/0.3895, allocations: 0.9812 MB / 0.7012 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.3897, allocations: 39.83 kB / 0.7013 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002121/0.3899, allocations: 79.66 kB / 0.7014 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009537/0.3909, allocations: 251.4 kB / 0.7016 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.3909, allocations: 0 / 0.7016 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.194e-06/0.3909, allocations: 0 / 0.7016 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.3909, allocations: 4 kB / 0.7016 GB, free: 11.07 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001178/0.3921, allocations: 0.4993 MB / 0.7021 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.432e-05/0.3922, allocations: 8.031 kB / 0.7021 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002978/0.3925, allocations: 24.73 kB / 0.7021 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003746/0.3929, allocations: 220.1 kB / 0.7023 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.867e-05/0.393, allocations: 12.7 kB / 0.7023 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.15e-05/0.393, allocations: 16.38 kB / 0.7024 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006643/0.3937, allocations: 256.8 kB / 0.7026 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.3937, allocations: 0 / 0.7026 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.123e-05/0.3938, allocations: 8 kB / 0.7026 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.863e-05/0.3938, allocations: 4 kB / 0.7026 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008413/0.3947, allocations: 439.3 kB / 0.703 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001972/0.3967, allocations: 0.9566 MB / 0.704 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005402/0.3972, allocations: 163.5 kB / 0.7041 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/0.3974, allocations: 66.2 kB / 0.7042 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002499/0.4, allocations: 1.833 MB / 0.706 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.133e-05/0.4, allocations: 34.56 kB / 0.706 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 3.647e-06/0.4001, allocations: 0 / 0.706 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005709/0.4006, allocations: 143.4 kB / 0.7061 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.889e-05/0.4007, allocations: 63.28 kB / 0.7062 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002506/0.401, allocations: 169 kB / 0.7064 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.894e-05/0.401, allocations: 33.64 kB / 0.7064 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.4012, allocations: 143.8 kB / 0.7065 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.327e-05/0.4013, allocations: 55.2 kB / 0.7066 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.4014, allocations: 49.7 kB / 0.7066 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.4016, allocations: 330.8 kB / 0.7069 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.4017, allocations: 35.92 kB / 0.707 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/0.402, allocations: 139.5 kB / 0.7071 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003868/0.4024, allocations: 199.3 kB / 0.7073 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.4024, allocations: 4 kB / 0.7073 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005932/0.403, allocations: 213.1 kB / 0.7075 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.403, allocations: 8 kB / 0.7075 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.403, allocations: 4 kB / 0.7075 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.631e-05/0.4031, allocations: 4.469 kB / 0.7075 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000302/0.4034, allocations: 63.86 kB / 0.7076 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.912e-05/0.4034, allocations: 7.938 kB / 0.7076 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.4037, allocations: 31.67 kB / 0.7076 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.793e-05/0.4037, allocations: 16 kB / 0.7076 GB, free: 4.145 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001701/0.4039, allocations: 125.8 kB / 0.7078 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.404, allocations: 15.81 kB / 0.7078 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005166/0.4045, allocations: 154 kB / 0.7079 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/0.4046, allocations: 11.92 kB / 0.7079 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.4046, allocations: 3.938 kB / 0.7079 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.4046, allocations: 3.984 kB / 0.7079 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004293/0.4051, allocations: 221.5 kB / 0.7082 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.4051, allocations: 0 / 0.7082 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.4053, allocations: 23.98 kB / 0.7082 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.4053, allocations: 4 kB / 0.7082 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.4053, allocations: 0 / 0.7082 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/0.4053, allocations: 7.938 kB / 0.7082 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.4053, allocations: 3.984 kB / 0.7082 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004414/0.4058, allocations: 229.1 kB / 0.7084 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/0.406, allocations: 108.9 kB / 0.7085 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.406, allocations: 4 kB / 0.7085 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003519/0.4064, allocations: 15.92 kB / 0.7085 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.4064, allocations: 15.98 kB / 0.7085 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.442e-05/0.4065, allocations: 4 kB / 0.7086 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001659/0.4067, allocations: 123.5 kB / 0.7087 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.71e-07/0.4067, allocations: 4 kB / 0.7087 GB, free: 3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008036/0.4075, allocations: 83.98 kB / 0.7088 GB, free: 2.918 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0005846/0.4081, allocations: 179.1 kB / 0.7089 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004141/0.4085, allocations: 117.3 kB / 0.709 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.4086, allocations: 4 kB / 0.709 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.4087, allocations: 47.8 kB / 0.7091 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008044/0.4095, allocations: 56.8 kB / 0.7091 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.4107, allocations: 410.2 kB / 0.7095 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004829/0.4112, allocations: 0.7209 MB / 0.7102 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.685e-05/0.4113, allocations: 23.44 kB / 0.7103 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of SimCode: time 3.71e-07/0.4114, allocations: 0 / 0.7103 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of Templates: time 0.009474/0.4208, allocations: 3.423 MB / 0.7136 GB, free: 13.93 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.makefile make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.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.Specialized.Water.Examples.WaterProperties_pTCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pTCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pTCalcHelperMain.o] Error 1