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.0007421/0.0007423, allocations: 92.31 kB / 16.02 MB, free: 80 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.0008075/0.0008076, allocations: 177.9 kB / 16.92 MB, free: 6.652 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.358/1.358, allocations: 223.2 MB / 240.9 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7465/0.7465, allocations: 132.3 MB / 424.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003183/0.0003183, allocations: 8 kB / 0.5047 GB, free: 3.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4728/0.4731, allocations: 81.58 MB / 0.5843 GB, free: 4.281 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004147/0.4773, allocations: 3.756 MB / 0.588 GB, free: 1.543 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003445/0.4808, allocations: 2.352 MB / 0.5903 GB, free: 15.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004156/0.4812, allocations: 9.469 kB / 0.5903 GB, free: 15.81 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001557/0.4828, allocations: 0.4951 MB / 0.5908 GB, free: 15.6 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005995/0.4834, allocations: 216.8 kB / 0.591 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.4837, allocations: 125.8 kB / 0.5911 GB, free: 15.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009082/0.4846, allocations: 0.8009 MB / 0.5919 GB, free: 14.97 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000468/0.4851, allocations: 288.9 kB / 0.5922 GB, free: 14.81 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003399/0.4855, allocations: 239.1 kB / 0.5924 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003697/0.4858, allocations: 289.1 kB / 0.5927 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.522e-05/0.4859, allocations: 34.94 kB / 0.5927 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.644e-05/0.486, allocations: 34.5 kB / 0.5927 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001707/0.4862, allocations: 126.3 kB / 0.5929 GB, free: 14.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003596/0.4866, allocations: 358.8 kB / 0.5932 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000995/0.4876, allocations: 0.7938 MB / 0.594 GB, free: 14.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.4876, allocations: 1.219 kB / 0.594 GB, free: 14.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4876, allocations: 0 / 0.594 GB, free: 14.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.4876, allocations: 0 / 0.594 GB, free: 14.12 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.001398/0.489, allocations: 0.8502 MB / 0.5948 GB, free: 13.49 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.4891, allocations: 8.516 kB / 0.5948 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001424/0.4892, allocations: 72.78 kB / 0.5949 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006244/0.4898, allocations: 460.6 kB / 0.5953 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.253e-05/0.4899, allocations: 36.5 kB / 0.5954 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.93e-05/0.49, allocations: 52.41 kB / 0.5954 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009409/0.4909, allocations: 435.1 kB / 0.5958 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.491, allocations: 0 / 0.5958 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.548e-05/0.491, allocations: 20.88 kB / 0.5958 GB, free: 12.85 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.491, allocations: 11.72 kB / 0.5959 GB, free: 12.85 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008088/0.4919, allocations: 374.5 kB / 0.5962 GB, free: 12.72 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002462/0.4943, allocations: 1.543 MB / 0.5977 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005674/0.4949, allocations: 351.5 kB / 0.5981 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000504/0.4954, allocations: 324.3 kB / 0.5984 GB, free: 11.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.4955, allocations: 4.125 kB / 0.5984 GB, free: 11.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.4955, allocations: 37.31 kB / 0.5984 GB, free: 11.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 2.134e-06/0.4955, allocations: 4 kB / 0.5984 GB, free: 11.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.001034/0.4966, allocations: 0.5012 MB / 0.5989 GB, free: 11.15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.4966, allocations: 63.38 kB / 0.599 GB, free: 11.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006377/0.4973, allocations: 481.7 kB / 0.5994 GB, free: 10.81 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.4973, allocations: 35.05 kB / 0.5994 GB, free: 10.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000193/0.4975, allocations: 275.4 kB / 0.5997 GB, free: 10.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.4976, allocations: 147.4 kB / 0.5999 GB, free: 10.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-05/0.4977, allocations: 39 kB / 0.5999 GB, free: 10.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.4979, allocations: 359.7 kB / 0.6002 GB, free: 10.01 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002545/0.4981, allocations: 125.9 kB / 0.6004 GB, free: 9.949 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.4984, allocations: 139.6 kB / 0.6005 GB, free: 9.883 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000542/0.4989, allocations: 302.1 kB / 0.6008 GB, free: 9.734 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4989, allocations: 0 / 0.6008 GB, free: 9.734 MB / 446.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007185/0.4997, allocations: 402.4 kB / 0.6012 GB, free: 9.531 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.4997, allocations: 7.938 kB / 0.6012 GB, free: 9.531 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.4997, allocations: 0 / 0.6012 GB, free: 9.531 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.4997, allocations: 2.5 kB / 0.6012 GB, free: 9.531 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004921/0.5002, allocations: 130.7 kB / 0.6013 GB, free: 9.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.978e-06/0.5003, allocations: 5.359 kB / 0.6013 GB, free: 9.496 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003476/0.5006, allocations: 55.48 kB / 0.6013 GB, free: 9.461 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.5006, allocations: 12.16 kB / 0.6014 GB, free: 9.457 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.0002388/0.5009, allocations: 197.9 kB / 0.6015 GB, free: 9.289 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.978e-05/0.501, allocations: 51.81 kB / 0.6016 GB, free: 9.262 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.5011, allocations: 62.94 kB / 0.6017 GB, free: 9.211 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.5011, allocations: 3.656 kB / 0.6017 GB, free: 9.211 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.5011, allocations: 1.281 kB / 0.6017 GB, free: 9.211 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.5011, allocations: 0 / 0.6017 GB, free: 9.211 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006756/0.5018, allocations: 0.5828 MB / 0.6022 GB, free: 8.727 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.5018, allocations: 4 kB / 0.6022 GB, free: 8.723 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004992/0.5023, allocations: 125.8 kB / 0.6024 GB, free: 8.695 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.5023, allocations: 5.906 kB / 0.6024 GB, free: 8.691 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-05/0.5024, allocations: 14.08 kB / 0.6024 GB, free: 8.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.5024, allocations: 2.219 kB / 0.6024 GB, free: 8.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.5024, allocations: 4 kB / 0.6024 GB, free: 8.676 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.5034, allocations: 0.67 MB / 0.603 GB, free: 8.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.5036, allocations: 136.2 kB / 0.6032 GB, free: 8.133 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.981e-05/0.5036, allocations: 6.469 kB / 0.6032 GB, free: 8.129 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.5039, allocations: 27.55 kB / 0.6032 GB, free: 8.113 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.446e-05/0.504, allocations: 27.86 kB / 0.6032 GB, free: 8.098 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.504, allocations: 10.97 kB / 0.6032 GB, free: 8.094 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004137/0.5044, allocations: 347 kB / 0.6036 GB, free: 7.891 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5044, allocations: 0 / 0.6036 GB, free: 7.891 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004474/0.5049, allocations: 145.2 kB / 0.6037 GB, free: 7.859 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.0001447/0.505, allocations: 122.2 kB / 0.6038 GB, free: 7.754 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006158/0.5056, allocations: 324.9 kB / 0.6041 GB, free: 7.621 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5057, allocations: 0 / 0.6041 GB, free: 7.621 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002916/0.506, allocations: 189.6 kB / 0.6043 GB, free: 7.539 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007197/0.5067, allocations: 121.3 kB / 0.6044 GB, free: 7.477 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/0.5088, allocations: 1.539 MB / 0.6059 GB, free: 6.348 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004528/0.5093, allocations: 0.8681 MB / 0.6068 GB, free: 5.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.5095, allocations: 37.59 kB / 0.6068 GB, free: 5.562 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5095, allocations: 0 / 0.6068 GB, free: 5.562 MB / 446.1 MB Notification: Performance of Templates: time 0.01087/0.5203, allocations: 6.733 MB / 0.6134 GB, free: 2.121 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