Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.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.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009264/0.0009262, allocations: 99.12 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.001115/0.001115, allocations: 179.4 kB / 16.58 MB, free: 6.879 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.832/1.832, allocations: 205.4 MB / 222.8 MB, free: 5.652 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.838/1.838, allocations: 292.7 MB / 0.5505 GB, free: 14.58 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.0005437/0.0005438, allocations: 14.97 kB / 0.6744 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3119, allocations: 116.3 MB / 0.7879 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.003037/0.315, allocations: 1.964 MB / 0.7898 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001698/0.3167, allocations: 0.9878 MB / 0.7908 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.3169, allocations: 7.938 kB / 0.7908 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002227/0.3171, allocations: 35.77 kB / 0.7909 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001872/0.3173, allocations: 71.41 kB / 0.7909 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004551/0.3178, allocations: 127.8 kB / 0.791 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002799/0.318, allocations: 262.8 kB / 0.7913 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.3182, allocations: 36.55 kB / 0.7913 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.3184, allocations: 99.58 kB / 0.7914 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.3185, allocations: 99.53 kB / 0.7915 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.3185, allocations: 8 kB / 0.7915 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002835/0.3188, allocations: 99.89 kB / 0.7916 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.52e-05/0.3189, allocations: 39.83 kB / 0.7917 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.601e-05/0.319, allocations: 69.58 kB / 0.7917 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002922/0.3193, allocations: 211.5 kB / 0.7919 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3193, allocations: 3.938 kB / 0.7919 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.355e-06/0.3193, allocations: 4 kB / 0.7919 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.255e-06/0.3193, allocations: 0 / 0.7919 GB, free: 7.836 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0008934/0.3202, allocations: 0.5553 MB / 0.7925 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.3203, allocations: 8.031 kB / 0.7925 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.413e-05/0.3203, allocations: 31.7 kB / 0.7925 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004247/0.3208, allocations: 293.7 kB / 0.7928 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.3208, allocations: 12.23 kB / 0.7928 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.92e-05/0.3209, allocations: 19.98 kB / 0.7928 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003928/0.3213, allocations: 216.2 kB / 0.793 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.3213, allocations: 0 / 0.793 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.3213, allocations: 4 kB / 0.793 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.3213, allocations: 4 kB / 0.793 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003188/0.3216, allocations: 123.8 kB / 0.7932 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.3227, allocations: 0.8723 MB / 0.794 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004383/0.3232, allocations: 223.6 kB / 0.7942 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002212/0.3234, allocations: 90.61 kB / 0.7943 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/0.3234, allocations: 0 / 0.7943 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005/0.3239, allocations: 213.7 kB / 0.7945 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 1.714e-06/0.3239, allocations: 0 / 0.7945 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.0009047/0.3249, allocations: 381.1 kB / 0.7949 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.933e-05/0.325, allocations: 118.8 kB / 0.795 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.3252, allocations: 246.5 kB / 0.7952 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.172e-05/0.3253, allocations: 41.7 kB / 0.7953 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.3254, allocations: 136.6 kB / 0.7954 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.659e-05/0.3255, allocations: 59.25 kB / 0.7955 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.535e-05/0.3255, allocations: 8 kB / 0.7955 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.3257, allocations: 338.8 kB / 0.7958 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.3259, allocations: 88.75 kB / 0.7959 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003597/0.3263, allocations: 262.9 kB / 0.7961 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/0.3266, allocations: 145.6 kB / 0.7963 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3266, allocations: 0 / 0.7963 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007519/0.3273, allocations: 415.3 kB / 0.7967 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.63e-05/0.3274, allocations: 37.75 kB / 0.7967 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.3274, allocations: 8 kB / 0.7967 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.3274, allocations: 8 kB / 0.7967 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.3276, allocations: 75.83 kB / 0.7968 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.917e-05/0.3277, allocations: 16 kB / 0.7968 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002177/0.3279, allocations: 43.67 kB / 0.7968 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/0.3279, allocations: 23.94 kB / 0.7969 GB, free: 2.375 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 32 ($PRE.TBouSte.QAve_flow,TBouSte.QAve_flow,$PRE.TBouSte.UOld,TBouSte.UOld,$PRE.TBouSte.port.T,TBouSte.port.T,$PRE.TBouSte.iSam,TBouSte.iSam,$whenCondition4,$PRE.TBouCon.QAve_flow,TBouCon.QAve_flow,$PRE.TBouCon.UOld,TBouCon.UOld,$PRE.TBouCon.port.T,TBouCon.port.T,$PRE.TBouCon.iSam,TBouCon.iSam,$whenCondition3,$PRE.TBouPul.QAve_flow,TBouPul.QAve_flow,$PRE.TBouPul.UOld,TBouPul.UOld,$PRE.TBouPul.port.T,TBouPul.port.T,$PRE.TBouPul.iSam,TBouPul.iSam,$whenCondition1,$whenCondition2,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.0001764/0.3281, allocations: 163.9 kB / 0.797 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.064e-05/0.3282, allocations: 31.72 kB / 0.797 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.001e-05/0.3282, allocations: 25.66 kB / 0.7971 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.3283, allocations: 4 kB / 0.7971 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.966e-06/0.3283, allocations: 0 / 0.7971 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.3283, allocations: 0 / 0.7971 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003074/0.3286, allocations: 273.3 kB / 0.7973 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3286, allocations: 4.375 kB / 0.7973 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.3287, allocations: 23.97 kB / 0.7974 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/0.3287, allocations: 4 kB / 0.7974 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/0.3288, allocations: 8 kB / 0.7974 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.259e-06/0.3288, allocations: 7.891 kB / 0.7974 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3288, allocations: 0 / 0.7974 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000835/0.3296, allocations: 439.9 kB / 0.7978 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.52e-05/0.3297, allocations: 108.8 kB / 0.7979 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.576e-05/0.3298, allocations: 8 kB / 0.7979 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.3299, allocations: 19.97 kB / 0.7979 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.099e-05/0.33, allocations: 23.92 kB / 0.798 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.3301, allocations: 12.23 kB / 0.798 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001638/0.3302, allocations: 170 kB / 0.7981 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3302, allocations: 0 / 0.7981 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004169/0.3307, allocations: 87.92 kB / 0.7982 GB, free: 0.8945 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (TBouSte.U,TBouCon.U,TBouPul.U) * Number of discrete variables: 18 ($whenCondition4,TBouSte.QAve_flow,TBouSte.port.T,TBouSte.UOld,TBouSte.iSam,$whenCondition3,TBouCon.QAve_flow,TBouCon.port.T,TBouCon.UOld,TBouCon.iSam,$whenCondition2,$whenCondition1,TBouPul.QAve_flow,TBouPul.port.T,TBouPul.UOld,TBouPul.iSam,pulse.T_start,pulse.count) * Number of discrete states: 7 (TBouPul.iSam,TBouPul.UOld,pulse.count,TBouCon.iSam,TBouCon.UOld,TBouSte.iSam,TBouSte.UOld) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0004027/0.3311, allocations: 170.7 kB / 0.7984 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006037/0.3317, allocations: 311.8 kB / 0.7987 GB, free: 416 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3317, allocations: 0 / 0.7987 GB, free: 416 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002486/0.332, allocations: 111.9 kB / 0.7988 GB, free: 304 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.3323, allocations: 61.33 kB / 0.7988 GB, free: 244 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.3337, allocations: 0.7194 MB / 0.7995 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.334, allocations: 0.7449 MB / 0.8003 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.377e-05/0.3341, allocations: 23.44 kB / 0.8003 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.3341, allocations: 0 / 0.8003 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of Templates: time 0.007373/0.3415, allocations: 3.807 MB / 0.804 GB, free: 10.91 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryConditionCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryConditionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryConditionCalcHelperMain.o] Error 1