Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001112/0.001112, allocations: 96.14 kB / 15.87 MB, free: 16 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.001335/0.001335, allocations: 191.1 kB / 16.79 MB, free: 6.812 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.334/1.334, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7926/0.7926, allocations: 132.2 MB / 422.8 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001045/0.001045, allocations: 55.84 kB / 0.5017 GB, free: 4.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4847/0.4858, allocations: 80.22 MB / 0.5801 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006759/0.4926, allocations: 4.157 MB / 0.5841 GB, free: 1.621 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00537/0.4981, allocations: 2.373 MB / 0.5865 GB, free: 15.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008031/0.4989, allocations: 9.219 kB / 0.5865 GB, free: 15.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002323/0.5012, allocations: 0.4952 MB / 0.5869 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009131/0.5022, allocations: 224.8 kB / 0.5872 GB, free: 15.53 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.5026, allocations: 120.5 kB / 0.5873 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001372/0.504, allocations: 0.8061 MB / 0.5881 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006344/0.5046, allocations: 288.9 kB / 0.5883 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004993/0.5051, allocations: 266.5 kB / 0.5886 GB, free: 14.76 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005395/0.5057, allocations: 314.6 kB / 0.5889 GB, free: 14.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.5058, allocations: 47.06 kB / 0.5889 GB, free: 14.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.506, allocations: 47.06 kB / 0.589 GB, free: 14.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002472/0.5062, allocations: 153.2 kB / 0.5891 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004116/0.5066, allocations: 351.8 kB / 0.5895 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.5077, allocations: 0.8053 MB / 0.5902 GB, free: 14.08 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.5077, allocations: 0 / 0.5902 GB, free: 14.08 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.5078, allocations: 0 / 0.5902 GB, free: 14.08 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.5078, allocations: 0 / 0.5902 GB, free: 14.08 MB / 446.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.001688/0.5095, allocations: 0.9602 MB / 0.5912 GB, free: 13.37 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.5095, allocations: 8.938 kB / 0.5912 GB, free: 13.37 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.5097, allocations: 77.45 kB / 0.5913 GB, free: 13.33 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006688/0.5103, allocations: 456.8 kB / 0.5917 GB, free: 12.97 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.763e-05/0.5104, allocations: 36.47 kB / 0.5917 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.522e-05/0.5105, allocations: 51.53 kB / 0.5918 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008666/0.5114, allocations: 425.7 kB / 0.5922 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.5114, allocations: 5.062 kB / 0.5922 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.377e-05/0.5114, allocations: 20.27 kB / 0.5922 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.5115, allocations: 12.16 kB / 0.5922 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008011/0.5123, allocations: 369.1 kB / 0.5926 GB, free: 12.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002466/0.5147, allocations: 1.518 MB / 0.5941 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005886/0.5153, allocations: 353 kB / 0.5944 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005221/0.5159, allocations: 320.1 kB / 0.5947 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.5159, allocations: 7.875 kB / 0.5947 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.5159, allocations: 37.41 kB / 0.5948 GB, free: 11.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 1.673e-06/0.516, allocations: 0 / 0.5948 GB, free: 11.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.001103/0.5171, allocations: 500 kB / 0.5952 GB, free: 11.15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.5171, allocations: 58.06 kB / 0.5953 GB, free: 11.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006955/0.5178, allocations: 484.5 kB / 0.5957 GB, free: 10.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.332e-05/0.5179, allocations: 30.89 kB / 0.5958 GB, free: 10.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002496/0.5181, allocations: 275.3 kB / 0.596 GB, free: 10.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.5183, allocations: 152.3 kB / 0.5962 GB, free: 10.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.5184, allocations: 61.58 kB / 0.5962 GB, free: 10.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002263/0.5186, allocations: 358.6 kB / 0.5966 GB, free: 10.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/0.5189, allocations: 129.8 kB / 0.5967 GB, free: 10.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/0.5192, allocations: 126 kB / 0.5968 GB, free: 9.977 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005524/0.5197, allocations: 295.6 kB / 0.5971 GB, free: 9.824 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.5197, allocations: 1.188 kB / 0.5971 GB, free: 9.824 MB / 446.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006985/0.5204, allocations: 400.6 kB / 0.5975 GB, free: 9.613 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.5205, allocations: 5.094 kB / 0.5975 GB, free: 9.613 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.892e-06/0.5205, allocations: 0 / 0.5975 GB, free: 9.613 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.5205, allocations: 1.281 kB / 0.5975 GB, free: 9.613 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004983/0.521, allocations: 124.8 kB / 0.5976 GB, free: 9.586 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.521, allocations: 9.094 kB / 0.5976 GB, free: 9.578 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003058/0.5213, allocations: 45.66 kB / 0.5977 GB, free: 9.551 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.5214, allocations: 11.75 kB / 0.5977 GB, free: 9.547 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002393/0.5216, allocations: 202.3 kB / 0.5979 GB, free: 9.375 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.739e-05/0.5217, allocations: 55.88 kB / 0.5979 GB, free: 9.344 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.5218, allocations: 54.95 kB / 0.598 GB, free: 9.301 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.477e-06/0.5218, allocations: 7.969 kB / 0.598 GB, free: 9.297 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.5219, allocations: 0 / 0.598 GB, free: 9.297 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.5219, allocations: 5.109 kB / 0.598 GB, free: 9.293 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007773/0.5227, allocations: 0.5737 MB / 0.5986 GB, free: 8.816 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5227, allocations: 1.531 kB / 0.5986 GB, free: 8.816 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005075/0.5232, allocations: 127.7 kB / 0.5987 GB, free: 8.785 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.5232, allocations: 1.25 kB / 0.5987 GB, free: 8.785 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.5232, allocations: 14.81 kB / 0.5987 GB, free: 8.773 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.5232, allocations: 1.188 kB / 0.5987 GB, free: 8.773 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5232, allocations: 0 / 0.5987 GB, free: 8.773 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.5243, allocations: 0.653 MB / 0.5993 GB, free: 8.371 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.5245, allocations: 135.5 kB / 0.5995 GB, free: 8.234 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.428e-05/0.5245, allocations: 10.53 kB / 0.5995 GB, free: 8.227 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.5248, allocations: 24.42 kB / 0.5995 GB, free: 8.211 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.278e-05/0.5248, allocations: 28 kB / 0.5995 GB, free: 8.195 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.5249, allocations: 7.094 kB / 0.5995 GB, free: 8.195 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004892/0.5254, allocations: 356 kB / 0.5999 GB, free: 7.984 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5254, allocations: 0 / 0.5999 GB, free: 7.984 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004457/0.5258, allocations: 139.9 kB / 0.6 GB, free: 7.957 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 (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.0001664/0.526, allocations: 121.6 kB / 0.6001 GB, free: 7.855 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006129/0.5266, allocations: 319.3 kB / 0.6004 GB, free: 7.719 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.5266, allocations: 1.156 kB / 0.6004 GB, free: 7.719 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002971/0.5269, allocations: 175.8 kB / 0.6006 GB, free: 7.645 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.528, allocations: 125 kB / 0.6007 GB, free: 7.578 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002263/0.5303, allocations: 1.456 MB / 0.6021 GB, free: 6.531 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005014/0.5308, allocations: 0.8745 MB / 0.603 GB, free: 5.742 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.5309, allocations: 38.81 kB / 0.603 GB, free: 5.734 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.5309, allocations: 0 / 0.603 GB, free: 5.734 MB / 446.1 MB Notification: Performance of Templates: time 0.01078/0.5417, allocations: 6.822 MB / 0.6097 GB, free: 2.211 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTubeCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTubeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTubeCalcHelperMain.o] Error 1