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.0009763/0.0009764, allocations: 98.88 kB / 16.02 MB, free: 76 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.001251/0.001251, allocations: 188.8 kB / 16.92 MB, free: 6.684 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.818/1.818, allocations: 205.4 MB / 223.1 MB, free: 5.508 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.874/1.874, allocations: 292.7 MB / 0.5509 GB, free: 14.47 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.0005558/0.0005558, allocations: 14.03 kB / 0.675 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3218, allocations: 116.3 MB / 0.7885 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001789/0.3236, allocations: 1.201 MB / 0.7897 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001541/0.3252, allocations: 0.9514 MB / 0.7906 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.882e-05/0.3253, allocations: 0 / 0.7906 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002188/0.3255, allocations: 39.83 kB / 0.7907 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.005e-05/0.3255, allocations: 15.84 kB / 0.7907 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004955/0.326, allocations: 174.8 kB / 0.7909 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.744e-05/0.3261, allocations: 43.73 kB / 0.7909 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.547e-05/0.3262, allocations: 8 kB / 0.7909 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.722e-05/0.3263, allocations: 19.92 kB / 0.7909 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.877e-05/0.3263, allocations: 15.88 kB / 0.791 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.3263, allocations: 0 / 0.791 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000333/0.3267, allocations: 151.8 kB / 0.7911 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.202e-05/0.3267, allocations: 0 / 0.7911 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.934e-05/0.3267, allocations: 45.56 kB / 0.7911 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.3269, allocations: 88.02 kB / 0.7912 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3269, allocations: 3.938 kB / 0.7912 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.294e-06/0.3269, allocations: 0 / 0.7912 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.3269, allocations: 0 / 0.7912 GB, free: 8.812 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.0004034/0.3273, allocations: 363.3 kB / 0.7916 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.3274, allocations: 8.031 kB / 0.7916 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.527e-05/0.3275, allocations: 84.12 kB / 0.7917 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.3277, allocations: 263.5 kB / 0.7919 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.226e-05/0.3278, allocations: 150.9 kB / 0.7921 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.307e-05/0.3279, allocations: 150.9 kB / 0.7922 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.306e-05/0.3279, allocations: 113.2 kB / 0.7923 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.209e-05/0.328, allocations: 79.28 kB / 0.7924 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.818e-05/0.3281, allocations: 154.6 kB / 0.7925 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.604e-05/0.3281, allocations: 150.6 kB / 0.7927 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.31e-05/0.3282, allocations: 154.6 kB / 0.7928 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003569/0.3286, allocations: 465.9 kB / 0.7933 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.3287, allocations: 169.1 kB / 0.7934 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.892e-05/0.3287, allocations: 80.14 kB / 0.7935 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.3288, allocations: 75.28 kB / 0.7936 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.947e-05/0.3288, allocations: 109.8 kB / 0.7937 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.3288, allocations: 4 kB / 0.7937 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.859e-05/0.3289, allocations: 33.61 kB / 0.7937 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.755e-05/0.329, allocations: 126.7 kB / 0.7938 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.3292, allocations: 136.8 kB / 0.794 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.3292, allocations: 29.69 kB / 0.794 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.541e-05/0.3293, allocations: 92.08 kB / 0.7941 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.3293, allocations: 4 kB / 0.7941 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.3293, allocations: 9.719 kB / 0.7941 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3295, allocations: 322.8 kB / 0.7944 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.208e-05/0.3295, allocations: 4 kB / 0.7944 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.342e-05/0.3295, allocations: 4 kB / 0.7944 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.962e-05/0.3296, allocations: 12.86 kB / 0.7944 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3296, allocations: 0 / 0.7944 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001482/0.3297, allocations: 53.53 kB / 0.7945 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.3297, allocations: 7.938 kB / 0.7945 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.373e-05/0.3298, allocations: 4 kB / 0.7945 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.3298, allocations: 0 / 0.7945 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.885e-06/0.3298, allocations: 4.062 kB / 0.7945 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3298, allocations: 3.938 kB / 0.7945 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.383e-05/0.3298, allocations: 3.938 kB / 0.7945 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.3298, allocations: 4 kB / 0.7945 GB, free: 5.223 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001303/0.33, allocations: 185.2 kB / 0.7947 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.03e-05/0.3301, allocations: 116.8 kB / 0.7948 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.497e-05/0.3302, allocations: 112.8 kB / 0.7949 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-05/0.3302, allocations: 188.2 kB / 0.7951 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.386e-05/0.3303, allocations: 180.4 kB / 0.7953 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.457e-05/0.3304, allocations: 184.2 kB / 0.7954 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003182/0.3307, allocations: 417.2 kB / 0.7958 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.541e-05/0.3308, allocations: 101 kB / 0.7959 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.458e-05/0.3308, allocations: 108.9 kB / 0.796 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.492e-05/0.3309, allocations: 184.3 kB / 0.7962 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.715e-05/0.331, allocations: 184.2 kB / 0.7964 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.132e-05/0.3311, allocations: 180.3 kB / 0.7965 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.496e-05/0.3312, allocations: 180.2 kB / 0.7967 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.3314, allocations: 307.7 kB / 0.797 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.077e-05/0.3315, allocations: 197.9 kB / 0.7972 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.428e-05/0.3316, allocations: 180.3 kB / 0.7974 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.184e-05/0.3317, allocations: 108.9 kB / 0.7975 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.576e-05/0.3318, allocations: 176.3 kB / 0.7976 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.31e-05/0.3318, allocations: 109 kB / 0.7978 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.651e-05/0.3319, allocations: 103.3 kB / 0.7978 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3319, allocations: 0 / 0.7978 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002836/0.3322, allocations: 32 kB / 0.7979 GB, free: 1.535 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 (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.0003063/0.3325, allocations: 222.3 kB / 0.7981 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.311e-05/0.3326, allocations: 37.7 kB / 0.7981 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3326, allocations: 0 / 0.7981 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.3326, allocations: 64 / 0.7981 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005117/0.3331, allocations: 0.5341 MB / 0.7986 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003571/0.3335, allocations: 273.4 kB / 0.7989 GB, free: 436 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.3338, allocations: 0.6887 MB / 0.7996 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.186e-05/0.3339, allocations: 7.438 kB / 0.7996 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.3339, allocations: 0 / 0.7996 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of Templates: time 0.002734/0.3366, allocations: 1.22 MB / 0.8008 GB, free: 14.49 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++ -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.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