Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.005711/0.005711, allocations: 100.8 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 193.5 kB / 16.79 MB, free: 5.809 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7371/0.7371, allocations: 132.2 MB / 422.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001153, allocations: 58.47 kB / 0.5017 GB, free: 9.152 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1527, allocations: 80.21 MB / 0.5801 GB, free: 9.168 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001612/0.1543, allocations: 0.6088 MB / 0.5807 GB, free: 8.555 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.1555, allocations: 1.001 MB / 0.5816 GB, free: 7.543 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.53e-05/0.1555, allocations: 0 / 0.5816 GB, free: 7.543 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.731e-05/0.1555, allocations: 7.938 kB / 0.5817 GB, free: 7.535 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006356/0.1562, allocations: 79.84 kB / 0.5817 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.881e-05/0.1562, allocations: 8 kB / 0.5817 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.647e-05/0.1563, allocations: 4 kB / 0.5817 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.707e-05/0.1563, allocations: 4 kB / 0.5817 GB, free: 7.441 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.953e-05/0.1563, allocations: 7.984 kB / 0.5818 GB, free: 7.434 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.1566, allocations: 35.86 kB / 0.5818 GB, free: 7.402 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.678e-06/0.1566, allocations: 0 / 0.5818 GB, free: 7.402 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.1567, allocations: 83.92 kB / 0.5819 GB, free: 7.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.025e-05/0.1567, allocations: 3.938 kB / 0.5819 GB, free: 7.316 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.336e-05/0.1568, allocations: 7.922 kB / 0.5819 GB, free: 7.309 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.1569, allocations: 51.94 kB / 0.5819 GB, free: 7.258 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1569, allocations: 0 / 0.5819 GB, free: 7.258 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.1569, allocations: 0 / 0.5819 GB, free: 7.258 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.1569, allocations: 0 / 0.5819 GB, free: 7.258 MB / 494.1 MB 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.0002944/0.1572, allocations: 335.8 kB / 0.5822 GB, free: 6.883 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.1573, allocations: 8.031 kB / 0.5823 GB, free: 6.875 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.759e-05/0.1573, allocations: 8.844 kB / 0.5823 GB, free: 6.867 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.1574, allocations: 164.4 kB / 0.5824 GB, free: 6.668 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-06/0.1574, allocations: 384 / 0.5824 GB, free: 6.668 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.1574, allocations: 3.938 kB / 0.5824 GB, free: 6.664 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.474e-05/0.1575, allocations: 29.7 kB / 0.5825 GB, free: 6.629 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.1575, allocations: 0 / 0.5825 GB, free: 6.629 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-06/0.1575, allocations: 4 kB / 0.5825 GB, free: 6.625 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1575, allocations: 3.938 kB / 0.5825 GB, free: 6.621 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.755e-05/0.1576, allocations: 7.938 kB / 0.5825 GB, free: 6.613 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003583/0.1579, allocations: 468.6 kB / 0.5829 GB, free: 6.086 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.687e-05/0.158, allocations: 169.1 kB / 0.5831 GB, free: 5.91 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.912e-05/0.158, allocations: 88.12 kB / 0.5832 GB, free: 5.82 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.1581, allocations: 79.31 kB / 0.5832 GB, free: 5.742 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.1581, allocations: 105.8 kB / 0.5833 GB, free: 5.629 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.1581, allocations: 0 / 0.5833 GB, free: 5.629 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.316e-05/0.1582, allocations: 29.64 kB / 0.5834 GB, free: 5.594 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.1582, allocations: 126.7 kB / 0.5835 GB, free: 5.457 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.271e-05/0.1583, allocations: 113.8 kB / 0.5836 GB, free: 5.336 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.866e-06/0.1583, allocations: 25.7 kB / 0.5836 GB, free: 5.305 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.363e-05/0.1584, allocations: 80.14 kB / 0.5837 GB, free: 5.223 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.1584, allocations: 0 / 0.5837 GB, free: 5.223 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.659e-05/0.1584, allocations: 17.72 kB / 0.5837 GB, free: 5.199 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1585, allocations: 314.8 kB / 0.584 GB, free: 4.883 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.636e-06/0.1585, allocations: 3.938 kB / 0.584 GB, free: 4.879 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.461e-06/0.1585, allocations: 0 / 0.584 GB, free: 4.879 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.403e-05/0.1586, allocations: 12.92 kB / 0.584 GB, free: 4.863 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1586, allocations: 3.938 kB / 0.584 GB, free: 4.859 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.6e-05/0.1587, allocations: 33.69 kB / 0.5841 GB, free: 4.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.1587, allocations: 8 kB / 0.5841 GB, free: 4.812 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1587, allocations: 0 / 0.5841 GB, free: 4.812 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.1587, allocations: 0 / 0.5841 GB, free: 4.812 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.238e-05/0.1587, allocations: 0 / 0.5841 GB, free: 4.812 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.1587, allocations: 0 / 0.5841 GB, free: 4.812 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.417e-05/0.1588, allocations: 3.906 kB / 0.5841 GB, free: 4.809 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.1588, allocations: 4 kB / 0.5841 GB, free: 4.805 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.76e-05/0.1588, allocations: 193.1 kB / 0.5843 GB, free: 4.605 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.463e-05/0.1589, allocations: 104.9 kB / 0.5844 GB, free: 4.496 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.944e-05/0.159, allocations: 108.1 kB / 0.5845 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.996e-05/0.159, allocations: 180.3 kB / 0.5846 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.192e-05/0.1591, allocations: 180.3 kB / 0.5848 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.923e-05/0.1591, allocations: 188.3 kB / 0.585 GB, free: 3.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.1593, allocations: 409.1 kB / 0.5854 GB, free: 3.363 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.132e-05/0.1593, allocations: 101 kB / 0.5855 GB, free: 3.258 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.963e-05/0.1594, allocations: 104.9 kB / 0.5856 GB, free: 3.148 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-05/0.1594, allocations: 180.2 kB / 0.5857 GB, free: 2.965 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.345e-05/0.1595, allocations: 192.2 kB / 0.5859 GB, free: 2.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.936e-05/0.1596, allocations: 180.2 kB / 0.5861 GB, free: 2.586 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.943e-05/0.1596, allocations: 180.3 kB / 0.5863 GB, free: 2.402 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.1597, allocations: 311.7 kB / 0.5866 GB, free: 2.074 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.796e-05/0.1598, allocations: 178.1 kB / 0.5867 GB, free: 1.875 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.273e-05/0.1599, allocations: 188.2 kB / 0.5869 GB, free: 1.684 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.639e-05/0.1599, allocations: 101 kB / 0.587 GB, free: 1.578 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/0.16, allocations: 176.3 kB / 0.5872 GB, free: 1.398 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.543e-05/0.16, allocations: 116.9 kB / 0.5873 GB, free: 1.277 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.549e-05/0.1601, allocations: 79.28 kB / 0.5874 GB, free: 1.199 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1601, allocations: 0 / 0.5874 GB, free: 1.199 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002427/0.1603, allocations: 23.94 kB / 0.5874 GB, free: 1.176 MB / 494.1 MB 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.0003327/0.1607, allocations: 231 kB / 0.5876 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 4.898e-05/0.1607, allocations: 4 kB / 0.5876 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.1607, allocations: 0 / 0.5876 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.186e-06/0.1607, allocations: 4 kB / 0.5876 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.1611, allocations: 0.5224 MB / 0.5881 GB, free: 428 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003318/0.1614, allocations: 219.7 kB / 0.5883 GB, free: 172 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.1616, allocations: 0.677 MB / 0.589 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.145e-05/0.1617, allocations: 11.44 kB / 0.589 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1617, allocations: 0 / 0.589 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of Templates: time 0.002185/0.1639, allocations: 0.8503 MB / 0.5898 GB, free: 14.61 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/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/IDEAS 3.0.0/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunctionCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunctionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunctionCalcHelperMain.o] Error 1