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.005816/0.005816, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.00109/0.00109, allocations: 192.4 kB / 16.78 MB, free: 5.809 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.272/1.272, allocations: 222.9 MB / 240.4 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6951/0.6951, allocations: 132.2 MB / 422.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001038/0.001038, allocations: 58.38 kB / 0.5018 GB, free: 9.152 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1728, allocations: 80.22 MB / 0.5801 GB, free: 9.164 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002436/0.1752, allocations: 1.483 MB / 0.5815 GB, free: 7.664 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0039/0.1792, allocations: 3.005 MB / 0.5845 GB, free: 4.648 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.465e-05/0.1792, allocations: 0 / 0.5845 GB, free: 4.648 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.075e-05/0.1793, allocations: 7.922 kB / 0.5845 GB, free: 4.641 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.036e-05/0.1793, allocations: 15.86 kB / 0.5845 GB, free: 4.625 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003068/0.1824, allocations: 1.384 MB / 0.5859 GB, free: 3.273 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.397e-05/0.1825, allocations: 47.67 kB / 0.5859 GB, free: 3.227 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.068e-05/0.1825, allocations: 4 kB / 0.5859 GB, free: 3.223 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.288e-05/0.1826, allocations: 11.94 kB / 0.5859 GB, free: 3.211 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.705e-05/0.1826, allocations: 15.92 kB / 0.5859 GB, free: 3.195 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.1826, allocations: 4 kB / 0.5859 GB, free: 3.191 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001813/0.1844, allocations: 1.466 MB / 0.5874 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.25e-05/0.1844, allocations: 4 kB / 0.5874 GB, free: 1.719 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.847e-05/0.1845, allocations: 11.88 kB / 0.5874 GB, free: 1.707 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008697/0.1854, allocations: 0.7801 MB / 0.5881 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.1854, allocations: 0 / 0.5881 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.1854, allocations: 7.938 kB / 0.5882 GB, free: 0.918 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.1854, allocations: 0 / 0.5882 GB, free: 0.918 MB / 494.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.0005706/0.186, allocations: 0.5224 MB / 0.5887 GB, free: 356 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.186, allocations: 8.031 kB / 0.5887 GB, free: 348 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.345e-05/0.1861, allocations: 84.12 kB / 0.5888 GB, free: 264 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.1862, allocations: 251.5 kB / 0.589 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.517e-05/0.1863, allocations: 154.9 kB / 0.5891 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.534e-05/0.1864, allocations: 158.5 kB / 0.5893 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.578e-05/0.1864, allocations: 101 kB / 0.5894 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.1865, allocations: 75.28 kB / 0.5895 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.98e-05/0.1865, allocations: 154.6 kB / 0.5896 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.623e-05/0.1866, allocations: 154.6 kB / 0.5898 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.891e-05/0.1866, allocations: 162.5 kB / 0.5899 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002619/0.1869, allocations: 461.9 kB / 0.5903 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.67e-05/0.187, allocations: 169.1 kB / 0.5905 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.813e-05/0.187, allocations: 80.14 kB / 0.5906 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.187, allocations: 75.28 kB / 0.5907 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/0.1871, allocations: 113.8 kB / 0.5908 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.1871, allocations: 0 / 0.5908 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.23e-05/0.1872, allocations: 33.61 kB / 0.5908 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.306e-05/0.1872, allocations: 134.7 kB / 0.5909 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.1874, allocations: 131.5 kB / 0.5911 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.1874, allocations: 25.7 kB / 0.5911 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.968e-05/0.1875, allocations: 92.08 kB / 0.5912 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-06/0.1875, allocations: 4 kB / 0.5912 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.1875, allocations: 21.7 kB / 0.5912 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.986e-05/0.1876, allocations: 314.8 kB / 0.5915 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.152e-05/0.1876, allocations: 4 kB / 0.5915 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.911e-05/0.1877, allocations: 8 kB / 0.5915 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.939e-05/0.1877, allocations: 24.77 kB / 0.5915 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1877, allocations: 3.938 kB / 0.5915 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001161/0.1878, allocations: 49.61 kB / 0.5916 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.1879, allocations: 8.062 kB / 0.5916 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/0.1879, allocations: 4 kB / 0.5916 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.1879, allocations: 0 / 0.5916 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.1879, allocations: 0 / 0.5916 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.1879, allocations: 0 / 0.5916 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.585e-05/0.1879, allocations: 7.938 kB / 0.5916 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.188, allocations: 0 / 0.5916 GB, free: 13.16 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 (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 8.516e-05/0.188, allocations: 193 kB / 0.5918 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.833e-05/0.1881, allocations: 120.9 kB / 0.5919 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.139e-05/0.1882, allocations: 112.9 kB / 0.592 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.922e-05/0.1882, allocations: 176.3 kB / 0.5922 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.539e-05/0.1883, allocations: 184.2 kB / 0.5923 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.064e-05/0.1883, allocations: 176.3 kB / 0.5925 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.1885, allocations: 421.1 kB / 0.5929 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.778e-05/0.1886, allocations: 105 kB / 0.593 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.781e-05/0.1886, allocations: 109 kB / 0.5931 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-05/0.1887, allocations: 184.2 kB / 0.5933 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.867e-05/0.1887, allocations: 176.3 kB / 0.5935 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-05/0.1888, allocations: 180.2 kB / 0.5936 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.988e-05/0.1888, allocations: 184.3 kB / 0.5938 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.189, allocations: 315.6 kB / 0.5941 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.198e-05/0.1891, allocations: 178.1 kB / 0.5943 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.62e-05/0.1891, allocations: 184.2 kB / 0.5945 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.1892, allocations: 109 kB / 0.5946 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.865e-05/0.1893, allocations: 188.2 kB / 0.5947 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-05/0.1893, allocations: 101 kB / 0.5948 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.614e-05/0.1894, allocations: 105 kB / 0.5949 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1894, allocations: 0 / 0.5949 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006864/0.1901, allocations: 287.8 kB / 0.5952 GB, free: 9.223 MB / 0.4981 GB 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.00102/0.1911, allocations: 0.5345 MB / 0.5957 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001025/0.1912, allocations: 41.69 kB / 0.5958 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1912, allocations: 3.938 kB / 0.5958 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.016e-06/0.1912, allocations: 3.938 kB / 0.5958 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004292/0.1917, allocations: 0.5308 MB / 0.5963 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003119/0.192, allocations: 259.6 kB / 0.5965 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.1922, allocations: 0.6887 MB / 0.5972 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.243e-05/0.1922, allocations: 15.38 kB / 0.5972 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1922, allocations: 0 / 0.5972 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of Templates: time 0.006739/0.199, allocations: 4.731 MB / 0.6019 GB, free: 2.352 MB / 0.4981 GB 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