Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 100.5 kB / 15.71 MB, free: 452 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.001306/0.001306, allocations: 175.7 kB / 16.58 MB, free: 6.879 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.485/1.485, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.576/2.576, allocations: 390.4 MB / 0.6662 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004092/0.0004092, allocations: 8 kB / 0.8155 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9471/0.9476, allocations: 142.3 MB / 0.9545 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.00212/0.9498, allocations: 1.146 MB / 0.9556 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004926/0.9547, allocations: 2.661 MB / 0.9582 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.795e-05/0.9548, allocations: 0 / 0.9582 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.798e-05/0.9549, allocations: 1.344 kB / 0.9582 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.955, allocations: 17.16 kB / 0.9582 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004098/0.9591, allocations: 1.27 MB / 0.9594 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.359e-05/0.9592, allocations: 40.39 kB / 0.9595 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.576e-05/0.9593, allocations: 2.75 kB / 0.9595 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.638e-05/0.9593, allocations: 16.19 kB / 0.9595 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.578e-05/0.9593, allocations: 14.8 kB / 0.9595 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.9594, allocations: 1.375 kB / 0.9595 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002377/0.9617, allocations: 1.249 MB / 0.9607 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.761e-05/0.9618, allocations: 9.297 kB / 0.9607 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.219e-05/0.9618, allocations: 33.83 kB / 0.9608 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001634/0.9635, allocations: 0.7047 MB / 0.9615 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.9635, allocations: 0 / 0.9615 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.754e-06/0.9635, allocations: 0.8125 kB / 0.9615 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.9635, allocations: 0 / 0.9615 GB, free: 3.152 MB / 0.7169 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.0007197/0.9643, allocations: 0.5098 MB / 0.962 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.352e-05/0.9643, allocations: 10 kB / 0.962 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.874e-05/0.9644, allocations: 81.41 kB / 0.962 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.9646, allocations: 254.6 kB / 0.9623 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.756e-05/0.9647, allocations: 154.6 kB / 0.9624 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.371e-05/0.9647, allocations: 151.9 kB / 0.9626 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.023e-05/0.9648, allocations: 101 kB / 0.9627 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.9649, allocations: 76.66 kB / 0.9627 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.444e-05/0.9649, allocations: 158.5 kB / 0.9629 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.323e-05/0.965, allocations: 154.6 kB / 0.963 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.246e-05/0.965, allocations: 155.7 kB / 0.9632 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002567/0.9653, allocations: 461.3 kB / 0.9636 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.87e-05/0.9653, allocations: 166.3 kB / 0.9638 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.496e-05/0.9654, allocations: 85.23 kB / 0.9639 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.9654, allocations: 75.28 kB / 0.9639 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.9654, allocations: 111.1 kB / 0.9641 GB, free: 416 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.9654, allocations: 0 / 0.9641 GB, free: 416 kB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 8.765e-05/0.9655, allocations: 40.03 kB / 0.9641 GB, free: 372 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.9656, allocations: 131.6 kB / 0.9642 GB, free: 228 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.9657, allocations: 136.8 kB / 0.9643 GB, free: 104 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.368e-06/0.9657, allocations: 25.7 kB / 0.9644 GB, free: 72 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.957e-05/0.9658, allocations: 90.7 kB / 0.9645 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.9658, allocations: 0 / 0.9645 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.9658, allocations: 0 / 0.9645 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.966, allocations: 321.4 kB / 0.9648 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.991e-05/0.9661, allocations: 2.656 kB / 0.9648 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.214e-05/0.9661, allocations: 7.688 kB / 0.9648 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.335e-05/0.9661, allocations: 12.75 kB / 0.9648 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.9661, allocations: 4.031 kB / 0.9648 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001749/0.9663, allocations: 52.44 kB / 0.9648 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.9664, allocations: 4.875 kB / 0.9648 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.018e-05/0.9664, allocations: 6.422 kB / 0.9649 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.9664, allocations: 1.219 kB / 0.9649 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.114e-06/0.9664, allocations: 0 / 0.9649 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.9664, allocations: 5.078 kB / 0.9649 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.64e-05/0.9665, allocations: 4.062 kB / 0.9649 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.9665, allocations: 1.5 kB / 0.9649 GB, free: 15.59 MB / 0.7325 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.0001495/0.9666, allocations: 187.7 kB / 0.965 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.658e-05/0.9667, allocations: 119.5 kB / 0.9652 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.668e-05/0.9668, allocations: 111.2 kB / 0.9653 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.719e-05/0.9669, allocations: 176.3 kB / 0.9654 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.672e-05/0.967, allocations: 181.5 kB / 0.9656 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.32e-05/0.9671, allocations: 181.7 kB / 0.9658 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000272/0.9674, allocations: 423.3 kB / 0.9662 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.66e-05/0.9674, allocations: 102.2 kB / 0.9663 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.926e-05/0.9675, allocations: 102.5 kB / 0.9664 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-05/0.9676, allocations: 180.2 kB / 0.9665 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.102e-05/0.9676, allocations: 177.5 kB / 0.9667 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.069e-05/0.9677, allocations: 193.3 kB / 0.9669 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.029e-05/0.9678, allocations: 177.4 kB / 0.9671 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.968, allocations: 308.3 kB / 0.9674 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.857e-05/0.9681, allocations: 188.5 kB / 0.9675 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.819e-05/0.9682, allocations: 181.5 kB / 0.9677 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.719e-05/0.9683, allocations: 106.7 kB / 0.9678 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.555e-05/0.9684, allocations: 181.5 kB / 0.968 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.971e-05/0.9684, allocations: 109 kB / 0.9681 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.98e-05/0.9685, allocations: 110.4 kB / 0.9682 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9685, allocations: 0 / 0.9682 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001244/0.9698, allocations: 276.2 kB / 0.9685 GB, free: 11.92 MB / 0.7325 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.001099/0.9709, allocations: 0.4981 MB / 0.9689 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001106/0.971, allocations: 42 kB / 0.969 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.971, allocations: 0 / 0.969 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.898e-06/0.971, allocations: 3.938 kB / 0.969 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004441/0.9715, allocations: 0.5305 MB / 0.9695 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003462/0.9718, allocations: 288.4 kB / 0.9698 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.9721, allocations: 0.6811 MB / 0.9705 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.333e-05/0.9721, allocations: 9.938 kB / 0.9705 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.9721, allocations: 4 kB / 0.9705 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of Templates: time 0.0114/0.9835, allocations: 4.714 MB / 0.9751 GB, free: 7.664 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegativeCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegativeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegativeCalcHelperMain.o] Error 1