Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008318/0.0008318, allocations: 100.2 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.0009425/0.0009427, allocations: 176.8 kB / 16.58 MB, free: 6.422 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.494/1.494, 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 11.0.0-master/package.mo): time 2.803/2.803, allocations: 436.7 MB / 0.7113 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00038/0.0003801, allocations: 12 kB / 0.8717 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9367/0.9371, allocations: 153.6 MB / 1.022 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0008441/0.938, allocations: 308.5 kB / 1.022 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.9393, allocations: 0.9761 MB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.946e-05/0.9393, allocations: 0 / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.319e-05/0.9394, allocations: 0 / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006395/0.94, allocations: 79.86 kB / 1.023 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.05e-05/0.9401, allocations: 19.97 kB / 1.023 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.338e-05/0.9401, allocations: 7.938 kB / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.692e-05/0.9402, allocations: 0 / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.301e-05/0.9402, allocations: 4 kB / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002412/0.9404, allocations: 31.95 kB / 1.023 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.9404, allocations: 0 / 1.023 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.9406, allocations: 71.92 kB / 1.023 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.333e-05/0.9406, allocations: 7.984 kB / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.3e-05/0.9407, allocations: 29.64 kB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.9408, allocations: 43.95 kB / 1.023 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.9408, allocations: 4 kB / 1.023 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9408, allocations: 3.938 kB / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.9408, allocations: 0 / 1.023 GB, free: 15.5 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003454/0.9412, allocations: 337.3 kB / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.9412, allocations: 8.031 kB / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.97e-05/0.9412, allocations: 0 / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.9414, allocations: 167.1 kB / 1.024 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.9414, allocations: 0 / 1.024 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.9414, allocations: 0 / 1.024 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.748e-05/0.9415, allocations: 33.66 kB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.9415, allocations: 4 kB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.9415, allocations: 0 / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.9416, allocations: 0 / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.115e-05/0.9416, allocations: 7.875 kB / 1.024 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004645/0.9421, allocations: 468.6 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.9422, allocations: 173.1 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.762e-05/0.9422, allocations: 80.14 kB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.9423, allocations: 75.28 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.86e-05/0.9423, allocations: 105.8 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.9423, allocations: 4 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.405e-05/0.9424, allocations: 29.64 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.206e-05/0.9425, allocations: 130.7 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.177e-05/0.9426, allocations: 101.8 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.9426, allocations: 25.7 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.72e-05/0.9427, allocations: 88.08 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-06/0.9427, allocations: 0 / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-06/0.9427, allocations: 0 / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.9428, allocations: 310.8 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.516e-06/0.9428, allocations: 0 / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.967e-06/0.9428, allocations: 8 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.819e-05/0.9429, allocations: 4 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.9429, allocations: 0 / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001085/0.943, allocations: 41.77 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.943, allocations: 9.406 kB / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.943, allocations: 0 / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.943, allocations: 0 / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.763e-05/0.9431, allocations: 3.984 kB / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.9431, allocations: 0 / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.303e-05/0.9431, allocations: 96 / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.259e-06/0.9431, allocations: 4 kB / 1.025 GB, free: 13.09 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: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.000103/0.9432, allocations: 187.3 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.846e-05/0.9433, allocations: 112.8 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.141e-05/0.9433, allocations: 112 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.136e-05/0.9434, allocations: 184.2 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.278e-05/0.9435, allocations: 188.2 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.354e-05/0.9436, allocations: 176.3 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002274/0.9438, allocations: 409.2 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.493e-05/0.9438, allocations: 104.9 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-05/0.9439, allocations: 101 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.748e-05/0.944, allocations: 192.1 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.072e-05/0.9441, allocations: 184.5 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.82e-05/0.9441, allocations: 176.3 kB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.564e-05/0.9442, allocations: 184.2 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.9444, allocations: 307.8 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.929e-05/0.9444, allocations: 190.1 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.42e-05/0.9445, allocations: 184.2 kB / 1.028 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.754e-05/0.9446, allocations: 101 kB / 1.028 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.83e-05/0.9447, allocations: 180.2 kB / 1.029 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.297e-05/0.9448, allocations: 108.9 kB / 1.029 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.862e-05/0.9448, allocations: 83.28 kB / 1.029 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9448, allocations: 0 / 1.029 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002657/0.9451, allocations: 23.98 kB / 1.029 GB, free: 9.457 MB / 0.7794 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.000426/0.9455, allocations: 224.8 kB / 1.029 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.103e-05/0.9456, allocations: 4 kB / 1.029 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.9456, allocations: 0 / 1.029 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/0.9456, allocations: 4.062 kB / 1.029 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.946, allocations: 0.5302 MB / 1.029 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004317/0.9465, allocations: 215.7 kB / 1.03 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.9468, allocations: 0.6692 MB / 1.03 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.66e-05/0.9468, allocations: 19.44 kB / 1.03 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of SimCode: time 2.575e-06/0.9468, allocations: 0 / 1.03 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of Templates: time 0.002391/0.9492, allocations: 0.8669 MB / 1.031 GB, free: 6.871 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunctionCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunctionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunctionCalcHelperMain.o] Error 1