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.008048/0.008048, allocations: 101.1 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.001615/0.001615, allocations: 189.5 kB / 16.79 MB, free: 5.809 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.814/1.814, allocations: 205.1 MB / 222.7 MB, free: 4.699 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.796/1.796, allocations: 292.3 MB / 0.5491 GB, free: 13.62 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.001417/0.001417, allocations: 62.41 kB / 0.6715 GB, free: 26.51 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2935, allocations: 114.6 MB / 0.7833 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.002663/0.2963, allocations: 0.6142 MB / 0.7839 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003803/0.2967, allocations: 123.7 kB / 0.7841 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.792e-05/0.2967, allocations: 0 / 0.7841 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001271/0.2968, allocations: 0 / 0.7841 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.227e-05/0.2969, allocations: 4 kB / 0.7841 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.2971, allocations: 39.84 kB / 0.7841 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.83e-05/0.2972, allocations: 19.98 kB / 0.7841 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.618e-05/0.2972, allocations: 11.98 kB / 0.7841 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.915e-05/0.2973, allocations: 19.92 kB / 0.7841 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.84e-05/0.2973, allocations: 7.984 kB / 0.7842 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.2974, allocations: 4 kB / 0.7842 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.639e-05/0.2974, allocations: 8 kB / 0.7842 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.226e-05/0.2974, allocations: 0 / 0.7842 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.405e-05/0.2975, allocations: 7.984 kB / 0.7842 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.486e-05/0.2976, allocations: 19.97 kB / 0.7842 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.2976, allocations: 3.938 kB / 0.7842 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2976, allocations: 0 / 0.7842 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.2976, allocations: 0 / 0.7842 GB, free: 13.09 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.0004263/0.298, allocations: 357.3 kB / 0.7845 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.2981, allocations: 12.03 kB / 0.7846 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.376e-05/0.2982, allocations: 0.9375 kB / 0.7846 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.2983, allocations: 168.4 kB / 0.7847 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.2983, allocations: 384 / 0.7847 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.2984, allocations: 8.312 kB / 0.7847 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.2985, allocations: 58.17 kB / 0.7848 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.2985, allocations: 192 / 0.7848 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.2986, allocations: 7.938 kB / 0.7848 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.2986, allocations: 8 kB / 0.7848 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.721e-05/0.2986, allocations: 11.98 kB / 0.7848 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001903/0.2988, allocations: 157.6 kB / 0.785 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.42e-05/0.2989, allocations: 22.61 kB / 0.785 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.255e-05/0.299, allocations: 20.91 kB / 0.785 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.203e-06/0.299, allocations: 0 / 0.785 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.299, allocations: 42.5 kB / 0.785 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.299, allocations: 0 / 0.785 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0002548/0.2993, allocations: 107.3 kB / 0.7851 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.2994, allocations: 85.09 kB / 0.7852 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.502e-05/0.2994, allocations: 89.86 kB / 0.7853 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.2995, allocations: 29.7 kB / 0.7853 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.801e-05/0.2995, allocations: 80.14 kB / 0.7854 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.2996, allocations: 4.266 kB / 0.7854 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.415e-05/0.2996, allocations: 29.95 kB / 0.7854 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.2998, allocations: 314.8 kB / 0.7857 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.171e-05/0.2998, allocations: 8 kB / 0.7857 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.865e-05/0.2998, allocations: 15.92 kB / 0.7858 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.947e-05/0.2999, allocations: 84.25 kB / 0.7858 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2999, allocations: 0 / 0.7858 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001442/0.3001, allocations: 91.39 kB / 0.7859 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.668e-05/0.3001, allocations: 37.73 kB / 0.786 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.3002, allocations: 11.92 kB / 0.786 GB, free: 11 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.3002, allocations: 0 / 0.786 GB, free: 11 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.3002, allocations: 0 / 0.786 GB, free: 11 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.3002, allocations: 0 / 0.786 GB, free: 11 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.3003, allocations: 7.938 kB / 0.786 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.3004, allocations: 8 kB / 0.786 GB, free: 10.98 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.0001223/0.3005, allocations: 140.2 kB / 0.7861 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.928e-05/0.3005, allocations: 7.906 kB / 0.7861 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.963e-05/0.3005, allocations: 15.05 kB / 0.7862 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.3005, allocations: 3.938 kB / 0.7862 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3006, allocations: 4 kB / 0.7862 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3006, allocations: 0 / 0.7862 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.3007, allocations: 149.7 kB / 0.7863 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.3007, allocations: 4 kB / 0.7863 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.325e-06/0.3007, allocations: 3.984 kB / 0.7863 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.3007, allocations: 0 / 0.7863 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.3007, allocations: 11.88 kB / 0.7863 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.3007, allocations: 0 / 0.7863 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3007, allocations: 0 / 0.7863 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.3009, allocations: 122.8 kB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.225e-05/0.301, allocations: 81.11 kB / 0.7865 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.301, allocations: 3.938 kB / 0.7865 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.3011, allocations: 7.984 kB / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.408e-05/0.3011, allocations: 8 kB / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.3011, allocations: 4 kB / 0.7865 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.582e-05/0.3012, allocations: 79.31 kB / 0.7866 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3012, allocations: 0 / 0.7866 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002139/0.3014, allocations: 16 kB / 0.7866 GB, free: 10.22 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.0003133/0.3017, allocations: 117.9 kB / 0.7867 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001672/0.3019, allocations: 83.48 kB / 0.7868 GB, free: 10 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3019, allocations: 0 / 0.7868 GB, free: 10 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.837e-05/0.302, allocations: 71.39 kB / 0.7869 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/0.3022, allocations: 11.94 kB / 0.7869 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004169/0.3026, allocations: 128.4 kB / 0.787 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.303, allocations: 0.6692 MB / 0.7877 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.451e-05/0.303, allocations: 7.438 kB / 0.7877 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.303, allocations: 0 / 0.7877 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of Templates: time 0.003262/0.3063, allocations: 0.8851 MB / 0.7885 GB, free: 8.164 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