Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008948/0.0008947, allocations: 102 kB / 15.71 MB, free: 460 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.001147/0.001148, allocations: 175.8 kB / 16.58 MB, free: 6.086 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.912/1.912, allocations: 205.4 MB / 222.8 MB, free: 5.613 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.824/1.824, allocations: 292.7 MB / 0.5505 GB, free: 14.55 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.0005522/0.0005522, allocations: 17.78 kB / 0.6744 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3154, allocations: 116.3 MB / 0.7879 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001706/0.3171, allocations: 1.186 MB / 0.7891 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001423/0.3186, allocations: 0.8702 MB / 0.7899 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.051e-05/0.3187, allocations: 3.938 kB / 0.7899 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001787/0.3188, allocations: 39.83 kB / 0.79 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.193e-05/0.3189, allocations: 15.84 kB / 0.79 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004902/0.3194, allocations: 171.4 kB / 0.7902 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.172e-05/0.3195, allocations: 47.73 kB / 0.7902 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.354e-05/0.3195, allocations: 0 / 0.7902 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.466e-05/0.3196, allocations: 15.88 kB / 0.7902 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.779e-05/0.3196, allocations: 15.92 kB / 0.7902 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.3197, allocations: 0 / 0.7902 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002963/0.32, allocations: 143.8 kB / 0.7904 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.32, allocations: 3.938 kB / 0.7904 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.043e-05/0.32, allocations: 29.7 kB / 0.7904 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.3202, allocations: 88.08 kB / 0.7905 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3202, allocations: 0 / 0.7905 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.614e-06/0.3202, allocations: 0 / 0.7905 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.3202, allocations: 3.938 kB / 0.7905 GB, free: 9.305 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004023/0.3206, allocations: 359.1 kB / 0.7908 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.3207, allocations: 16.02 kB / 0.7909 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.408e-05/0.3208, allocations: 79.19 kB / 0.7909 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.321, allocations: 262.1 kB / 0.7912 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.078e-05/0.3211, allocations: 158.5 kB / 0.7913 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.192e-05/0.3212, allocations: 158.5 kB / 0.7915 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.676e-05/0.3212, allocations: 104.9 kB / 0.7916 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.509e-05/0.3213, allocations: 75.28 kB / 0.7917 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.979e-05/0.3214, allocations: 150.6 kB / 0.7918 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.607e-05/0.3214, allocations: 150.6 kB / 0.7919 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.855e-05/0.3215, allocations: 162.6 kB / 0.7921 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000331/0.3218, allocations: 469.8 kB / 0.7925 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.748e-05/0.3219, allocations: 165.1 kB / 0.7927 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.746e-05/0.322, allocations: 80.14 kB / 0.7928 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/0.322, allocations: 83.28 kB / 0.7929 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.195e-05/0.3221, allocations: 109.8 kB / 0.793 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.3221, allocations: 0 / 0.793 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 8.436e-05/0.3222, allocations: 33.64 kB / 0.793 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.266e-05/0.3223, allocations: 126.7 kB / 0.7931 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.3224, allocations: 133.9 kB / 0.7932 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.3224, allocations: 29.7 kB / 0.7933 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.271e-05/0.3225, allocations: 92.14 kB / 0.7934 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-06/0.3225, allocations: 0 / 0.7934 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.275e-06/0.3225, allocations: 0 / 0.7934 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3227, allocations: 318.8 kB / 0.7937 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.145e-05/0.3227, allocations: 8 kB / 0.7937 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.49e-05/0.3227, allocations: 4 kB / 0.7937 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.641e-05/0.3227, allocations: 4 kB / 0.7937 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3228, allocations: 0 / 0.7937 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001224/0.3229, allocations: 57.56 kB / 0.7937 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.3229, allocations: 4 kB / 0.7937 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/0.3229, allocations: 0 / 0.7937 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.3229, allocations: 4 kB / 0.7937 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/0.323, allocations: 0 / 0.7937 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.323, allocations: 0 / 0.7937 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.13e-05/0.323, allocations: 3.938 kB / 0.7937 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.323, allocations: 0 / 0.7937 GB, free: 5.746 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001253/0.3231, allocations: 197.7 kB / 0.7939 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.297e-05/0.3232, allocations: 108.9 kB / 0.794 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.777e-05/0.3233, allocations: 112.8 kB / 0.7941 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.986e-05/0.3234, allocations: 184.3 kB / 0.7943 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.226e-05/0.3235, allocations: 188.2 kB / 0.7945 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.191e-05/0.3235, allocations: 184.1 kB / 0.7947 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002845/0.3238, allocations: 413.3 kB / 0.7951 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.501e-05/0.3239, allocations: 108.9 kB / 0.7952 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.438e-05/0.3239, allocations: 109 kB / 0.7953 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.403e-05/0.324, allocations: 180.2 kB / 0.7954 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.719e-05/0.3241, allocations: 180.2 kB / 0.7956 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.774e-05/0.3242, allocations: 180.3 kB / 0.7958 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.771e-05/0.3243, allocations: 184.2 kB / 0.796 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.3245, allocations: 307.8 kB / 0.7963 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.077e-05/0.3246, allocations: 190 kB / 0.7964 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.796e-05/0.3247, allocations: 176.3 kB / 0.7966 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.145e-05/0.3247, allocations: 104.9 kB / 0.7967 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.21e-05/0.3248, allocations: 192.2 kB / 0.7969 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.571e-05/0.3249, allocations: 108.9 kB / 0.797 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.747e-05/0.325, allocations: 98.23 kB / 0.7971 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.325, allocations: 0 / 0.7971 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002904/0.3253, allocations: 28 kB / 0.7971 GB, free: 2.062 MB / 0.6075 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 (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.0003069/0.3256, allocations: 222.4 kB / 0.7973 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.277e-05/0.3257, allocations: 41.7 kB / 0.7974 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3257, allocations: 0 / 0.7974 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.462e-06/0.3257, allocations: 0 / 0.7974 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004875/0.3262, allocations: 0.5302 MB / 0.7979 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003434/0.3265, allocations: 269.5 kB / 0.7981 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.3268, allocations: 0.6848 MB / 0.7988 GB, free: 252 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.336e-05/0.3269, allocations: 11.38 kB / 0.7988 GB, free: 240 kB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.3269, allocations: 0 / 0.7988 GB, free: 240 kB / 0.6075 GB Notification: Performance of Templates: time 0.002925/0.3298, allocations: 1.233 MB / 0.8 GB, free: 15.01 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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 OMCppBuildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistancesCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistancesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistancesCalcHelperMain.o] Error 1