Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007973/0.0007972, allocations: 100.8 kB / 15.71 MB, free: 456 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.001037/0.001037, allocations: 174.6 kB / 16.58 MB, free: 6.859 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.398/1.398, allocations: 223.2 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9735/0.9735, allocations: 135.3 MB / 427 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003535, allocations: 8 kB / 0.5076 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2001, allocations: 82.32 MB / 0.588 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003012/0.2032, allocations: 2.572 MB / 0.5905 GB, free: 484 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00245/0.2057, allocations: 1.944 MB / 0.5924 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.2058, allocations: 8 kB / 0.5924 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.2069, allocations: 422.2 kB / 0.5929 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002194/0.2071, allocations: 131.1 kB / 0.593 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 9.072e-05/0.2072, allocations: 35.91 kB / 0.593 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004329/0.2077, allocations: 429.9 kB / 0.5934 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002011/0.2079, allocations: 115 kB / 0.5935 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.2081, allocations: 139.4 kB / 0.5937 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000192/0.2083, allocations: 163.3 kB / 0.5938 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.408e-05/0.2083, allocations: 19.94 kB / 0.5938 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.663e-05/0.2084, allocations: 20 kB / 0.5939 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.915e-05/0.2085, allocations: 75.73 kB / 0.5939 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.201e-05/0.2086, allocations: 105.5 kB / 0.594 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003494/0.2089, allocations: 446.7 kB / 0.5945 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.2089, allocations: 4 kB / 0.5945 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2089, allocations: 0 / 0.5945 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.2089, allocations: 0 / 0.5945 GB, free: 12.44 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008684/0.2098, allocations: 0.6499 MB / 0.5951 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.2099, allocations: 12.03 kB / 0.5951 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.04e-05/0.2099, allocations: 39.53 kB / 0.5951 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004471/0.2104, allocations: 365 kB / 0.5955 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.2104, allocations: 16.44 kB / 0.5955 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.813e-05/0.2105, allocations: 23.98 kB / 0.5955 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003883/0.2109, allocations: 203.3 kB / 0.5957 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.2109, allocations: 4 kB / 0.5957 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.2109, allocations: 8 kB / 0.5957 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.2109, allocations: 4 kB / 0.5957 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003542/0.2113, allocations: 169.7 kB / 0.5959 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.2124, allocations: 0.8818 MB / 0.5968 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002809/0.2127, allocations: 154.6 kB / 0.5969 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.2129, allocations: 126.3 kB / 0.597 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.2129, allocations: 4 kB / 0.597 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.213, allocations: 38.56 kB / 0.5971 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 3.977e-06/0.213, allocations: 0 / 0.5971 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005572/0.2135, allocations: 265.4 kB / 0.5973 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.2136, allocations: 55.31 kB / 0.5974 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004365/0.214, allocations: 417.7 kB / 0.5978 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.214, allocations: 29.7 kB / 0.5978 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.2142, allocations: 200.3 kB / 0.598 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.628e-05/0.2142, allocations: 63.03 kB / 0.5981 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-06/0.2143, allocations: 8 kB / 0.5981 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.2144, allocations: 350.8 kB / 0.5984 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.2145, allocations: 55.97 kB / 0.5984 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.2147, allocations: 67.92 kB / 0.5985 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.2148, allocations: 69.88 kB / 0.5986 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.2148, allocations: 0 / 0.5986 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003523/0.2152, allocations: 224.9 kB / 0.5988 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.2152, allocations: 4 kB / 0.5988 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2152, allocations: 0 / 0.5988 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.2153, allocations: 4 kB / 0.5988 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.2155, allocations: 63.95 kB / 0.5989 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.2155, allocations: 0 / 0.5989 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.2157, allocations: 23.83 kB / 0.5989 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.2157, allocations: 15.94 kB / 0.5989 GB, free: 7.652 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 (20): * Single equations (assignments): 20 * 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.0001591/0.2159, allocations: 165.8 kB / 0.5991 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.303e-05/0.2159, allocations: 39.52 kB / 0.5991 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.542e-05/0.216, allocations: 39.59 kB / 0.5991 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.216, allocations: 3.984 kB / 0.5991 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.216, allocations: 0 / 0.5991 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.216, allocations: 4 kB / 0.5991 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004043/0.2164, allocations: 373.4 kB / 0.5995 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2165, allocations: 0 / 0.5995 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/0.2167, allocations: 55.91 kB / 0.5996 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2167, allocations: 4 kB / 0.5996 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.2167, allocations: 4 kB / 0.5996 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.2167, allocations: 4 kB / 0.5996 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.2167, allocations: 0 / 0.5996 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005859/0.2173, allocations: 398.5 kB / 0.5999 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.335e-05/0.2174, allocations: 120.6 kB / 0.6001 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.179e-05/0.2175, allocations: 4 kB / 0.6001 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.2176, allocations: 15.98 kB / 0.6001 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/0.2177, allocations: 7.984 kB / 0.6001 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-06/0.2177, allocations: 8.062 kB / 0.6001 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003136/0.218, allocations: 303.1 kB / 0.6004 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.8e-07/0.218, allocations: 3.938 kB / 0.6004 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002842/0.2183, allocations: 71.84 kB / 0.6005 GB, free: 5.969 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.0001322/0.2185, allocations: 107.2 kB / 0.6006 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003327/0.2188, allocations: 151.8 kB / 0.6007 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.2188, allocations: 0 / 0.6007 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.219, allocations: 87.89 kB / 0.6008 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005631/0.2195, allocations: 90.16 kB / 0.6009 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.2208, allocations: 0.9267 MB / 0.6018 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.2211, allocations: 0.7914 MB / 0.6025 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.976e-05/0.2212, allocations: 27.44 kB / 0.6026 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.2212, allocations: 0 / 0.6026 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of Templates: time 0.3385/0.5597, allocations: 4.304 MB / 0.6068 GB, free: 49.5 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.InternalResistancesOneUTubeCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTubeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTubeCalcHelperMain.o] Error 1