Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0008308/0.0008308, 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.0009294/0.0009295, allocations: 180.6 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.919/1.919, allocations: 205.4 MB / 223.1 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.884/1.884, allocations: 292.7 MB / 0.5509 GB, free: 14.5 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005588/0.0005588, allocations: 17.47 kB / 0.675 GB, free: 25.69 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3413, allocations: 116.3 MB / 0.7886 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003553/0.3449, allocations: 2.706 MB / 0.7912 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003078/0.348, allocations: 2.119 MB / 0.7933 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001826/0.3482, allocations: 8 kB / 0.7933 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001394/0.3496, allocations: 470.1 kB / 0.7937 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000267/0.3499, allocations: 135.1 kB / 0.7939 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001266/0.3501, allocations: 47.97 kB / 0.7939 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005179/0.3506, allocations: 465.8 kB / 0.7944 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002591/0.3509, allocations: 135.9 kB / 0.7945 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/0.3511, allocations: 135.3 kB / 0.7946 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002314/0.3513, allocations: 175.1 kB / 0.7948 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.244e-05/0.3513, allocations: 16 kB / 0.7948 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.801e-05/0.3514, allocations: 20 kB / 0.7948 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.3515, allocations: 75.69 kB / 0.7949 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002122/0.3518, allocations: 224.6 kB / 0.7951 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003953/0.3522, allocations: 442.7 kB / 0.7955 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.3522, allocations: 0 / 0.7955 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3522, allocations: 0 / 0.7955 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.3522, allocations: 4 kB / 0.7955 GB, free: 4.398 MB / 0.6075 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.001018/0.3532, allocations: 0.6424 MB / 0.7962 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.3533, allocations: 12.03 kB / 0.7962 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.284e-05/0.3534, allocations: 44.38 kB / 0.7962 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004897/0.3539, allocations: 378.1 kB / 0.7966 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.3539, allocations: 12.81 kB / 0.7966 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.481e-05/0.3539, allocations: 20.38 kB / 0.7966 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004157/0.3544, allocations: 211.5 kB / 0.7968 GB, free: 3 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.3544, allocations: 4 kB / 0.7968 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.3544, allocations: 7.938 kB / 0.7968 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.3544, allocations: 11.94 kB / 0.7968 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003951/0.3548, allocations: 177.6 kB / 0.797 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.3561, allocations: 0.8701 MB / 0.7979 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003137/0.3564, allocations: 166.5 kB / 0.798 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002249/0.3566, allocations: 115.2 kB / 0.7981 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.3566, allocations: 4 kB / 0.7981 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.3567, allocations: 38.56 kB / 0.7982 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.513e-06/0.3567, allocations: 0 / 0.7982 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0006591/0.3574, allocations: 280.2 kB / 0.7984 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.3574, allocations: 51.41 kB / 0.7985 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005008/0.3579, allocations: 421.7 kB / 0.7989 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.3579, allocations: 25.7 kB / 0.7989 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.3581, allocations: 204.2 kB / 0.7991 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.777e-05/0.3582, allocations: 67.08 kB / 0.7992 GB, free: 476 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.3582, allocations: 17.72 kB / 0.7992 GB, free: 452 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.3584, allocations: 350.8 kB / 0.7995 GB, free: 92 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.3585, allocations: 63.97 kB / 0.7996 GB, free: 28 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.3587, allocations: 64.03 kB / 0.7996 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003153/0.359, allocations: 151.4 kB / 0.7998 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.359, allocations: 0 / 0.7998 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003956/0.3594, allocations: 217.2 kB / 0.8 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.3595, allocations: 4 kB / 0.8 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3595, allocations: 4 kB / 0.8 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.3595, allocations: 7.938 kB / 0.8 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.3598, allocations: 55.95 kB / 0.8001 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.505e-06/0.3598, allocations: 0 / 0.8001 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/0.36, allocations: 31.73 kB / 0.8001 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.36, allocations: 4 kB / 0.8001 GB, free: 15.49 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001761/0.3602, allocations: 170.4 kB / 0.8003 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.52e-05/0.3602, allocations: 31.62 kB / 0.8003 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.737e-05/0.3603, allocations: 43.53 kB / 0.8003 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3603, allocations: 0 / 0.8003 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.3603, allocations: 3.938 kB / 0.8003 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3604, allocations: 4 kB / 0.8003 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004566/0.3608, allocations: 373.2 kB / 0.8007 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3608, allocations: 0 / 0.8007 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003163/0.3612, allocations: 63.91 kB / 0.8008 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3612, allocations: 0 / 0.8008 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.449e-05/0.3612, allocations: 3.938 kB / 0.8008 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.3612, allocations: 4 kB / 0.8008 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3612, allocations: 0 / 0.8008 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006426/0.3619, allocations: 394.9 kB / 0.8011 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.362, allocations: 128.5 kB / 0.8013 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.408e-05/0.362, allocations: 3.938 kB / 0.8013 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.3622, allocations: 20.05 kB / 0.8013 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.298e-05/0.3623, allocations: 11.98 kB / 0.8013 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/0.3623, allocations: 8 kB / 0.8013 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003165/0.3626, allocations: 295.2 kB / 0.8016 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3626, allocations: 0 / 0.8016 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003014/0.3629, allocations: 71.84 kB / 0.8017 GB, free: 13.8 MB / 0.6231 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 (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.0001611/0.3631, allocations: 115.2 kB / 0.8018 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003821/0.3635, allocations: 158.5 kB / 0.8019 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3635, allocations: 0 / 0.8019 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.3637, allocations: 83.89 kB / 0.802 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006401/0.3643, allocations: 93.42 kB / 0.8021 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.3657, allocations: 0.9627 MB / 0.803 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.3662, allocations: 0.7953 MB / 0.8038 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.231e-05/0.3662, allocations: 31.38 kB / 0.8038 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of SimCode: time 4.71e-07/0.3663, allocations: 0 / 0.8038 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of Templates: time 0.006882/0.3731, allocations: 4.29 MB / 0.808 GB, free: 7.254 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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 OMCppBuildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTubeCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTubeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTubeCalcHelperMain.o] Error 1