Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.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.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 99.27 kB / 16.02 MB, free: 76 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.001235/0.001235, allocations: 183 kB / 16.92 MB, free: 6.918 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.8/1.8, allocations: 205.4 MB / 223.1 MB, free: 5.527 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.5509 GB, free: 14.45 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.0006386/0.0006387, allocations: 15.53 kB / 0.675 GB, free: 25.7 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3364, allocations: 116.3 MB / 0.7885 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001078/0.3376, allocations: 293.9 kB / 0.7888 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004168/0.338, allocations: 111.8 kB / 0.7889 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2e-05/0.3381, allocations: 0 / 0.7889 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.3382, allocations: 7.938 kB / 0.7889 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.158e-05/0.3383, allocations: 3.938 kB / 0.7889 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.3385, allocations: 39.95 kB / 0.789 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.628e-05/0.3386, allocations: 19.98 kB / 0.789 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.848e-05/0.3387, allocations: 4 kB / 0.789 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.002e-05/0.3387, allocations: 15.98 kB / 0.789 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.124e-05/0.3388, allocations: 11.92 kB / 0.789 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.3388, allocations: 4 kB / 0.789 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.861e-05/0.3389, allocations: 8 kB / 0.789 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.3389, allocations: 0 / 0.789 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.045e-05/0.339, allocations: 37.69 kB / 0.7891 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.855e-05/0.3391, allocations: 19.97 kB / 0.7891 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.3391, allocations: 0 / 0.7891 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.685e-06/0.3391, allocations: 0 / 0.7891 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.78e-06/0.3391, allocations: 0 / 0.7891 GB, free: 11.03 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004576/0.3396, allocations: 345.3 kB / 0.7894 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/0.3396, allocations: 8.031 kB / 0.7894 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.451e-05/0.3397, allocations: 4.938 kB / 0.7894 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.3399, allocations: 172.3 kB / 0.7896 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.34, allocations: 8.312 kB / 0.7896 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.34, allocations: 8.375 kB / 0.7896 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.3402, allocations: 50.23 kB / 0.7897 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3402, allocations: 192 / 0.7897 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.3402, allocations: 3.938 kB / 0.7897 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.3402, allocations: 4 kB / 0.7897 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.12e-05/0.3403, allocations: 11.97 kB / 0.7897 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002064/0.3405, allocations: 153.7 kB / 0.7898 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.078e-05/0.3406, allocations: 38.53 kB / 0.7899 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.815e-05/0.3407, allocations: 16.92 kB / 0.7899 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.083e-06/0.3407, allocations: 0 / 0.7899 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.767e-05/0.3407, allocations: 30.56 kB / 0.7899 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.483e-06/0.3407, allocations: 0 / 0.7899 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0003069/0.341, allocations: 115.2 kB / 0.79 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.831e-05/0.3411, allocations: 81.09 kB / 0.7901 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.3413, allocations: 101.9 kB / 0.7902 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.3413, allocations: 29.7 kB / 0.7902 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.437e-05/0.3413, allocations: 80.14 kB / 0.7903 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.3414, allocations: 4.281 kB / 0.7903 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.955e-05/0.3414, allocations: 9.719 kB / 0.7903 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.3416, allocations: 314.8 kB / 0.7906 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.306e-05/0.3417, allocations: 11.98 kB / 0.7906 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.677e-05/0.3417, allocations: 11.98 kB / 0.7906 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.3418, allocations: 88.39 kB / 0.7907 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3418, allocations: 0 / 0.7907 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002031/0.342, allocations: 95.38 kB / 0.7908 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.851e-05/0.3421, allocations: 29.7 kB / 0.7908 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.3421, allocations: 7.938 kB / 0.7909 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.3421, allocations: 0 / 0.7909 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.004e-06/0.3421, allocations: 3.938 kB / 0.7909 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.3421, allocations: 0 / 0.7909 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.3423, allocations: 11.92 kB / 0.7909 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.3423, allocations: 4 kB / 0.7909 GB, free: 8.945 MB / 0.6075 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001566/0.3425, allocations: 144.2 kB / 0.791 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/0.3425, allocations: 7.984 kB / 0.791 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.624e-05/0.3426, allocations: 7.062 kB / 0.791 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3426, allocations: 3.938 kB / 0.791 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.3426, allocations: 4 kB / 0.791 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3426, allocations: 0 / 0.791 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.3427, allocations: 149.6 kB / 0.7912 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3428, allocations: 4 kB / 0.7912 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.333e-06/0.3428, allocations: 0 / 0.7912 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3428, allocations: 4 kB / 0.7912 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.3428, allocations: 11.94 kB / 0.7912 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.697e-06/0.3428, allocations: 7.984 kB / 0.7912 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.3428, allocations: 0 / 0.7912 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.343, allocations: 110.8 kB / 0.7913 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.314e-05/0.3431, allocations: 93.03 kB / 0.7914 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.3431, allocations: 3.938 kB / 0.7914 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.3432, allocations: 8.031 kB / 0.7914 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.894e-05/0.3433, allocations: 7.984 kB / 0.7914 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.3433, allocations: 4 kB / 0.7914 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.47e-05/0.3434, allocations: 75.28 kB / 0.7915 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3434, allocations: 0 / 0.7915 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002167/0.3436, allocations: 12 kB / 0.7915 GB, free: 8.188 MB / 0.6075 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003322/0.3439, allocations: 113 kB / 0.7916 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001895/0.3441, allocations: 87.38 kB / 0.7917 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.3441, allocations: 0 / 0.7917 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.91e-05/0.3442, allocations: 67.39 kB / 0.7918 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001733/0.3444, allocations: 14.69 kB / 0.7918 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004014/0.3448, allocations: 144.5 kB / 0.7919 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.3452, allocations: 0.677 MB / 0.7926 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.543e-05/0.3452, allocations: 7.438 kB / 0.7926 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.3452, allocations: 0 / 0.7926 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of Templates: time 0.003126/0.3483, allocations: 0.8745 MB / 0.7934 GB, free: 6.125 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValuesCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValuesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValuesCalcHelperMain.o] Error 1