Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_9_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_9_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.001107/0.001107, 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.001652/0.001652, allocations: 175.1 kB / 16.58 MB, free: 6.359 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.529/1.529, allocations: 223.2 MB / 240.6 MB, free: 5.336 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.575/2.575, allocations: 390.5 MB / 0.6662 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003355/0.0003357, allocations: 12 kB / 0.8155 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9006/0.901, allocations: 142.3 MB / 0.9545 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0007858/0.9018, allocations: 292.9 kB / 0.9547 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.903, allocations: 0.97 MB / 0.9557 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.259e-05/0.9031, allocations: 0 / 0.9557 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.297e-05/0.9031, allocations: 0 / 0.9557 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006038/0.9037, allocations: 76.45 kB / 0.9558 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.434e-05/0.9037, allocations: 11.2 kB / 0.9558 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.823e-05/0.9038, allocations: 11.78 kB / 0.9558 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.751e-05/0.9039, allocations: 0 / 0.9558 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.387e-05/0.9039, allocations: 6.797 kB / 0.9558 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000266/0.9041, allocations: 25.11 kB / 0.9558 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.9042, allocations: 0 / 0.9558 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001725/0.9043, allocations: 70.33 kB / 0.9559 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.466e-06/0.9044, allocations: 0 / 0.9559 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.223e-05/0.9044, allocations: 27.36 kB / 0.9559 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.9045, allocations: 41.91 kB / 0.9559 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.9045, allocations: 0 / 0.9559 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.926e-06/0.9045, allocations: 0 / 0.9559 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.9045, allocations: 5.094 kB / 0.9559 GB, free: 6.875 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002775/0.9048, allocations: 331.5 kB / 0.9563 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.9049, allocations: 12.56 kB / 0.9563 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.999e-05/0.9049, allocations: 9.203 kB / 0.9563 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.521e-05/0.905, allocations: 168.7 kB / 0.9564 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.905, allocations: 4 kB / 0.9564 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.9051, allocations: 1.281 kB / 0.9564 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.374e-05/0.9051, allocations: 27.05 kB / 0.9565 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.9052, allocations: 5.562 kB / 0.9565 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.9052, allocations: 0 / 0.9565 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.9052, allocations: 0 / 0.9565 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.157e-05/0.9052, allocations: 9.422 kB / 0.9565 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003478/0.9056, allocations: 463.4 kB / 0.9569 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.879e-05/0.9056, allocations: 170.6 kB / 0.9571 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.918e-05/0.9056, allocations: 84.14 kB / 0.9572 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.9057, allocations: 79.27 kB / 0.9572 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.9057, allocations: 106.9 kB / 0.9573 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.9057, allocations: 0 / 0.9573 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.921e-05/0.9058, allocations: 36.28 kB / 0.9574 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.9058, allocations: 130.7 kB / 0.9575 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.549e-05/0.9059, allocations: 99.77 kB / 0.9576 GB, free: 5 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.264e-06/0.9059, allocations: 29.69 kB / 0.9576 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.63e-05/0.9059, allocations: 81.33 kB / 0.9577 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.9059, allocations: 0 / 0.9577 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.906, allocations: 4 kB / 0.9577 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.475e-05/0.906, allocations: 311.5 kB / 0.958 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.695e-06/0.906, allocations: 1.531 kB / 0.958 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.4e-06/0.906, allocations: 1.438 kB / 0.958 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.735e-05/0.9061, allocations: 5.281 kB / 0.958 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.9061, allocations: 0 / 0.958 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.294e-05/0.9062, allocations: 36.11 kB / 0.9581 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.9062, allocations: 4.469 kB / 0.9581 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.9062, allocations: 4.734 kB / 0.9581 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.9062, allocations: 0 / 0.9581 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.845e-05/0.9062, allocations: 4.891 kB / 0.9581 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.9062, allocations: 1 kB / 0.9581 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.393e-05/0.9063, allocations: 0 / 0.9581 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.9063, allocations: 1.031 kB / 0.9581 GB, free: 4.52 MB / 0.7169 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 5.831e-05/0.9063, allocations: 194.5 kB / 0.9583 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.059e-05/0.9064, allocations: 102.5 kB / 0.9583 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.925e-05/0.9064, allocations: 117.3 kB / 0.9585 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.02e-05/0.9065, allocations: 180.4 kB / 0.9586 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.25e-05/0.9065, allocations: 181.9 kB / 0.9588 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-05/0.9065, allocations: 193.8 kB / 0.959 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.9067, allocations: 403 kB / 0.9594 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-05/0.9067, allocations: 104.9 kB / 0.9595 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.856e-05/0.9067, allocations: 102.3 kB / 0.9596 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.944e-05/0.9068, allocations: 177.8 kB / 0.9597 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.676e-05/0.9068, allocations: 190 kB / 0.9599 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.23e-05/0.9069, allocations: 180.2 kB / 0.9601 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.217e-05/0.9069, allocations: 185.9 kB / 0.9603 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.812e-05/0.907, allocations: 310.7 kB / 0.9606 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.847e-05/0.907, allocations: 184.1 kB / 0.9607 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-05/0.9071, allocations: 181.2 kB / 0.9609 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.288e-05/0.9071, allocations: 106.1 kB / 0.961 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.9072, allocations: 181.3 kB / 0.9612 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.9072, allocations: 106.4 kB / 0.9613 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.75e-05/0.9072, allocations: 85.89 kB / 0.9614 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9072, allocations: 0 / 0.9614 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002793/0.9075, allocations: 26.42 kB / 0.9614 GB, free: 0.918 MB / 0.7169 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.0003719/0.9079, allocations: 230.2 kB / 0.9616 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.086e-05/0.908, allocations: 2.312 kB / 0.9616 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.908, allocations: 1.125 kB / 0.9616 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.765e-06/0.908, allocations: 4.062 kB / 0.9616 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.9083, allocations: 0.5267 MB / 0.9621 GB, free: 204 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004096/0.9087, allocations: 222 kB / 0.9624 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.909, allocations: 0.6754 MB / 0.963 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.57e-05/0.909, allocations: 16.53 kB / 0.963 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.909, allocations: 0 / 0.963 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of Templates: time 0.002599/0.9116, allocations: 0.8439 MB / 0.9639 GB, free: 14.84 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile make -j1 -f Buildings_9_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 9.1.2-maint.9.1.x/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 9.1.2-maint.9.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunctionCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunctionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunctionCalcHelperMain.o] Error 1