Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0183/0.0183, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.002696/0.002696, allocations: 190.7 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.738/2.738, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003882/0.003883, allocations: 282.3 kB / 290.9 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 2.005/2.005, allocations: 169.2 MB / 0.4984 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00289/0.00289, allocations: 95.42 kB / 0.5952 GB, free: 28.51 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.373, allocations: 86.98 MB / 0.6801 GB, free: 1.125 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.008715/0.3818, allocations: 3.057 MB / 0.6831 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005587/0.3875, allocations: 2.109 MB / 0.6852 GB, free: 11.95 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006234/0.3882, allocations: 4 kB / 0.6852 GB, free: 11.94 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002787/0.3911, allocations: 486 kB / 0.6856 GB, free: 11.46 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008863/0.392, allocations: 127.2 kB / 0.6858 GB, free: 11.34 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.3923, allocations: 47.97 kB / 0.6858 GB, free: 11.29 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009166/0.3932, allocations: 469.8 kB / 0.6862 GB, free: 10.83 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004382/0.3937, allocations: 127.9 kB / 0.6864 GB, free: 10.71 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004019/0.3941, allocations: 143.3 kB / 0.6865 GB, free: 10.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003511/0.3944, allocations: 191 kB / 0.6867 GB, free: 10.38 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001793/0.3946, allocations: 24 kB / 0.6867 GB, free: 10.36 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.858e-05/0.3948, allocations: 24 kB / 0.6867 GB, free: 10.33 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002137/0.395, allocations: 83.67 kB / 0.6868 GB, free: 10.25 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003483/0.3953, allocations: 206.9 kB / 0.687 GB, free: 10.05 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007296/0.3961, allocations: 454.8 kB / 0.6874 GB, free: 9.602 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/0.3961, allocations: 0 / 0.6874 GB, free: 9.602 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3961, allocations: 0 / 0.6874 GB, free: 9.602 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.3961, allocations: 0 / 0.6874 GB, free: 9.602 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001813/0.398, allocations: 0.7007 MB / 0.6881 GB, free: 8.852 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.811e-05/0.3981, allocations: 8.031 kB / 0.6881 GB, free: 8.844 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001441/0.3982, allocations: 48.38 kB / 0.6882 GB, free: 8.797 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008988/0.3991, allocations: 374.1 kB / 0.6885 GB, free: 8.395 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.59e-05/0.3992, allocations: 16.81 kB / 0.6886 GB, free: 8.379 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.771e-05/0.3993, allocations: 28.38 kB / 0.6886 GB, free: 8.352 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007213/0.4, allocations: 207.6 kB / 0.6888 GB, free: 8.145 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.4, allocations: 4 kB / 0.6888 GB, free: 8.141 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.323e-05/0.4001, allocations: 7.938 kB / 0.6888 GB, free: 8.133 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.4001, allocations: 4 kB / 0.6888 GB, free: 8.129 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006608/0.4008, allocations: 165.7 kB / 0.689 GB, free: 7.969 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00216/0.403, allocations: 0.87 MB / 0.6898 GB, free: 7.023 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005328/0.4035, allocations: 154.6 kB / 0.69 GB, free: 6.863 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003578/0.4039, allocations: 114.8 kB / 0.6901 GB, free: 6.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.4039, allocations: 0 / 0.6901 GB, free: 6.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.785e-05/0.404, allocations: 38.5 kB / 0.6901 GB, free: 6.703 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 2.785e-06/0.404, allocations: 4 kB / 0.6901 GB, free: 6.699 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.00116/0.4052, allocations: 249.4 kB / 0.6903 GB, free: 6.449 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.122e-05/0.4053, allocations: 55.41 kB / 0.6904 GB, free: 6.383 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008644/0.4061, allocations: 421.7 kB / 0.6908 GB, free: 5.961 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.4062, allocations: 25.7 kB / 0.6908 GB, free: 5.93 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002622/0.4065, allocations: 208.2 kB / 0.691 GB, free: 5.719 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.4066, allocations: 63.09 kB / 0.6911 GB, free: 5.656 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.4067, allocations: 33.72 kB / 0.6911 GB, free: 5.617 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002726/0.407, allocations: 346.8 kB / 0.6914 GB, free: 5.27 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002435/0.4072, allocations: 59.92 kB / 0.6915 GB, free: 5.211 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.4075, allocations: 62.02 kB / 0.6916 GB, free: 5.152 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005086/0.408, allocations: 134 kB / 0.6917 GB, free: 5.02 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.408, allocations: 4 kB / 0.6917 GB, free: 5.016 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007066/0.4088, allocations: 205.1 kB / 0.6919 GB, free: 4.809 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.821e-05/0.4088, allocations: 5.875 kB / 0.6919 GB, free: 4.805 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.4088, allocations: 0 / 0.6919 GB, free: 4.805 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.137e-05/0.4089, allocations: 3.938 kB / 0.6919 GB, free: 4.801 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004374/0.4093, allocations: 63.83 kB / 0.692 GB, free: 4.738 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.4094, allocations: 0 / 0.692 GB, free: 4.738 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000332/0.4097, allocations: 27.83 kB / 0.692 GB, free: 4.711 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.4097, allocations: 4 kB / 0.692 GB, free: 4.707 MB / 494.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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0003312/0.4101, allocations: 163.1 kB / 0.6921 GB, free: 4.539 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.4102, allocations: 35.53 kB / 0.6922 GB, free: 4.504 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/0.4103, allocations: 43.53 kB / 0.6922 GB, free: 4.457 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.4104, allocations: 4 kB / 0.6922 GB, free: 4.453 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.4104, allocations: 3.938 kB / 0.6922 GB, free: 4.449 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.4104, allocations: 0 / 0.6922 GB, free: 4.449 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000776/0.4112, allocations: 377.4 kB / 0.6926 GB, free: 4.031 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.4112, allocations: 0 / 0.6926 GB, free: 4.031 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004244/0.4116, allocations: 55.91 kB / 0.6926 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.4117, allocations: 0 / 0.6926 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.4117, allocations: 7.938 kB / 0.6926 GB, free: 3.969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.4117, allocations: 4 kB / 0.6926 GB, free: 3.965 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4117, allocations: 0 / 0.6926 GB, free: 3.965 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.4128, allocations: 384.4 kB / 0.693 GB, free: 3.574 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001925/0.413, allocations: 116.6 kB / 0.6931 GB, free: 3.441 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.334e-05/0.4131, allocations: 15.94 kB / 0.6931 GB, free: 3.426 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002893/0.4134, allocations: 7.984 kB / 0.6931 GB, free: 3.418 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.877e-05/0.4135, allocations: 11.98 kB / 0.6932 GB, free: 3.406 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.4136, allocations: 4 kB / 0.6932 GB, free: 3.402 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000643/0.4142, allocations: 303.2 kB / 0.6935 GB, free: 3.109 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4142, allocations: 0 / 0.6935 GB, free: 3.109 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005977/0.4148, allocations: 79.83 kB / 0.6935 GB, free: 3.031 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.0002508/0.4151, allocations: 103.2 kB / 0.6936 GB, free: 2.922 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006213/0.4157, allocations: 143.8 kB / 0.6938 GB, free: 2.781 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.4157, allocations: 0 / 0.6938 GB, free: 2.781 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002998/0.416, allocations: 89.61 kB / 0.6939 GB, free: 2.695 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/0.4173, allocations: 77.45 kB / 0.6939 GB, free: 2.621 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002563/0.4199, allocations: 0.9091 MB / 0.6948 GB, free: 1.684 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007314/0.4207, allocations: 0.7953 MB / 0.6956 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.4208, allocations: 27.44 kB / 0.6956 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of SimCode: time 8.51e-07/0.4208, allocations: 0 / 0.6956 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of Templates: time 0.01339/0.4342, allocations: 4.357 MB / 0.6999 GB, free: 12.53 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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 OMCppBuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTubeCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTubeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTubeCalcHelperMain.o] Error 1