Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009652/0.0009655, allocations: 96.14 kB / 16.03 MB, free: 68 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.001598/0.001598, allocations: 185.1 kB / 16.92 MB, free: 6.75 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.371/1.371, allocations: 223.2 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001774/0.001773, allocations: 269.3 kB / 292.3 MB, free: 1.812 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9564/0.9564, allocations: 169.5 MB / 0.501 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004406/0.0004407, allocations: 17.77 kB / 0.5993 GB, free: 28.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.211, allocations: 88.55 MB / 0.6858 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001434/0.2125, allocations: 0.9768 MB / 0.6868 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007335/0.2198, allocations: 4.665 MB / 0.6913 GB, free: 9.379 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.352e-05/0.2199, allocations: 0 / 0.6913 GB, free: 9.379 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.477e-05/0.22, allocations: 0 / 0.6913 GB, free: 9.379 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. Notification: Performance of NFTyping.typeBindings: time 0.003619/0.2236, allocations: 1.19 MB / 0.6925 GB, free: 8.199 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.95e-05/0.2237, allocations: 23.92 kB / 0.6925 GB, free: 8.176 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.808e-05/0.2238, allocations: 31.97 kB / 0.6925 GB, free: 8.145 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.246e-05/0.2238, allocations: 3.984 kB / 0.6925 GB, free: 8.141 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.368e-05/0.2238, allocations: 6.625 kB / 0.6925 GB, free: 8.137 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.224, allocations: 66.55 kB / 0.6926 GB, free: 8.074 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.224, allocations: 0 / 0.6926 GB, free: 8.074 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003583/0.2276, allocations: 2.24 MB / 0.6948 GB, free: 5.832 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001606/0.2278, allocations: 149.2 kB / 0.6949 GB, free: 5.684 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.621e-05/0.2278, allocations: 55.45 kB / 0.695 GB, free: 5.625 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002047/0.2299, allocations: 1.3 MB / 0.6963 GB, free: 4.324 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2299, allocations: 0.9375 kB / 0.6963 GB, free: 4.324 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2299, allocations: 0 / 0.6963 GB, free: 4.324 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.2299, allocations: 0 / 0.6963 GB, free: 4.324 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.0009161/0.2308, allocations: 0.6203 MB / 0.6969 GB, free: 3.656 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.2309, allocations: 8.031 kB / 0.6969 GB, free: 3.648 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.252e-05/0.2309, allocations: 0.9375 kB / 0.6969 GB, free: 3.648 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.2311, allocations: 172.4 kB / 0.697 GB, free: 3.441 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.2311, allocations: 384 / 0.697 GB, free: 3.441 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.2311, allocations: 4.125 kB / 0.697 GB, free: 3.438 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.2313, allocations: 173.6 kB / 0.6972 GB, free: 3.262 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.2314, allocations: 0 / 0.6972 GB, free: 3.262 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.2314, allocations: 4 kB / 0.6972 GB, free: 3.258 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.2314, allocations: 0 / 0.6972 GB, free: 3.258 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002242/0.2316, allocations: 279.9 kB / 0.6975 GB, free: 2.984 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003001/0.2319, allocations: 289.6 kB / 0.6978 GB, free: 2.652 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.2321, allocations: 154.6 kB / 0.6979 GB, free: 2.492 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.2322, allocations: 156.7 kB / 0.6981 GB, free: 2.336 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.719e-06/0.2322, allocations: 3.938 kB / 0.6981 GB, free: 2.332 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.2323, allocations: 42.5 kB / 0.6981 GB, free: 2.281 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.453e-06/0.2323, allocations: 0 / 0.6981 GB, free: 2.281 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0004559/0.2327, allocations: 453.5 kB / 0.6985 GB, free: 1.832 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.2328, allocations: 51.41 kB / 0.6986 GB, free: 1.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.2329, allocations: 165.8 kB / 0.6987 GB, free: 1.598 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.2329, allocations: 25.7 kB / 0.6988 GB, free: 1.566 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.177e-05/0.233, allocations: 80.14 kB / 0.6988 GB, free: 1.484 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.344e-05/0.233, allocations: 16.09 kB / 0.6989 GB, free: 1.469 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/0.2331, allocations: 13.72 kB / 0.6989 GB, free: 1.449 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.2332, allocations: 310.8 kB / 0.6992 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.2333, allocations: 139.9 kB / 0.6993 GB, free: 1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.2334, allocations: 143.9 kB / 0.6994 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/0.2337, allocations: 284.7 kB / 0.6997 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2337, allocations: 4 kB / 0.6997 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002629/0.2339, allocations: 317.5 kB / 0.7 GB, free: 264 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.234, allocations: 8.094 kB / 0.7 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.234, allocations: 0 / 0.7 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.234, allocations: 4 kB / 0.7 GB, free: 252 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.714e-05/0.234, allocations: 0 / 0.7 GB, free: 252 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.2341, allocations: 0 / 0.7 GB, free: 252 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.427e-05/0.2341, allocations: 0 / 0.7 GB, free: 252 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.2341, allocations: 0 / 0.7 GB, free: 252 kB / 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: 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): 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 0.0001154/0.2343, allocations: 170.5 kB / 0.7002 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.757e-05/0.2343, allocations: 7.922 kB / 0.7002 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003304/0.2346, allocations: 324.6 kB / 0.7005 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.2346, allocations: 0 / 0.7005 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2347, allocations: 0 / 0.7005 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.2347, allocations: 7.984 kB / 0.7005 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002391/0.2349, allocations: 289.6 kB / 0.7008 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.2349, allocations: 0 / 0.7008 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.2349, allocations: 0 / 0.7008 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.2349, allocations: 0 / 0.7008 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.2349, allocations: 4 kB / 0.7008 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.235, allocations: 4 kB / 0.7008 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.235, allocations: 3.938 kB / 0.7008 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002798/0.2352, allocations: 348.9 kB / 0.7011 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.871e-05/0.2353, allocations: 77.11 kB / 0.7012 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.692e-05/0.2354, allocations: 0 / 0.7012 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.786e-05/0.2354, allocations: 0 / 0.7012 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.805e-05/0.2355, allocations: 7.984 kB / 0.7012 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.2355, allocations: 0 / 0.7012 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.032e-05/0.2356, allocations: 155.2 kB / 0.7014 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2356, allocations: 4 kB / 0.7014 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001456/0.237, allocations: 0.5779 MB / 0.7019 GB, free: 14.19 MB / 0.4981 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.002245/0.2393, allocations: 0.9114 MB / 0.7028 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002862/0.2396, allocations: 279.9 kB / 0.7031 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2396, allocations: 64 / 0.7031 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.2397, allocations: 173.6 kB / 0.7033 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.24, allocations: 3.938 kB / 0.7033 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004574/0.2404, allocations: 338.2 kB / 0.7036 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.2407, allocations: 0.6731 MB / 0.7042 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.358e-05/0.2407, allocations: 11.44 kB / 0.7042 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.2407, allocations: 0 / 0.7042 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of Templates: time 0.02104/0.2618, allocations: 12.06 MB / 0.716 GB, free: 15.8 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.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"." -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" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrixCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrixCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrixCalcHelperMain.o] Error 1