Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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.0009494/0.0009496, allocations: 103 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.001062/0.001063, allocations: 179.5 kB / 16.58 MB, free: 6.148 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.516/1.516, allocations: 223.3 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.778/2.778, allocations: 436.7 MB / 0.7113 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.0003641, allocations: 15.98 kB / 0.8717 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9145/0.9149, allocations: 153.7 MB / 1.022 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0008682/0.9158, allocations: 276.6 kB / 1.022 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00025/0.916, allocations: 103.8 kB / 1.022 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.304e-05/0.9161, allocations: 0 / 1.022 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.783e-05/0.9162, allocations: 4 kB / 1.022 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.854e-05/0.9162, allocations: 3.938 kB / 1.022 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001343/0.9164, allocations: 39.91 kB / 1.022 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.112e-05/0.9165, allocations: 23.91 kB / 1.022 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.731e-05/0.9165, allocations: 0 / 1.022 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.812e-05/0.9165, allocations: 15.98 kB / 1.022 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.161e-05/0.9166, allocations: 15.97 kB / 1.022 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.9166, allocations: 0 / 1.022 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 4.012e-05/0.9167, allocations: 12 kB / 1.022 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 7.264e-06/0.9167, allocations: 0 / 1.022 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.137e-05/0.9167, allocations: 33.7 kB / 1.022 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.199e-05/0.9168, allocations: 11.98 kB / 1.022 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.9168, allocations: 0 / 1.022 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9168, allocations: 3.938 kB / 1.022 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.9168, allocations: 4 kB / 1.022 GB, free: 0.5586 MB / 0.7637 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.0003568/0.9172, allocations: 345.1 kB / 1.023 GB, free: 172 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.9173, allocations: 11.98 kB / 1.023 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/0.9173, allocations: 7.906 kB / 1.023 GB, free: 152 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.9175, allocations: 163.1 kB / 1.023 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.9175, allocations: 8 kB / 1.023 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.9175, allocations: 7.938 kB / 1.023 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.9176, allocations: 57.61 kB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.9177, allocations: 0 / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.9177, allocations: 4 kB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.9177, allocations: 0 / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.707e-05/0.9177, allocations: 11.98 kB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001588/0.9179, allocations: 149.7 kB / 1.023 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.503e-05/0.918, allocations: 38.55 kB / 1.023 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.912e-05/0.918, allocations: 20.91 kB / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.266e-06/0.918, allocations: 0 / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.9181, allocations: 34.52 kB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.9181, allocations: 0 / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.000257/0.9183, allocations: 107.3 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.9184, allocations: 85.09 kB / 1.023 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.631e-05/0.9185, allocations: 97.98 kB / 1.023 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.9185, allocations: 25.7 kB / 1.023 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.402e-05/0.9185, allocations: 80.14 kB / 1.023 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.9186, allocations: 4 kB / 1.023 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.461e-06/0.9186, allocations: 0 / 1.023 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.9187, allocations: 318.8 kB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.576e-05/0.9188, allocations: 7.984 kB / 1.024 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.144e-05/0.9188, allocations: 8 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.612e-05/0.9188, allocations: 45.88 kB / 1.024 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.9188, allocations: 3.938 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001274/0.919, allocations: 91.39 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.96e-05/0.919, allocations: 42.78 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.919, allocations: 3.953 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.9191, allocations: 0 / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.41e-07/0.9191, allocations: 3.938 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.9191, allocations: 0 / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.9192, allocations: 7.906 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.9192, allocations: 11.98 kB / 1.024 GB, free: 14.54 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.52e-05/0.9193, allocations: 141.5 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.206e-05/0.9194, allocations: 4 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.139e-05/0.9194, allocations: 3.125 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.9194, allocations: 7.953 kB / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.9194, allocations: 3.938 kB / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.9194, allocations: 0 / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.9195, allocations: 161.6 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.9195, allocations: 0 / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.9195, allocations: 0 / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.9196, allocations: 4 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.9196, allocations: 4 kB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.9196, allocations: 0 / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.9196, allocations: 3.953 kB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.9197, allocations: 122.8 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.474e-05/0.9198, allocations: 81.05 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.9198, allocations: 0 / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.9199, allocations: 12.02 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.822e-05/0.92, allocations: 7.953 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-06/0.92, allocations: 8 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.64e-05/0.92, allocations: 75.28 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.92, allocations: 0 / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001938/0.9202, allocations: 12 kB / 1.025 GB, free: 13.79 MB / 0.7794 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 (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.000244/0.9205, allocations: 114.2 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001577/0.9206, allocations: 79.39 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.9207, allocations: 0 / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.611e-05/0.9207, allocations: 75.33 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.9209, allocations: 4.562 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000326/0.9212, allocations: 140.4 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.9215, allocations: 0.6731 MB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.191e-05/0.9216, allocations: 7.438 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.9216, allocations: 0 / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of Templates: time 0.002434/0.924, allocations: 0.8786 MB / 1.027 GB, free: 11.74 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValuesCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValuesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValuesCalcHelperMain.o] Error 1