Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001013/0.001013, allocations: 95.22 kB / 16.33 MB, free: 5.957 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.0008415/0.0008416, allocations: 192.3 kB / 17.23 MB, free: 5.859 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.523/1.523, allocations: 223.2 MB / 241.2 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6833/0.6833, allocations: 114.3 MB / 406.7 MB, free: 3.953 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004262/0.0004264, allocations: 8.594 kB / 494.5 MB, free: 7.914 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1837, allocations: 77.26 MB / 0.5583 GB, free: 10.85 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004175/0.188, allocations: 3.57 MB / 0.5618 GB, free: 7.266 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003711/0.1917, allocations: 2.205 MB / 0.564 GB, free: 5.051 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004499/0.1922, allocations: 8 kB / 0.564 GB, free: 5.043 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.1936, allocations: 453.9 kB / 0.5644 GB, free: 4.598 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000621/0.1942, allocations: 214.5 kB / 0.5646 GB, free: 4.387 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002387/0.1945, allocations: 83.91 kB / 0.5647 GB, free: 4.305 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007811/0.1953, allocations: 0.75 MB / 0.5654 GB, free: 3.555 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004147/0.1957, allocations: 257.5 kB / 0.5657 GB, free: 3.293 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002824/0.196, allocations: 231 kB / 0.5659 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003178/0.1963, allocations: 282.7 kB / 0.5662 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.059e-05/0.1964, allocations: 36 kB / 0.5662 GB, free: 2.754 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.055e-05/0.1965, allocations: 32 kB / 0.5662 GB, free: 2.723 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001489/0.1966, allocations: 123.5 kB / 0.5664 GB, free: 2.602 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.1968, allocations: 165.3 kB / 0.5665 GB, free: 2.434 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007488/0.1975, allocations: 0.7945 MB / 0.5673 GB, free: 1.637 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.1975, allocations: 3.984 kB / 0.5673 GB, free: 1.633 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.1976, allocations: 4 kB / 0.5673 GB, free: 1.629 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.1976, allocations: 0 / 0.5673 GB, free: 1.629 MB / 430.1 MB 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.001443/0.199, allocations: 0.8431 MB / 0.5681 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.1991, allocations: 12.02 kB / 0.5681 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.1992, allocations: 71.16 kB / 0.5682 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006116/0.1998, allocations: 440.7 kB / 0.5686 GB, free: 192 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.678e-05/0.1999, allocations: 33 kB / 0.5687 GB, free: 160 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-05/0.1999, allocations: 48 kB / 0.5687 GB, free: 112 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000811/0.2008, allocations: 438.4 kB / 0.5691 GB, free: 15.67 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.2008, allocations: 4 kB / 0.5691 GB, free: 15.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.14e-05/0.2009, allocations: 20 kB / 0.5691 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.2009, allocations: 8 kB / 0.5692 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006783/0.2016, allocations: 383.7 kB / 0.5695 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002131/0.2037, allocations: 1.535 MB / 0.571 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005288/0.2042, allocations: 339.4 kB / 0.5713 GB, free: 13.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005259/0.2048, allocations: 365.2 kB / 0.5717 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.2048, allocations: 4 kB / 0.5717 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.2049, allocations: 38.56 kB / 0.5717 GB, free: 12.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 2.675e-06/0.2049, allocations: 0 / 0.5717 GB, free: 12.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.0009806/0.2059, allocations: 0.5049 MB / 0.5722 GB, free: 12.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.2059, allocations: 55.41 kB / 0.5723 GB, free: 12.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005653/0.2065, allocations: 489.9 kB / 0.5727 GB, free: 11.85 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.2065, allocations: 29.7 kB / 0.5728 GB, free: 11.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.2067, allocations: 281.1 kB / 0.573 GB, free: 11.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.2069, allocations: 145.8 kB / 0.5732 GB, free: 11.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.906e-05/0.2069, allocations: 8 kB / 0.5732 GB, free: 11.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.2071, allocations: 358.8 kB / 0.5735 GB, free: 11.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/0.2073, allocations: 128.7 kB / 0.5737 GB, free: 10.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.2075, allocations: 129.5 kB / 0.5738 GB, free: 10.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000262/0.2078, allocations: 147.7 kB / 0.5739 GB, free: 10.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.2078, allocations: 7.938 kB / 0.5739 GB, free: 10.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006207/0.2084, allocations: 400.6 kB / 0.5743 GB, free: 10.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.2085, allocations: 4 kB / 0.5743 GB, free: 10.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.2085, allocations: 0 / 0.5743 GB, free: 10.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.2085, allocations: 4 kB / 0.5743 GB, free: 10.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005041/0.209, allocations: 127.9 kB / 0.5744 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.2091, allocations: 11.89 kB / 0.5744 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/0.2094, allocations: 47.67 kB / 0.5745 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.2094, allocations: 15.98 kB / 0.5745 GB, free: 10.02 MB / 446.1 MB 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.0002639/0.2097, allocations: 197.3 kB / 0.5747 GB, free: 9.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.897e-05/0.2098, allocations: 51.34 kB / 0.5747 GB, free: 9.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.2099, allocations: 61.09 kB / 0.5748 GB, free: 9.707 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.2099, allocations: 4 kB / 0.5748 GB, free: 9.703 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.099e-05/0.2099, allocations: 0 / 0.5748 GB, free: 9.703 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.2099, allocations: 11.92 kB / 0.5748 GB, free: 9.691 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006725/0.2106, allocations: 0.5634 MB / 0.5754 GB, free: 9.078 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2106, allocations: 0 / 0.5754 GB, free: 9.078 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004911/0.2111, allocations: 131.9 kB / 0.5755 GB, free: 8.949 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.2111, allocations: 3.984 kB / 0.5755 GB, free: 8.945 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.2112, allocations: 8 kB / 0.5755 GB, free: 8.938 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.2112, allocations: 4 kB / 0.5755 GB, free: 8.934 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2112, allocations: 4 kB / 0.5755 GB, free: 8.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009876/0.2122, allocations: 0.671 MB / 0.5762 GB, free: 8.242 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.2123, allocations: 140.4 kB / 0.5763 GB, free: 8.086 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.838e-05/0.2124, allocations: 7.938 kB / 0.5763 GB, free: 8.078 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002795/0.2127, allocations: 23.98 kB / 0.5763 GB, free: 8.055 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.051e-05/0.2128, allocations: 27.91 kB / 0.5764 GB, free: 8.027 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.2128, allocations: 12 kB / 0.5764 GB, free: 8.016 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004251/0.2132, allocations: 347.1 kB / 0.5767 GB, free: 7.676 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2132, allocations: 0 / 0.5767 GB, free: 7.676 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004317/0.2137, allocations: 143.6 kB / 0.5768 GB, free: 7.535 MB / 446.1 MB 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.0001713/0.2138, allocations: 119.1 kB / 0.577 GB, free: 7.406 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005947/0.2144, allocations: 327.6 kB / 0.5773 GB, free: 7.086 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2144, allocations: 0 / 0.5773 GB, free: 7.086 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002841/0.2147, allocations: 191.6 kB / 0.5774 GB, free: 6.898 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007159/0.2155, allocations: 117.6 kB / 0.5776 GB, free: 6.785 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.2175, allocations: 1.477 MB / 0.579 GB, free: 5.277 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004409/0.218, allocations: 0.8707 MB / 0.5799 GB, free: 4.379 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.2181, allocations: 39.44 kB / 0.5799 GB, free: 4.34 MB / 446.1 MB Notification: Performance of SimCode: time 2.01e-07/0.2181, allocations: 0 / 0.5799 GB, free: 4.34 MB / 446.1 MB Notification: Performance of Templates: time 0.3408/0.559, allocations: 6.737 MB / 0.5865 GB, free: 29.59 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile make -j1 -f IBPSA_latest_IBPSA.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 OMCppIBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTubeCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTubeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTubeCalcHelperMain.o] Error 1