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_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 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_100boreholes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_9_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="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_9_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.0009832/0.0009836, allocations: 100.5 kB / 15.71 MB, free: 452 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.001204/0.001204, allocations: 175.2 kB / 16.58 MB, free: 6.422 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.489/1.489, allocations: 223.2 MB / 240.6 MB, free: 5.414 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.572/2.572, allocations: 390.5 MB / 0.6662 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003856/0.0003856, allocations: 12 kB / 0.8155 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.902/0.9024, allocations: 142.3 MB / 0.9545 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001593/0.9041, allocations: 1.112 MB / 0.9555 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004297/0.9084, allocations: 2.825 MB / 0.9583 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.772e-05/0.9085, allocations: 5.656 kB / 0.9583 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.9086, allocations: 7.922 kB / 0.9583 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002786/0.9089, allocations: 27.16 kB / 0.9583 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002449/0.9114, allocations: 0.7511 MB / 0.9591 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.9115, allocations: 93.22 kB / 0.9592 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.531e-05/0.9116, allocations: 2.75 kB / 0.9592 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.771e-05/0.9117, allocations: 44.3 kB / 0.9592 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003329/0.912, allocations: 237.1 kB / 0.9594 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.243e-05/0.9121, allocations: 12.84 kB / 0.9594 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002237/0.9143, allocations: 1.313 MB / 0.9607 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000925/0.9153, allocations: 0.7032 MB / 0.9614 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002109/0.9155, allocations: 184 kB / 0.9616 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002018/0.9175, allocations: 1.181 MB / 0.9627 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.9175, allocations: 3.984 kB / 0.9627 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.825e-06/0.9175, allocations: 0 / 0.9627 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.9175, allocations: 0 / 0.9627 GB, free: 2.566 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.008195/0.9257, allocations: 1.599 MB / 0.9643 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/0.9258, allocations: 8.812 kB / 0.9643 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004695/0.9263, allocations: 151.7 kB / 0.9645 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005628/0.9269, allocations: 0.4912 MB / 0.9649 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.9269, allocations: 6.688 kB / 0.9649 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.816e-05/0.9269, allocations: 4.469 kB / 0.965 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005125/0.9275, allocations: 391.2 kB / 0.9653 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.9275, allocations: 3.938 kB / 0.9653 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.9275, allocations: 0.75 kB / 0.9653 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.9275, allocations: 4.938 kB / 0.9653 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005335/0.9281, allocations: 438.3 kB / 0.9658 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009405/0.929, allocations: 0.7992 MB / 0.9665 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006786/0.9297, allocations: 0.5611 MB / 0.9671 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004007/0.9301, allocations: 340.6 kB / 0.9674 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/0.9312, allocations: 1.037 MB / 0.9684 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004764/0.9317, allocations: 406.7 kB / 0.9688 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.9317, allocations: 3.938 kB / 0.9688 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.001723/0.9334, allocations: 1.342 MB / 0.9701 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.9335, allocations: 87.7 kB / 0.9702 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002262/0.9357, allocations: 1.845 MB / 0.972 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.693e-05/0.9358, allocations: 28.83 kB / 0.972 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000399/0.9362, allocations: 479.1 kB / 0.9725 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/0.9363, allocations: 19.3 kB / 0.9725 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.449e-05/0.9363, allocations: 1.094 kB / 0.9725 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001875/0.9365, allocations: 404.7 kB / 0.9729 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001459/0.9379, allocations: 1.517 MB / 0.9744 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001431/0.9394, allocations: 1.644 MB / 0.976 GB, free: 9.496 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001785/0.9412, allocations: 2.043 MB / 0.978 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.9412, allocations: 0 / 0.978 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004508/0.9457, allocations: 4.296 MB / 0.9822 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.9458, allocations: 12.03 kB / 0.9822 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.9458, allocations: 3.984 kB / 0.9822 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.9458, allocations: 3.938 kB / 0.9822 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.9459, allocations: 12 kB / 0.9822 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/0.946, allocations: 4 kB / 0.9822 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008407/0.9468, allocations: 244.2 kB / 0.9824 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.336e-05/0.9469, allocations: 27.94 kB / 0.9825 GB, free: 2.797 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.000572/0.9474, allocations: 369.5 kB / 0.9828 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.9476, allocations: 118 kB / 0.9829 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003403/0.9479, allocations: 145.1 kB / 0.9831 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.9479, allocations: 0 / 0.9831 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.9479, allocations: 0 / 0.9831 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.9479, allocations: 4 kB / 0.9831 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007023/0.9486, allocations: 0.6794 MB / 0.9837 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.9487, allocations: 3.938 kB / 0.9837 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.97e-05/0.9487, allocations: 16.03 kB / 0.9838 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.9487, allocations: 0 / 0.9838 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.9488, allocations: 7.984 kB / 0.9838 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.9488, allocations: 0 / 0.9838 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.9488, allocations: 0 / 0.9838 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009574/0.9497, allocations: 1.059 MB / 0.9848 GB, free: 308 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.9499, allocations: 191.1 kB / 0.985 GB, free: 96 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.693e-05/0.95, allocations: 7.984 kB / 0.985 GB, free: 88 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.9502, allocations: 8 kB / 0.985 GB, free: 80 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.9503, allocations: 7.922 kB / 0.985 GB, free: 72 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.714e-05/0.9503, allocations: 11.98 kB / 0.985 GB, free: 60 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001254/0.9516, allocations: 1.101 MB / 0.9861 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9516, allocations: 7.938 kB / 0.9861 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001396/0.953, allocations: 431.8 kB / 0.9865 GB, free: 14.5 MB / 0.7481 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.001184/0.9542, allocations: 470.8 kB / 0.987 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002401/0.9566, allocations: 2.652 MB / 0.9895 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.9566, allocations: 4 kB / 0.9896 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000335/0.9569, allocations: 335.8 kB / 0.9899 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.9574, allocations: 50.5 kB / 0.9899 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003429/0.9608, allocations: 2.77 MB / 0.9926 GB, free: 8.18 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006992/0.9615, allocations: 1.15 MB / 0.9937 GB, free: 7.004 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.9617, allocations: 31.41 kB / 0.9938 GB, free: 6.973 MB / 0.7481 GB Notification: Performance of SimCode: time 9.42e-07/0.9617, allocations: 3.938 kB / 0.9938 GB, free: 6.969 MB / 0.7481 GB Notification: Performance of Templates: time 0.02607/0.9877, allocations: 15.02 MB / 1.008 GB, free: 7.945 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.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_100boreholesCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholesCalcHelperMain.o] Error 1