Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 102.7 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.001489/0.001489, allocations: 176.4 kB / 16.58 MB, free: 6.863 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.53/1.53, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.899/2.899, allocations: 436.7 MB / 0.7113 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004704/0.0004705, allocations: 8 kB / 0.8717 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8902/0.8907, allocations: 153.7 MB / 1.022 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004648/0.8954, allocations: 3.589 MB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003666/0.8991, allocations: 2.219 MB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000394/0.8995, allocations: 11.94 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001377/0.9009, allocations: 453.9 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005566/0.9015, allocations: 218.5 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002302/0.9017, allocations: 83.91 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008603/0.9026, allocations: 0.758 MB / 1.029 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004154/0.903, allocations: 241.5 kB / 1.029 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002991/0.9033, allocations: 231.1 kB / 1.029 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003384/0.9037, allocations: 274.8 kB / 1.03 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.891e-05/0.9037, allocations: 32 kB / 1.03 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.21e-05/0.9038, allocations: 36 kB / 1.03 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.904, allocations: 131.4 kB / 1.03 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.9041, allocations: 161.4 kB / 1.03 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007816/0.9049, allocations: 0.7867 MB / 1.031 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.9049, allocations: 0 / 1.031 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.905e-06/0.905, allocations: 0 / 1.031 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.905, allocations: 7.938 kB / 1.031 GB, free: 7.84 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001395/0.9064, allocations: 0.8489 MB / 1.032 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.9064, allocations: 11.98 kB / 1.032 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.9066, allocations: 75.06 kB / 1.032 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006658/0.9072, allocations: 436.8 kB / 1.032 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.183e-05/0.9073, allocations: 33 kB / 1.032 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.062e-05/0.9074, allocations: 48 kB / 1.032 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008317/0.9082, allocations: 434.4 kB / 1.033 GB, free: 5.879 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.9083, allocations: 7.891 kB / 1.033 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.579e-05/0.9083, allocations: 20 kB / 1.033 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.9084, allocations: 12 kB / 1.033 GB, free: 5.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007119/0.9091, allocations: 375.8 kB / 1.033 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002212/0.9113, allocations: 1.535 MB / 1.034 GB, free: 3.867 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005644/0.9119, allocations: 346.9 kB / 1.035 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005405/0.9124, allocations: 356.5 kB / 1.035 GB, free: 3.164 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.9125, allocations: 4.688 kB / 1.035 GB, free: 3.16 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.9125, allocations: 46.55 kB / 1.035 GB, free: 3.105 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=42): time 2.014e-06/0.9125, allocations: 0 / 1.035 GB, free: 3.105 MB / 0.7794 GB Notification: Performance of matching and sorting (n=42): time 0.0009493/0.9135, allocations: 0.5051 MB / 1.036 GB, free: 2.594 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.9135, allocations: 63.19 kB / 1.036 GB, free: 2.52 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005531/0.9141, allocations: 481.9 kB / 1.036 GB, free: 2.039 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.9141, allocations: 33.7 kB / 1.036 GB, free: 2 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/0.9143, allocations: 272.4 kB / 1.036 GB, free: 1.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.9144, allocations: 149.8 kB / 1.037 GB, free: 1.582 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.81e-05/0.9145, allocations: 8 kB / 1.037 GB, free: 1.574 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.9146, allocations: 358.8 kB / 1.037 GB, free: 1.215 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/0.9149, allocations: 124.7 kB / 1.037 GB, free: 1.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002329/0.9151, allocations: 138 kB / 1.037 GB, free: 0.957 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/0.9154, allocations: 142.6 kB / 1.037 GB, free: 0.8164 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.9154, allocations: 0 / 1.037 GB, free: 0.8164 MB / 0.7794 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006502/0.9161, allocations: 399.9 kB / 1.038 GB, free: 432 kB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/0.9161, allocations: 4 kB / 1.038 GB, free: 428 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.9161, allocations: 4 kB / 1.038 GB, free: 424 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.9162, allocations: 4 kB / 1.038 GB, free: 420 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005086/0.9167, allocations: 135.7 kB / 1.038 GB, free: 284 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.9167, allocations: 7.953 kB / 1.038 GB, free: 276 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002748/0.917, allocations: 55.56 kB / 1.038 GB, free: 220 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.917, allocations: 8 kB / 1.038 GB, free: 212 kB / 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 (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0002587/0.9173, allocations: 197.8 kB / 1.038 GB, free: 4 kB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.9174, allocations: 47.61 kB / 1.038 GB, free: 15.95 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001314/0.9175, allocations: 61.11 kB / 1.038 GB, free: 15.89 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.9175, allocations: 4 kB / 1.038 GB, free: 15.89 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.9175, allocations: 3.938 kB / 1.038 GB, free: 15.89 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.9175, allocations: 7.766 kB / 1.038 GB, free: 15.88 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000747/0.9183, allocations: 0.579 MB / 1.039 GB, free: 15.25 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.9183, allocations: 0 / 1.039 GB, free: 15.25 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005115/0.9188, allocations: 131.9 kB / 1.039 GB, free: 15.12 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.9188, allocations: 0 / 1.039 GB, free: 15.12 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.052e-05/0.9189, allocations: 8 kB / 1.039 GB, free: 15.12 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.9189, allocations: 0 / 1.039 GB, free: 15.12 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.9189, allocations: 0 / 1.039 GB, free: 15.12 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.92, allocations: 0.6738 MB / 1.04 GB, free: 14.43 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/0.9202, allocations: 136.4 kB / 1.04 GB, free: 14.27 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.886e-05/0.9203, allocations: 4 kB / 1.04 GB, free: 14.27 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/0.9205, allocations: 23.98 kB / 1.04 GB, free: 14.25 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.922e-05/0.9206, allocations: 23.97 kB / 1.04 GB, free: 14.22 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.9206, allocations: 15.98 kB / 1.04 GB, free: 14.21 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004553/0.9211, allocations: 343.1 kB / 1.04 GB, free: 13.87 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.9211, allocations: 0 / 1.04 GB, free: 13.87 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004591/0.9215, allocations: 147.6 kB / 1.04 GB, free: 13.73 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * 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.0002407/0.9218, allocations: 123.1 kB / 1.04 GB, free: 13.6 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0006662/0.9225, allocations: 328.1 kB / 1.041 GB, free: 13.28 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.9225, allocations: 0 / 1.041 GB, free: 13.28 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003215/0.9228, allocations: 191.8 kB / 1.041 GB, free: 13.09 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007564/0.9236, allocations: 125.9 kB / 1.041 GB, free: 12.96 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002333/0.9259, allocations: 1.474 MB / 1.042 GB, free: 11.46 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006148/0.9265, allocations: 0.8668 MB / 1.043 GB, free: 10.57 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.9267, allocations: 39.44 kB / 1.043 GB, free: 10.53 MB / 0.795 GB Notification: Performance of SimCode: time 4.11e-07/0.9267, allocations: 0 / 1.043 GB, free: 10.53 MB / 0.795 GB Notification: Performance of Templates: time 0.01162/0.9383, allocations: 6.745 MB / 1.05 GB, free: 3.844 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTubeCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTubeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTubeCalcHelperMain.o] Error 1