Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008478/0.0008478, allocations: 91.92 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.0008771/0.0008774, allocations: 180.7 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.325/1.325, allocations: 223.2 MB / 240.9 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7216/0.7216, allocations: 132.3 MB / 424.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003183/0.0003183, allocations: 8 kB / 0.5047 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4871/0.4875, allocations: 81.58 MB / 0.5843 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001485/0.489, allocations: 1.157 MB / 0.5855 GB, free: 3.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004608/0.4936, allocations: 2.931 MB / 0.5883 GB, free: 1.18 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.679e-05/0.4937, allocations: 0 / 0.5883 GB, free: 1.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.28e-05/0.4937, allocations: 6 kB / 0.5883 GB, free: 1.176 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.998e-05/0.4938, allocations: 15.67 kB / 0.5884 GB, free: 1.164 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003849/0.4977, allocations: 1.371 MB / 0.5897 GB, free: 484 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.69e-05/0.4978, allocations: 49.88 kB / 0.5897 GB, free: 456 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.73e-05/0.4978, allocations: 14.27 kB / 0.5898 GB, free: 444 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.515e-05/0.4979, allocations: 12.27 kB / 0.5898 GB, free: 440 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.244e-05/0.4979, allocations: 17.67 kB / 0.5898 GB, free: 432 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.4979, allocations: 1.781 kB / 0.5898 GB, free: 432 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002958/0.5009, allocations: 1.46 MB / 0.5912 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.906e-05/0.5009, allocations: 6.375 kB / 0.5912 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.346e-05/0.501, allocations: 46.17 kB / 0.5913 GB, free: 15.92 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.5024, allocations: 0.7681 MB / 0.592 GB, free: 15.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.5025, allocations: 0 / 0.592 GB, free: 15.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.5025, allocations: 5.172 kB / 0.592 GB, free: 15.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.5025, allocations: 0 / 0.592 GB, free: 15.78 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006253/0.5031, allocations: 0.5076 MB / 0.5925 GB, free: 15.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.5032, allocations: 13.19 kB / 0.5925 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.934e-05/0.5032, allocations: 83.92 kB / 0.5926 GB, free: 15.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.5034, allocations: 257.3 kB / 0.5929 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.613e-05/0.5035, allocations: 154.9 kB / 0.593 GB, free: 14.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.549e-05/0.5035, allocations: 160.2 kB / 0.5932 GB, free: 14.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.891e-05/0.5036, allocations: 101.7 kB / 0.5932 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/0.5036, allocations: 76.06 kB / 0.5933 GB, free: 14.44 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.982e-05/0.5037, allocations: 151.2 kB / 0.5935 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.944e-05/0.5037, allocations: 151.6 kB / 0.5936 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.985e-05/0.5038, allocations: 154.5 kB / 0.5938 GB, free: 13.99 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002928/0.5041, allocations: 466.1 kB / 0.5942 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.172e-05/0.5042, allocations: 171 kB / 0.5944 GB, free: 13.33 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.567e-05/0.5042, allocations: 81.39 kB / 0.5944 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.5042, allocations: 79.28 kB / 0.5945 GB, free: 13.17 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.16e-05/0.5043, allocations: 111.2 kB / 0.5946 GB, free: 13.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.5043, allocations: 0 / 0.5946 GB, free: 13.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 7.301e-05/0.5044, allocations: 37.48 kB / 0.5947 GB, free: 13.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.5044, allocations: 126.7 kB / 0.5948 GB, free: 12.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.5046, allocations: 138.8 kB / 0.5949 GB, free: 12.76 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.5046, allocations: 26.95 kB / 0.5949 GB, free: 12.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.665e-05/0.5047, allocations: 87.8 kB / 0.595 GB, free: 12.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.5047, allocations: 4 kB / 0.595 GB, free: 12.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.637e-05/0.5047, allocations: 17.17 kB / 0.595 GB, free: 12.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.5048, allocations: 315.9 kB / 0.5953 GB, free: 12.31 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.315e-05/0.5048, allocations: 6.984 kB / 0.5953 GB, free: 12.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.687e-05/0.5049, allocations: 4.141 kB / 0.5954 GB, free: 12.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.781e-05/0.5049, allocations: 19.09 kB / 0.5954 GB, free: 12.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.5049, allocations: 4.844 kB / 0.5954 GB, free: 12.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001271/0.5051, allocations: 50.11 kB / 0.5954 GB, free: 12.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.5051, allocations: 4.688 kB / 0.5954 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/0.5051, allocations: 11.59 kB / 0.5954 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.5051, allocations: 1 kB / 0.5954 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.723e-06/0.5051, allocations: 0.5156 kB / 0.5954 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.5051, allocations: 1.094 kB / 0.5954 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.176e-05/0.5052, allocations: 5.156 kB / 0.5954 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.5052, allocations: 1.953 kB / 0.5954 GB, free: 12.23 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 9.442e-05/0.5053, allocations: 191.2 kB / 0.5956 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-05/0.5053, allocations: 107.8 kB / 0.5957 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.011e-05/0.5054, allocations: 120.6 kB / 0.5958 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.18e-05/0.5055, allocations: 178.1 kB / 0.596 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.935e-05/0.5055, allocations: 181.7 kB / 0.5962 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.554e-05/0.5056, allocations: 182.2 kB / 0.5964 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.5058, allocations: 421.6 kB / 0.5968 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.56e-05/0.5059, allocations: 106 kB / 0.5969 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.984e-05/0.5059, allocations: 103.2 kB / 0.597 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.16e-05/0.506, allocations: 181.5 kB / 0.5971 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-05/0.506, allocations: 177.9 kB / 0.5973 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.431e-05/0.5061, allocations: 181.7 kB / 0.5975 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.097e-05/0.5062, allocations: 182.7 kB / 0.5977 GB, free: 9.859 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.5063, allocations: 310.8 kB / 0.598 GB, free: 9.539 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.794e-05/0.5064, allocations: 192.7 kB / 0.5981 GB, free: 9.328 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.701e-05/0.5065, allocations: 183.2 kB / 0.5983 GB, free: 9.145 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.579e-05/0.5066, allocations: 102.3 kB / 0.5984 GB, free: 9.039 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.496e-05/0.5066, allocations: 182.6 kB / 0.5986 GB, free: 8.855 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.705e-05/0.5067, allocations: 106.2 kB / 0.5987 GB, free: 8.746 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.885e-05/0.5067, allocations: 103.9 kB / 0.5988 GB, free: 8.664 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5067, allocations: 1.156 kB / 0.5988 GB, free: 8.664 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000869/0.5076, allocations: 283 kB / 0.5991 GB, free: 8.602 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.001168/0.5088, allocations: 0.5291 MB / 0.5996 GB, free: 8.336 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001004/0.5089, allocations: 40.58 kB / 0.5996 GB, free: 8.301 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5089, allocations: 1.219 kB / 0.5996 GB, free: 8.301 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.5089, allocations: 0 / 0.5996 GB, free: 8.301 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.5093, allocations: 0.5401 MB / 0.6001 GB, free: 7.762 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003437/0.5097, allocations: 282.9 kB / 0.6004 GB, free: 7.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.5099, allocations: 0.6859 MB / 0.6011 GB, free: 6.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.232e-05/0.5099, allocations: 10.17 kB / 0.6011 GB, free: 6.812 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5099, allocations: 0.5938 kB / 0.6011 GB, free: 6.812 MB / 446.1 MB Notification: Performance of Templates: time 0.008624/0.5186, allocations: 4.738 MB / 0.6057 GB, free: 4.852 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.Functions.Validation.InternalResistancesTwoUTubeCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeCalcHelperMain.o] Error 1