Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009947/0.0009942, allocations: 92.16 kB / 16.02 MB, free: 80 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.001748/0.001748, allocations: 172.9 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.831/1.831, allocations: 205.4 MB / 223.1 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.876/1.876, allocations: 292.7 MB / 0.5509 GB, free: 14.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005805/0.0005808, allocations: 17.09 kB / 0.675 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3454, allocations: 116.3 MB / 0.7886 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001857/0.3473, allocations: 1.13 MB / 0.7897 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005718/0.353, allocations: 3.209 MB / 0.7928 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.577e-05/0.3532, allocations: 0 / 0.7928 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001461/0.3533, allocations: 11.92 kB / 0.7928 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003105/0.3537, allocations: 23.84 kB / 0.7928 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002849/0.3565, allocations: 0.7686 MB / 0.7936 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.3567, allocations: 115.6 kB / 0.7937 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.836e-05/0.3568, allocations: 4 kB / 0.7937 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.187e-05/0.3568, allocations: 43.89 kB / 0.7938 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003492/0.3572, allocations: 220.9 kB / 0.794 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.825e-05/0.3573, allocations: 12 kB / 0.794 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002551/0.3598, allocations: 1.4 MB / 0.7953 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007721/0.3606, allocations: 0.6796 MB / 0.796 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004614/0.3611, allocations: 474.6 kB / 0.7965 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001979/0.3631, allocations: 1.201 MB / 0.7976 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3631, allocations: 0 / 0.7976 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.865e-06/0.3631, allocations: 0 / 0.7976 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.3631, allocations: 0 / 0.7976 GB, free: 2.227 MB / 0.6075 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.01161/0.3747, allocations: 1.593 MB / 0.7992 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.908e-05/0.3748, allocations: 8.031 kB / 0.7992 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005111/0.3753, allocations: 142.9 kB / 0.7993 GB, free: 436 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006754/0.376, allocations: 0.5175 MB / 0.7998 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.376, allocations: 8.359 kB / 0.7998 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.804e-05/0.3761, allocations: 8.375 kB / 0.7999 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004854/0.3766, allocations: 399.4 kB / 0.8002 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.3766, allocations: 0 / 0.8002 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.3766, allocations: 0 / 0.8002 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.3766, allocations: 4 kB / 0.8002 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004699/0.3771, allocations: 431.7 kB / 0.8007 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.3781, allocations: 0.7996 MB / 0.8014 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007147/0.3789, allocations: 0.575 MB / 0.802 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003777/0.3793, allocations: 329.7 kB / 0.8023 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001455/0.3807, allocations: 1.044 MB / 0.8033 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000501/0.3813, allocations: 400.8 kB / 0.8037 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.3813, allocations: 0 / 0.8037 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.001637/0.3829, allocations: 1.351 MB / 0.805 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.978e-05/0.383, allocations: 81.11 kB / 0.8051 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00237/0.3854, allocations: 1.85 MB / 0.8069 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.408e-05/0.3855, allocations: 29.7 kB / 0.8069 GB, free: 8.141 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004893/0.386, allocations: 473.3 kB / 0.8074 GB, free: 7.672 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.821e-05/0.386, allocations: 19.75 kB / 0.8074 GB, free: 7.652 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003135/0.3863, allocations: 287.7 kB / 0.8077 GB, free: 7.367 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.3865, allocations: 309.1 kB / 0.808 GB, free: 7.062 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001788/0.3883, allocations: 1.51 MB / 0.8095 GB, free: 5.551 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/0.3901, allocations: 1.649 MB / 0.8111 GB, free: 3.895 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007808/0.3979, allocations: 3.694 MB / 0.8147 GB, free: 112 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.3979, allocations: 0 / 0.8147 GB, free: 112 kB / 0.6231 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005298/0.4032, allocations: 4.32 MB / 0.8189 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.997e-05/0.4033, allocations: 14.75 kB / 0.8189 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.791e-05/0.4033, allocations: 0 / 0.8189 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.227e-05/0.4033, allocations: 3.938 kB / 0.8189 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.4035, allocations: 23.97 kB / 0.8189 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.4035, allocations: 8.031 kB / 0.8189 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008826/0.4044, allocations: 228.3 kB / 0.8192 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.309e-05/0.4045, allocations: 23.98 kB / 0.8192 GB, free: 11.46 MB / 0.6387 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 (gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006414/0.4052, allocations: 365.5 kB / 0.8195 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.4053, allocations: 122 kB / 0.8196 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004312/0.4058, allocations: 153 kB / 0.8198 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.4058, allocations: 0 / 0.8198 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.4058, allocations: 0 / 0.8198 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.4058, allocations: 8 kB / 0.8198 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00076/0.4066, allocations: 0.6755 MB / 0.8205 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.4066, allocations: 4 kB / 0.8205 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.438e-05/0.4067, allocations: 11.92 kB / 0.8205 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.4067, allocations: 3.938 kB / 0.8205 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.4067, allocations: 4 kB / 0.8205 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4067, allocations: 0 / 0.8205 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.4067, allocations: 8.016 kB / 0.8205 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.4079, allocations: 1.059 MB / 0.8215 GB, free: 8.953 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000202/0.4081, allocations: 195.1 kB / 0.8217 GB, free: 8.742 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.756e-05/0.4082, allocations: 11.98 kB / 0.8217 GB, free: 8.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.4084, allocations: 8 kB / 0.8217 GB, free: 8.723 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.321e-05/0.4084, allocations: 7.984 kB / 0.8217 GB, free: 8.715 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.54e-05/0.4085, allocations: 7.984 kB / 0.8217 GB, free: 8.707 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001601/0.4101, allocations: 1.108 MB / 0.8228 GB, free: 7.574 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4101, allocations: 0 / 0.8228 GB, free: 7.574 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001765/0.4119, allocations: 427.9 kB / 0.8232 GB, free: 7.156 MB / 0.6387 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 (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.001411/0.4133, allocations: 490.7 kB / 0.8237 GB, free: 6.664 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003018/0.4163, allocations: 2.644 MB / 0.8263 GB, free: 4.012 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.4163, allocations: 0 / 0.8263 GB, free: 4.012 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003965/0.4168, allocations: 343.8 kB / 0.8266 GB, free: 3.676 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005213/0.4173, allocations: 50.48 kB / 0.8267 GB, free: 3.621 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004043/0.4213, allocations: 2.915 MB / 0.8295 GB, free: 0.668 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009091/0.4223, allocations: 1.153 MB / 0.8306 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.4224, allocations: 31.36 kB / 0.8307 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of SimCode: time 7.91e-07/0.4224, allocations: 0 / 0.8307 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of Templates: time 0.03425/0.4567, allocations: 14.94 MB / 0.8453 GB, free: 0.5039 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholesCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholesCalcHelperMain.o] Error 1