Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.0009372/0.0009372, 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.001333/0.001333, allocations: 176.5 kB / 16.58 MB, free: 6.07 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.429/1.429, allocations: 223.2 MB / 240.6 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.01/1.01, allocations: 135.3 MB / 427 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003434, allocations: 8 kB / 0.5076 GB, free: 5.117 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.205, allocations: 82.31 MB / 0.588 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004188/0.2093, allocations: 3.57 MB / 0.5915 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003212/0.2125, allocations: 2.209 MB / 0.5937 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002752/0.2128, allocations: 12 kB / 0.5937 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.2141, allocations: 450 kB / 0.5941 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004737/0.2145, allocations: 214.5 kB / 0.5943 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.2148, allocations: 79.94 kB / 0.5944 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007651/0.2155, allocations: 0.7629 MB / 0.5951 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004056/0.216, allocations: 257.5 kB / 0.5954 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002737/0.2162, allocations: 231.1 kB / 0.5956 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002962/0.2165, allocations: 274.8 kB / 0.5959 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.307e-05/0.2166, allocations: 36 kB / 0.5959 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.874e-05/0.2167, allocations: 36 kB / 0.5959 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001364/0.2168, allocations: 127.5 kB / 0.5961 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.217, allocations: 157.4 kB / 0.5962 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006327/0.2176, allocations: 0.7945 MB / 0.597 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.2176, allocations: 0 / 0.597 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2176, allocations: 4 kB / 0.597 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.2176, allocations: 0 / 0.597 GB, free: 9.742 MB / 0.4981 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.001213/0.2189, allocations: 0.8449 MB / 0.5978 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.2189, allocations: 12.03 kB / 0.5978 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.219, allocations: 75.09 kB / 0.5979 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005658/0.2196, allocations: 444.6 kB / 0.5983 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/0.2196, allocations: 37 kB / 0.5984 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.403e-05/0.2197, allocations: 44 kB / 0.5984 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007554/0.2205, allocations: 430.5 kB / 0.5988 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.2205, allocations: 3.906 kB / 0.5988 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.216e-05/0.2206, allocations: 23.98 kB / 0.5988 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.2206, allocations: 12 kB / 0.5988 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006544/0.2212, allocations: 375.8 kB / 0.5992 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001933/0.2232, allocations: 1.539 MB / 0.6007 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005071/0.2237, allocations: 339.7 kB / 0.601 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004949/0.2242, allocations: 345.5 kB / 0.6014 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.2242, allocations: 8.641 kB / 0.6014 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.2243, allocations: 46.55 kB / 0.6014 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=42): time 3.085e-06/0.2243, allocations: 0 / 0.6014 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.0009389/0.2252, allocations: 0.5118 MB / 0.6019 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.2253, allocations: 59.19 kB / 0.602 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005417/0.2258, allocations: 481.9 kB / 0.6024 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.2259, allocations: 29.7 kB / 0.6025 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/0.2261, allocations: 276.4 kB / 0.6027 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.2262, allocations: 149.8 kB / 0.6029 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.748e-05/0.2262, allocations: 8 kB / 0.6029 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.2264, allocations: 366.8 kB / 0.6032 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000227/0.2266, allocations: 124.7 kB / 0.6033 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/0.2269, allocations: 129.4 kB / 0.6035 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002567/0.2271, allocations: 147.7 kB / 0.6036 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2272, allocations: 0 / 0.6036 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005987/0.2278, allocations: 399.9 kB / 0.604 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.2278, allocations: 11.95 kB / 0.604 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.2278, allocations: 0 / 0.604 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.2278, allocations: 0 / 0.604 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004643/0.2283, allocations: 131.9 kB / 0.6041 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.2283, allocations: 0 / 0.6041 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002603/0.2286, allocations: 51.56 kB / 0.6042 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.2286, allocations: 16 kB / 0.6042 GB, free: 2.117 MB / 0.4981 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.00024/0.2289, allocations: 197.8 kB / 0.6044 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.307e-05/0.2289, allocations: 51.42 kB / 0.6044 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.2291, allocations: 61.06 kB / 0.6045 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.2291, allocations: 4 kB / 0.6045 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.2291, allocations: 0 / 0.6045 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.2291, allocations: 3.984 kB / 0.6045 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006442/0.2298, allocations: 0.5751 MB / 0.605 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.2298, allocations: 3.938 kB / 0.6051 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000485/0.2303, allocations: 127.9 kB / 0.6052 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.2303, allocations: 4 kB / 0.6052 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/0.2303, allocations: 8 kB / 0.6052 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.2303, allocations: 7.953 kB / 0.6052 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.2303, allocations: 7.938 kB / 0.6052 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000966/0.2313, allocations: 0.6596 MB / 0.6058 GB, free: 348 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.2314, allocations: 140.4 kB / 0.606 GB, free: 188 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.668e-05/0.2315, allocations: 8 kB / 0.606 GB, free: 180 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.2317, allocations: 27.98 kB / 0.606 GB, free: 152 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.913e-05/0.2318, allocations: 27.92 kB / 0.606 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.2318, allocations: 4 kB / 0.606 GB, free: 120 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.4155/0.6473, allocations: 349.4 kB / 0.6064 GB, free: 48.95 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.11e-07/0.6474, allocations: 0 / 0.6064 GB, free: 48.95 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007727/0.6482, allocations: 146.2 kB / 0.6065 GB, free: 48.95 MB / 0.4981 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.0001779/0.6484, allocations: 114.5 kB / 0.6066 GB, free: 48.86 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007729/0.6491, allocations: 332.6 kB / 0.6069 GB, free: 48.86 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.6492, allocations: 2.219 kB / 0.6069 GB, free: 48.86 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000295/0.6495, allocations: 189.5 kB / 0.6071 GB, free: 48.86 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00085/0.6503, allocations: 112.5 kB / 0.6072 GB, free: 48.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/0.6524, allocations: 1.473 MB / 0.6087 GB, free: 48.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.6528, allocations: 0.8719 MB / 0.6095 GB, free: 47.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.6529, allocations: 37.03 kB / 0.6096 GB, free: 47.39 MB / 0.4981 GB Notification: Performance of SimCode: time 3.71e-07/0.6529, allocations: 1.312 kB / 0.6096 GB, free: 47.39 MB / 0.4981 GB Notification: Performance of Templates: time 0.009818/0.6627, allocations: 6.744 MB / 0.6161 GB, free: 46.88 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile make -j1 -f IDEAS_dev_IDEAS.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 OMCppIDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTubeCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTubeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTubeCalcHelperMain.o] Error 1