Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.001148/0.001148, allocations: 99.98 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.001499/0.001499, allocations: 178.5 kB / 16.58 MB, free: 6.422 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.561/1.561, allocations: 223.2 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.666/2.666, allocations: 390.5 MB / 0.6662 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000403/0.000403, allocations: 12 kB / 0.8154 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9073/0.9078, allocations: 142.3 MB / 0.9544 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0008425/0.9087, allocations: 286.8 kB / 0.9547 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002235/0.9089, allocations: 104.5 kB / 0.9548 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.464e-05/0.9089, allocations: 0 / 0.9548 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.89e-05/0.909, allocations: 2.781 kB / 0.9548 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.375e-05/0.9091, allocations: 0 / 0.9548 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001264/0.9092, allocations: 37.06 kB / 0.9548 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.444e-05/0.9093, allocations: 25.77 kB / 0.9549 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.6e-05/0.9094, allocations: 3.938 kB / 0.9549 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.748e-05/0.9094, allocations: 12.59 kB / 0.9549 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.429e-05/0.9095, allocations: 13.41 kB / 0.9549 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.9095, allocations: 1.562 kB / 0.9549 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.19e-05/0.9095, allocations: 6.375 kB / 0.9549 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.996e-06/0.9095, allocations: 1.031 kB / 0.9549 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.532e-05/0.9096, allocations: 27.95 kB / 0.9549 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.526e-05/0.9097, allocations: 19.44 kB / 0.9549 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.9097, allocations: 4 kB / 0.9549 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.873e-06/0.9097, allocations: 0 / 0.9549 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.9097, allocations: 0 / 0.9549 GB, free: 7.73 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002617/0.91, allocations: 343.5 kB / 0.9553 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.91, allocations: 8.312 kB / 0.9553 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.571e-05/0.91, allocations: 7.141 kB / 0.9553 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.794e-05/0.9101, allocations: 172.5 kB / 0.9554 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.9102, allocations: 1.531 kB / 0.9554 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.9102, allocations: 4.625 kB / 0.9555 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.9103, allocations: 54.77 kB / 0.9555 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.9103, allocations: 0 / 0.9555 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.9103, allocations: 1.5 kB / 0.9555 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.9103, allocations: 4.875 kB / 0.9555 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.209e-05/0.9104, allocations: 19 kB / 0.9555 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000111/0.9105, allocations: 148.8 kB / 0.9557 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.75e-05/0.9106, allocations: 36.44 kB / 0.9557 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.295e-05/0.9106, allocations: 17.17 kB / 0.9557 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.791e-06/0.9106, allocations: 0 / 0.9557 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.9106, allocations: 35.75 kB / 0.9558 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.9107, allocations: 0 / 0.9558 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0002253/0.9109, allocations: 109.9 kB / 0.9559 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.9109, allocations: 78.36 kB / 0.9559 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.671e-05/0.911, allocations: 97.7 kB / 0.956 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.911, allocations: 35.08 kB / 0.9561 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.817e-05/0.911, allocations: 81.7 kB / 0.9561 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.403e-05/0.9111, allocations: 1.094 kB / 0.9561 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.344e-06/0.9111, allocations: 2.094 kB / 0.9561 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.601e-05/0.9112, allocations: 320.4 kB / 0.9564 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.817e-05/0.9112, allocations: 10.81 kB / 0.9565 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.261e-05/0.9112, allocations: 10.14 kB / 0.9565 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.656e-05/0.9113, allocations: 37.73 kB / 0.9565 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.9113, allocations: 64 / 0.9565 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001134/0.9114, allocations: 99.09 kB / 0.9566 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.9114, allocations: 32.48 kB / 0.9566 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.9114, allocations: 0 / 0.9566 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.9114, allocations: 0 / 0.9566 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.734e-06/0.9115, allocations: 5.016 kB / 0.9566 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.9115, allocations: 0 / 0.9566 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.9116, allocations: 8.328 kB / 0.9566 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.9116, allocations: 7.906 kB / 0.9566 GB, free: 5.902 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 (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 6.733e-05/0.9117, allocations: 150.5 kB / 0.9568 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.35e-05/0.9117, allocations: 8.219 kB / 0.9568 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.033e-05/0.9117, allocations: 7.109 kB / 0.9568 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.9117, allocations: 0 / 0.9568 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.9117, allocations: 1.25 kB / 0.9568 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.9117, allocations: 0 / 0.9568 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.459e-05/0.9118, allocations: 161 kB / 0.957 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.9118, allocations: 1.219 kB / 0.957 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.9118, allocations: 3.938 kB / 0.957 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.9118, allocations: 0 / 0.957 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.9118, allocations: 7.438 kB / 0.957 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.9118, allocations: 0 / 0.957 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.9119, allocations: 1.281 kB / 0.957 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.912, allocations: 129.3 kB / 0.9571 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.958e-05/0.912, allocations: 81.09 kB / 0.9572 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.9121, allocations: 2.312 kB / 0.9572 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.313e-05/0.9122, allocations: 4.188 kB / 0.9572 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.941e-05/0.9122, allocations: 6.031 kB / 0.9572 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.9122, allocations: 7.016 kB / 0.9572 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.425e-05/0.9122, allocations: 85.31 kB / 0.9573 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.9122, allocations: 0 / 0.9573 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001936/0.9124, allocations: 12.81 kB / 0.9573 GB, free: 5.215 MB / 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 (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.0002085/0.9126, allocations: 122 kB / 0.9574 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001299/0.9128, allocations: 83.16 kB / 0.9575 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.9128, allocations: 0 / 0.9575 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.01e-05/0.9128, allocations: 71.67 kB / 0.9576 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.913, allocations: 8.766 kB / 0.9576 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002734/0.9133, allocations: 125.2 kB / 0.9577 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.9134, allocations: 0.6756 MB / 0.9583 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.647e-06/0.9134, allocations: 11.44 kB / 0.9583 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of SimCode: time 1.273e-06/0.9134, allocations: 0 / 0.9583 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of Templates: time 0.002276/0.9157, allocations: 0.8761 MB / 0.9592 GB, free: 3.676 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile make -j1 -f Buildings_9_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 9.1.2-maint.9.1.x/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 9.1.2-maint.9.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValuesCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValuesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValuesCalcHelperMain.o] Error 1