Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_latest_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.001151/0.001151, allocations: 102.6 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.001487/0.001487, allocations: 177.5 kB / 16.58 MB, free: 6.047 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.521/1.521, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.871/2.871, allocations: 436.7 MB / 0.7113 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003882/0.0003883, allocations: 8 kB / 0.8717 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9255/0.9259, allocations: 153.7 MB / 1.022 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003063/0.929, allocations: 2.607 MB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002426/0.9314, allocations: 1.946 MB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.9316, allocations: 4 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.9327, allocations: 422.1 kB / 1.027 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002297/0.9329, allocations: 135.1 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 9.977e-05/0.933, allocations: 39.91 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004445/0.9335, allocations: 420.8 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002092/0.9337, allocations: 122.8 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.9338, allocations: 131.4 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001935/0.934, allocations: 163.2 kB / 1.028 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.872e-05/0.9341, allocations: 16 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.116e-05/0.9342, allocations: 20 kB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.465e-05/0.9343, allocations: 79.67 kB / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.907e-05/0.9343, allocations: 105.5 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003651/0.9347, allocations: 438.7 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.9347, allocations: 0 / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.773e-06/0.9347, allocations: 4 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.9348, allocations: 3.938 kB / 1.028 GB, free: 10.59 MB / 0.7794 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.0008926/0.9356, allocations: 0.6423 MB / 1.029 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.9357, allocations: 19.98 kB / 1.029 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.603e-05/0.9358, allocations: 43.44 kB / 1.029 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000451/0.9362, allocations: 361.1 kB / 1.029 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.9363, allocations: 12.44 kB / 1.029 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.589e-05/0.9363, allocations: 27.94 kB / 1.029 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003861/0.9367, allocations: 203.3 kB / 1.029 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.9367, allocations: 0 / 1.029 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.9368, allocations: 8 kB / 1.029 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.9368, allocations: 8 kB / 1.029 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003652/0.9372, allocations: 169.7 kB / 1.03 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.9383, allocations: 0.8778 MB / 1.031 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002796/0.9386, allocations: 162.6 kB / 1.031 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.9388, allocations: 115.3 kB / 1.031 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.9388, allocations: 0 / 1.031 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.9388, allocations: 42.5 kB / 1.031 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.002e-06/0.9388, allocations: 3.938 kB / 1.031 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0005468/0.9394, allocations: 269.4 kB / 1.031 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.9394, allocations: 59.36 kB / 1.031 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004193/0.9399, allocations: 413.7 kB / 1.032 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.9399, allocations: 29.7 kB / 1.032 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.94, allocations: 204.2 kB / 1.032 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.691e-05/0.9401, allocations: 63.09 kB / 1.032 GB, free: 6.676 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.104e-06/0.9401, allocations: 0 / 1.032 GB, free: 6.676 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.9402, allocations: 346.8 kB / 1.032 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.9404, allocations: 67.97 kB / 1.032 GB, free: 6.262 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.9405, allocations: 59.91 kB / 1.032 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.9407, allocations: 65.53 kB / 1.032 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.9407, allocations: 4 kB / 1.032 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003509/0.941, allocations: 217.1 kB / 1.033 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.9411, allocations: 7.953 kB / 1.033 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.9411, allocations: 4 kB / 1.033 GB, free: 5.906 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.9411, allocations: 0 / 1.033 GB, free: 5.906 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.9413, allocations: 63.89 kB / 1.033 GB, free: 5.844 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.9414, allocations: 0 / 1.033 GB, free: 5.844 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.9415, allocations: 27.83 kB / 1.033 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.9415, allocations: 4 kB / 1.033 GB, free: 5.812 MB / 0.7794 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.0001485/0.9417, allocations: 157.8 kB / 1.033 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.777e-05/0.9417, allocations: 51.5 kB / 1.033 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.835e-05/0.9418, allocations: 43.55 kB / 1.033 GB, free: 5.551 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.9418, allocations: 4 kB / 1.033 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.9418, allocations: 3.938 kB / 1.033 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.9418, allocations: 0 / 1.033 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003787/0.9422, allocations: 369.4 kB / 1.033 GB, free: 5.133 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.9422, allocations: 3.984 kB / 1.033 GB, free: 5.129 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002401/0.9425, allocations: 59.91 kB / 1.033 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.9425, allocations: 4 kB / 1.033 GB, free: 5.066 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.9425, allocations: 8 kB / 1.033 GB, free: 5.059 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.9425, allocations: 3.953 kB / 1.033 GB, free: 5.055 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.9425, allocations: 0 / 1.033 GB, free: 5.055 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005558/0.9431, allocations: 390.3 kB / 1.034 GB, free: 4.66 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.745e-05/0.9432, allocations: 120.7 kB / 1.034 GB, free: 4.523 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.283e-05/0.9433, allocations: 7.938 kB / 1.034 GB, free: 4.516 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.9434, allocations: 19.88 kB / 1.034 GB, free: 4.496 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.9435, allocations: 11.98 kB / 1.034 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.9435, allocations: 8.062 kB / 1.034 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003026/0.9438, allocations: 299.1 kB / 1.034 GB, free: 4.188 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9438, allocations: 0 / 1.034 GB, free: 4.188 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002931/0.9441, allocations: 75.84 kB / 1.034 GB, free: 4.113 MB / 0.7794 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.000139/0.9442, allocations: 103.2 kB / 1.034 GB, free: 4 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003537/0.9446, allocations: 159.8 kB / 1.034 GB, free: 3.844 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.9446, allocations: 0 / 1.034 GB, free: 3.844 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.9448, allocations: 83.89 kB / 1.035 GB, free: 3.762 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005885/0.9454, allocations: 89.69 kB / 1.035 GB, free: 3.68 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.9467, allocations: 0.9346 MB / 1.036 GB, free: 2.719 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.9471, allocations: 0.7953 MB / 1.036 GB, free: 1.898 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.945e-05/0.9472, allocations: 27.38 kB / 1.036 GB, free: 1.871 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.9472, allocations: 0 / 1.036 GB, free: 1.871 MB / 0.7794 GB Notification: Performance of Templates: time 0.006611/0.9538, allocations: 4.302 MB / 1.041 GB, free: 13.61 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile make -j1 -f Buildings_latest_Buildings.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 OMCppBuildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTubeCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTubeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTubeCalcHelperMain.o] Error 1