Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007592/0.0007594, allocations: 102 kB / 15.71 MB, free: 456 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.00119/0.001189, allocations: 178.1 kB / 16.58 MB, free: 6.859 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.505/1.505, allocations: 223.2 MB / 240.6 MB, free: 5.43 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.508/2.508, allocations: 390.4 MB / 0.6662 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003849/0.0003849, allocations: 15.98 kB / 0.8155 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9085/0.9089, allocations: 142.3 MB / 0.9545 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001987/0.9109, allocations: 1.409 MB / 0.9558 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00544/0.9164, allocations: 3.888 MB / 0.9596 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.9165, allocations: 0 / 0.9596 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.9177, allocations: 317.4 kB / 0.9599 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001328/0.9178, allocations: 57.38 kB / 0.96 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00249/0.9203, allocations: 0.757 MB / 0.9607 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002534/0.9206, allocations: 163.9 kB / 0.9609 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.336e-05/0.9207, allocations: 11.59 kB / 0.9609 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.09e-05/0.9207, allocations: 46.48 kB / 0.9609 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002954/0.9211, allocations: 191.6 kB / 0.9611 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.644e-05/0.9211, allocations: 13.94 kB / 0.9611 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002307/0.9234, allocations: 1.306 MB / 0.9624 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002526/0.9237, allocations: 272 kB / 0.9627 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001209/0.9238, allocations: 128.4 kB / 0.9628 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001312/0.9251, allocations: 1.021 MB / 0.9638 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.9252, allocations: 5.359 kB / 0.9638 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.555e-06/0.9252, allocations: 0 / 0.9638 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.346e-05/0.9252, allocations: 4 kB / 0.9638 GB, free: 1.609 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00692/0.9321, allocations: 1.218 MB / 0.965 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.9322, allocations: 7.594 kB / 0.965 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003552/0.9325, allocations: 102.4 kB / 0.9651 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004863/0.933, allocations: 400.3 kB / 0.9655 GB, free: 212 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.933, allocations: 6.547 kB / 0.9655 GB, free: 208 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.254e-05/0.9331, allocations: 13.25 kB / 0.9655 GB, free: 200 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005427/0.9336, allocations: 381.8 kB / 0.9659 GB, free: 84 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.9337, allocations: 1.062 kB / 0.9659 GB, free: 84 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.9337, allocations: 3.938 kB / 0.9659 GB, free: 80 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.9337, allocations: 1.969 kB / 0.9659 GB, free: 80 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006609/0.9344, allocations: 441.5 kB / 0.9663 GB, free: 0 / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008828/0.9353, allocations: 0.6625 MB / 0.9669 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007376/0.936, allocations: 0.5616 MB / 0.9675 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004/0.9364, allocations: 332.9 kB / 0.9678 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001141/0.9376, allocations: 1.049 MB / 0.9688 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005619/0.9381, allocations: 402.5 kB / 0.9692 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.9382, allocations: 0 / 0.9692 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.001868/0.94, allocations: 1.293 MB / 0.9705 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.105e-05/0.9401, allocations: 80.17 kB / 0.9705 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001573/0.9417, allocations: 1.274 MB / 0.9718 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.776e-05/0.9417, allocations: 27.73 kB / 0.9718 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002381/0.942, allocations: 287.7 kB / 0.9721 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.347e-05/0.942, allocations: 27.5 kB / 0.9721 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/0.9421, allocations: 1.406 kB / 0.9721 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002292/0.9423, allocations: 424.3 kB / 0.9725 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001656/0.9439, allocations: 1.362 MB / 0.9738 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/0.9455, allocations: 1.493 MB / 0.9753 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001713/0.9472, allocations: 1.899 MB / 0.9772 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.9472, allocations: 0 / 0.9772 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004916/0.9521, allocations: 3.941 MB / 0.981 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/0.9522, allocations: 8.938 kB / 0.981 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/0.9522, allocations: 0 / 0.981 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.9522, allocations: 3.938 kB / 0.981 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.9524, allocations: 20.02 kB / 0.981 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.9524, allocations: 7.938 kB / 0.981 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007371/0.9531, allocations: 228.3 kB / 0.9813 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.478e-05/0.9532, allocations: 27.97 kB / 0.9813 GB, free: 4.07 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 13 * Array equations: 2 * 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 prepare postOptimizeDAE: time 0.0003646/0.9536, allocations: 249.6 kB / 0.9815 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.478e-05/0.9536, allocations: 70.69 kB / 0.9816 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002842/0.9539, allocations: 91.64 kB / 0.9817 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.9539, allocations: 0 / 0.9817 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.954, allocations: 0 / 0.9817 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.954, allocations: 0 / 0.9817 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005255/0.9545, allocations: 0.5177 MB / 0.9822 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.9545, allocations: 0 / 0.9822 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.259e-05/0.9546, allocations: 4 kB / 0.9822 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.9546, allocations: 7.984 kB / 0.9822 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.9546, allocations: 4.031 kB / 0.9822 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.9546, allocations: 4 kB / 0.9822 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.9546, allocations: 3.938 kB / 0.9822 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009933/0.9556, allocations: 1.018 MB / 0.9832 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.9558, allocations: 155.8 kB / 0.9834 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.573e-05/0.9558, allocations: 4 kB / 0.9834 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.956, allocations: 15.98 kB / 0.9834 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.948e-05/0.956, allocations: 4 kB / 0.9834 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.991e-05/0.9561, allocations: 15.97 kB / 0.9834 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008348/0.9569, allocations: 0.7062 MB / 0.9841 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9569, allocations: 0 / 0.9841 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001598/0.9585, allocations: 403.8 kB / 0.9845 GB, free: 0.6953 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0012/0.9598, allocations: 482.8 kB / 0.9849 GB, free: 220 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002413/0.9622, allocations: 2.49 MB / 0.9874 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.9622, allocations: 0 / 0.9874 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000343/0.9625, allocations: 343.8 kB / 0.9877 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.9629, allocations: 60.64 kB / 0.9877 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002515/0.9655, allocations: 2.017 MB / 0.9897 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005506/0.966, allocations: 0.9881 MB / 0.9907 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.9661, allocations: 27.41 kB / 0.9907 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of SimCode: time 3e-07/0.9661, allocations: 0 / 0.9907 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of Templates: time 0.0202/0.9863, allocations: 11.19 MB / 1.002 GB, free: 15.05 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidationCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidationCalcHelperMain.o] Error 1