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_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 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_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0008003/0.0008008, allocations: 99.58 kB / 16.02 MB, free: 76 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.000934/0.0009342, allocations: 186.7 kB / 16.92 MB, free: 6.746 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.715/1.715, allocations: 205.4 MB / 223.1 MB, free: 5.551 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.9/1.9, allocations: 292.7 MB / 0.5509 GB, free: 14.46 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.0005048/0.0005048, allocations: 19.78 kB / 0.675 GB, free: 25.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2273, allocations: 116.3 MB / 0.7886 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001912/0.2293, allocations: 1.454 MB / 0.79 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006168/0.2355, allocations: 4.353 MB / 0.7943 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.2357, allocations: 3.938 kB / 0.7943 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001258/0.2369, allocations: 354.7 kB / 0.7946 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001363/0.2371, allocations: 51.73 kB / 0.7946 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002173/0.2393, allocations: 0.7642 MB / 0.7954 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002604/0.2395, allocations: 199.3 kB / 0.7956 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.135e-05/0.2396, allocations: 9.562 kB / 0.7956 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.522e-05/0.2397, allocations: 43.8 kB / 0.7956 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002387/0.2399, allocations: 176.8 kB / 0.7958 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.998e-05/0.24, allocations: 16 kB / 0.7958 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00208/0.2421, allocations: 1.404 MB / 0.7972 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002565/0.2423, allocations: 275.8 kB / 0.7975 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002585/0.2426, allocations: 331.8 kB / 0.7978 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00124/0.2438, allocations: 1.041 MB / 0.7988 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2439, allocations: 0 / 0.7988 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2439, allocations: 0 / 0.7988 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.2439, allocations: 0 / 0.7988 GB, free: 1.039 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.01078/0.2547, allocations: 1.211 MB / 0.8 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.2547, allocations: 16.03 kB / 0.8 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003848/0.2551, allocations: 99.58 kB / 0.8001 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004556/0.2556, allocations: 405.9 kB / 0.8005 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.2556, allocations: 384 / 0.8005 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.452e-05/0.2557, allocations: 12.3 kB / 0.8005 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003958/0.2561, allocations: 399.5 kB / 0.8009 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.2561, allocations: 0 / 0.8009 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.2561, allocations: 4 kB / 0.8009 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.2561, allocations: 0 / 0.8009 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004125/0.2565, allocations: 435.7 kB / 0.8013 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005575/0.2571, allocations: 0.6613 MB / 0.8019 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004541/0.2576, allocations: 0.5555 MB / 0.8025 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002818/0.2579, allocations: 349.6 kB / 0.8028 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009395/0.2588, allocations: 1.036 MB / 0.8038 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000382/0.2592, allocations: 404.8 kB / 0.8042 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.2592, allocations: 0 / 0.8042 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.001228/0.2604, allocations: 1.296 MB / 0.8055 GB, free: 9.766 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.2605, allocations: 81.11 kB / 0.8055 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.2616, allocations: 1.281 MB / 0.8068 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.915e-05/0.2617, allocations: 33.7 kB / 0.8068 GB, free: 8.336 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001939/0.2619, allocations: 277.4 kB / 0.8071 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/0.2619, allocations: 23.7 kB / 0.8071 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002232/0.2622, allocations: 291.6 kB / 0.8074 GB, free: 7.746 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.2623, allocations: 322.1 kB / 0.8077 GB, free: 7.426 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/0.2634, allocations: 1.365 MB / 0.809 GB, free: 6.059 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/0.2647, allocations: 1.493 MB / 0.8105 GB, free: 4.555 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007433/0.2721, allocations: 3.534 MB / 0.8139 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.2722, allocations: 4 kB / 0.8139 GB, free: 0.9258 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004222/0.2764, allocations: 3.976 MB / 0.8178 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.2764, allocations: 4 kB / 0.8178 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/0.2765, allocations: 4 kB / 0.8178 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.2765, allocations: 0 / 0.8178 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.2766, allocations: 15.98 kB / 0.8178 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.2766, allocations: 4 kB / 0.8179 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005275/0.2772, allocations: 232.3 kB / 0.8181 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-05/0.2772, allocations: 23.98 kB / 0.8181 GB, free: 12.63 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.0003149/0.2776, allocations: 249.6 kB / 0.8183 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.382e-05/0.2776, allocations: 74.62 kB / 0.8184 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002857/0.2779, allocations: 79.72 kB / 0.8185 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.2779, allocations: 8.031 kB / 0.8185 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.278, allocations: 0 / 0.8185 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.278, allocations: 0 / 0.8185 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000452/0.2784, allocations: 0.5177 MB / 0.819 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2784, allocations: 0 / 0.819 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.821e-05/0.2785, allocations: 7.938 kB / 0.819 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.2785, allocations: 3.938 kB / 0.819 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.2785, allocations: 11.92 kB / 0.819 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2785, allocations: 0 / 0.819 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2785, allocations: 0 / 0.819 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008909/0.2794, allocations: 1.002 MB / 0.82 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.2796, allocations: 167.7 kB / 0.8202 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.143e-05/0.2796, allocations: 0 / 0.8202 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.2798, allocations: 4 kB / 0.8202 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.2798, allocations: 15.92 kB / 0.8202 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.396e-05/0.2799, allocations: 15.98 kB / 0.8202 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007848/0.2807, allocations: 0.714 MB / 0.8209 GB, free: 9.664 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2807, allocations: 4 kB / 0.8209 GB, free: 9.66 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001048/0.2817, allocations: 399.8 kB / 0.8213 GB, free: 9.27 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.001182/0.2829, allocations: 494.8 kB / 0.8217 GB, free: 8.773 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002203/0.2852, allocations: 2.492 MB / 0.8242 GB, free: 6.273 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.2852, allocations: 0 / 0.8242 GB, free: 6.273 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000325/0.2855, allocations: 335.8 kB / 0.8245 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004537/0.286, allocations: 60.92 kB / 0.8246 GB, free: 5.887 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.2883, allocations: 2.119 MB / 0.8266 GB, free: 3.73 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005256/0.2888, allocations: 0.9917 MB / 0.8276 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.289, allocations: 31.41 kB / 0.8276 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of SimCode: time 4.61e-07/0.289, allocations: 0 / 0.8276 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of Templates: time 0.01694/0.3059, allocations: 11.15 MB / 0.8385 GB, free: 7.535 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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_SmallScaleValidationCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidationCalcHelperMain.o] Error 1