Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008531/0.0008533, allocations: 90.64 kB / 16.33 MB, free: 6.871 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.0008496/0.0008498, allocations: 192 kB / 17.23 MB, free: 6.699 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.465/1.465, allocations: 223.2 MB / 241.2 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.761/0.761, allocations: 114.3 MB / 406.7 MB, free: 3.965 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003466, allocations: 8 kB / 494.5 MB, free: 7.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.186, allocations: 77.27 MB / 0.5584 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001386/0.1874, allocations: 0.9589 MB / 0.5593 GB, free: 9.922 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007038/0.1945, allocations: 4.176 MB / 0.5634 GB, free: 5.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.081e-05/0.1946, allocations: 0 / 0.5634 GB, free: 5.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.218e-05/0.1946, allocations: 0 / 0.5634 GB, free: 5.73 MB / 430.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.004137/0.1988, allocations: 1.131 MB / 0.5645 GB, free: 4.598 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001023/0.1989, allocations: 23.97 kB / 0.5645 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.212e-05/0.199, allocations: 23.92 kB / 0.5645 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.401e-05/0.199, allocations: 0 / 0.5645 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.101e-05/0.1991, allocations: 11.97 kB / 0.5645 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.1992, allocations: 67.97 kB / 0.5646 GB, free: 4.473 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.1992, allocations: 0 / 0.5646 GB, free: 4.473 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004045/0.2033, allocations: 1.981 MB / 0.5665 GB, free: 2.488 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001682/0.2035, allocations: 167.8 kB / 0.5667 GB, free: 2.324 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.992e-05/0.2035, allocations: 29.7 kB / 0.5667 GB, free: 2.289 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002811/0.2063, allocations: 1.182 MB / 0.5679 GB, free: 1.105 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2064, allocations: 0 / 0.5679 GB, free: 1.105 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.2064, allocations: 0 / 0.5679 GB, free: 1.105 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.2064, allocations: 0 / 0.5679 GB, free: 1.105 MB / 430.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.001424/0.2078, allocations: 0.6162 MB / 0.5685 GB, free: 452 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/0.2079, allocations: 12.02 kB / 0.5685 GB, free: 440 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.16e-05/0.2079, allocations: 0 / 0.5685 GB, free: 440 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.2081, allocations: 167.1 kB / 0.5686 GB, free: 232 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.2081, allocations: 0 / 0.5686 GB, free: 232 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.2081, allocations: 0 / 0.5686 GB, free: 232 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/0.2084, allocations: 173.6 kB / 0.5688 GB, free: 52 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.2084, allocations: 0 / 0.5688 GB, free: 52 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.2084, allocations: 3.938 kB / 0.5688 GB, free: 48 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.2084, allocations: 0 / 0.5688 GB, free: 48 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000284/0.2087, allocations: 283.8 kB / 0.5691 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003451/0.2091, allocations: 293.6 kB / 0.5694 GB, free: 15.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.2092, allocations: 158.6 kB / 0.5695 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.2094, allocations: 144.9 kB / 0.5697 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.2094, allocations: 0 / 0.5697 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.2094, allocations: 34.52 kB / 0.5697 GB, free: 15.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.272e-06/0.2094, allocations: 4 kB / 0.5697 GB, free: 15.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0004981/0.21, allocations: 461.5 kB / 0.5701 GB, free: 14.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.21, allocations: 51.41 kB / 0.5702 GB, free: 14.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.2102, allocations: 165.8 kB / 0.5703 GB, free: 14.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.2102, allocations: 25.7 kB / 0.5704 GB, free: 14.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.94e-05/0.2102, allocations: 80.14 kB / 0.5704 GB, free: 14.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.2103, allocations: 3.906 kB / 0.5704 GB, free: 14.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-06/0.2103, allocations: 0 / 0.5704 GB, free: 14.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.2104, allocations: 323.1 kB / 0.5707 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.2105, allocations: 139.9 kB / 0.5709 GB, free: 13.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.2107, allocations: 139.9 kB / 0.571 GB, free: 13.67 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.2108, allocations: 143.9 kB / 0.5712 GB, free: 13.53 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2108, allocations: 0 / 0.5712 GB, free: 13.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003039/0.2111, allocations: 309.5 kB / 0.5714 GB, free: 13.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.2112, allocations: 8 kB / 0.5715 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.2112, allocations: 3.953 kB / 0.5715 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.2112, allocations: 4.031 kB / 0.5715 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.465e-05/0.2113, allocations: 7.984 kB / 0.5715 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.2113, allocations: 4 kB / 0.5715 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.38e-05/0.2114, allocations: 0 / 0.5715 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.2114, allocations: 0 / 0.5715 GB, free: 13.2 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001454/0.2115, allocations: 170 kB / 0.5716 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.111e-05/0.2115, allocations: 4 kB / 0.5716 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003503/0.2119, allocations: 320.7 kB / 0.5719 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.2119, allocations: 3.953 kB / 0.5719 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.486e-05/0.2119, allocations: 4.031 kB / 0.572 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.212, allocations: 7.922 kB / 0.572 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.2122, allocations: 281.6 kB / 0.5722 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/0.2122, allocations: 4 kB / 0.5722 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.264e-06/0.2122, allocations: 4 kB / 0.5722 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.2123, allocations: 0 / 0.5722 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.2123, allocations: 0 / 0.5722 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2123, allocations: 0 / 0.5722 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.2123, allocations: 3.953 kB / 0.5722 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003334/0.2126, allocations: 345 kB / 0.5726 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.714e-05/0.2127, allocations: 81.09 kB / 0.5726 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.034e-05/0.2128, allocations: 4 kB / 0.5727 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.758e-05/0.2128, allocations: 0 / 0.5727 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.082e-05/0.2129, allocations: 7.953 kB / 0.5727 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.2129, allocations: 0 / 0.5727 GB, free: 11.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001012/0.213, allocations: 151.2 kB / 0.5728 GB, free: 11.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.213, allocations: 128 / 0.5728 GB, free: 11.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001845/0.2148, allocations: 0.5661 MB / 0.5734 GB, free: 11.17 MB / 446.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.003434/0.2183, allocations: 0.9146 MB / 0.5742 GB, free: 10.37 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003232/0.2186, allocations: 283.9 kB / 0.5745 GB, free: 10.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.2186, allocations: 4 kB / 0.5745 GB, free: 10.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001709/0.2188, allocations: 161.7 kB / 0.5747 GB, free: 9.922 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.2191, allocations: 12.11 kB / 0.5747 GB, free: 9.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005009/0.2196, allocations: 324.1 kB / 0.575 GB, free: 9.566 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.2199, allocations: 0.677 MB / 0.5757 GB, free: 8.863 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.413e-05/0.2199, allocations: 11.44 kB / 0.5757 GB, free: 8.852 MB / 446.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2199, allocations: 0 / 0.5757 GB, free: 8.852 MB / 446.1 MB Notification: Performance of Templates: time 0.3507/0.5706, allocations: 12.07 MB / 0.5875 GB, free: 26.89 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.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"." -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" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrixCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrixCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrixCalcHelperMain.o] Error 1