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.001253/0.001253, allocations: 96.14 kB / 16.03 MB, free: 68 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.001626/0.001626, allocations: 185.7 kB / 16.92 MB, free: 6.691 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.887/1.887, allocations: 205.4 MB / 223.1 MB, free: 5.562 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.869/1.869, allocations: 292.7 MB / 0.5509 GB, free: 14.44 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.0005565/0.0005565, allocations: 20.09 kB / 0.675 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3283, allocations: 116.3 MB / 0.7886 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.003323/0.3317, allocations: 2.029 MB / 0.7905 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002069/0.3338, allocations: 1.026 MB / 0.7915 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002471/0.3341, allocations: 7.938 kB / 0.7915 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003148/0.3344, allocations: 39.75 kB / 0.7916 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003237/0.3348, allocations: 75.41 kB / 0.7917 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005821/0.3354, allocations: 135.7 kB / 0.7918 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002814/0.3357, allocations: 274.8 kB / 0.792 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.3358, allocations: 36.61 kB / 0.7921 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.336, allocations: 103.5 kB / 0.7922 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.3361, allocations: 107.4 kB / 0.7923 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.924e-05/0.3362, allocations: 8 kB / 0.7923 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002779/0.3365, allocations: 99.89 kB / 0.7924 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.92e-05/0.3365, allocations: 39.83 kB / 0.7924 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.3367, allocations: 137 kB / 0.7926 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002945/0.337, allocations: 223.5 kB / 0.7928 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.337, allocations: 0 / 0.7928 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.553e-06/0.337, allocations: 8 kB / 0.7928 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.337, allocations: 0 / 0.7928 GB, free: 7.191 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.001014/0.338, allocations: 0.5359 MB / 0.7933 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.3381, allocations: 16.02 kB / 0.7933 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.968e-05/0.3382, allocations: 24.66 kB / 0.7933 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004663/0.3386, allocations: 302.9 kB / 0.7936 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.3387, allocations: 20.53 kB / 0.7936 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.942e-05/0.3387, allocations: 20.28 kB / 0.7937 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004513/0.3392, allocations: 216.6 kB / 0.7939 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.3392, allocations: 3.938 kB / 0.7939 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/0.3393, allocations: 4 kB / 0.7939 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.3393, allocations: 4 kB / 0.7939 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000377/0.3397, allocations: 123.8 kB / 0.794 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.3407, allocations: 0.8762 MB / 0.7949 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005058/0.3412, allocations: 215.9 kB / 0.7951 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.3415, allocations: 86.61 kB / 0.7951 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.3415, allocations: 4 kB / 0.7951 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004816/0.342, allocations: 205.8 kB / 0.7953 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 1.453e-06/0.342, allocations: 0 / 0.7953 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.0008946/0.3429, allocations: 381.1 kB / 0.7957 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.654e-05/0.343, allocations: 114.8 kB / 0.7958 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.3432, allocations: 254.4 kB / 0.7961 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.3433, allocations: 33.7 kB / 0.7961 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.338e-05/0.3434, allocations: 144.5 kB / 0.7962 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.768e-05/0.3434, allocations: 63.19 kB / 0.7963 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-05/0.3435, allocations: 53.62 kB / 0.7963 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.3436, allocations: 334.8 kB / 0.7967 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/0.3439, allocations: 92.75 kB / 0.7967 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003528/0.3443, allocations: 259 kB / 0.797 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006403/0.3449, allocations: 400.5 kB / 0.7974 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.3449, allocations: 3.938 kB / 0.7974 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008026/0.3458, allocations: 415 kB / 0.7978 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.422e-05/0.3458, allocations: 33.7 kB / 0.7978 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.3458, allocations: 8.531 kB / 0.7978 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.3459, allocations: 12 kB / 0.7978 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.3461, allocations: 67.84 kB / 0.7979 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.929e-05/0.3461, allocations: 23.94 kB / 0.7979 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002482/0.3464, allocations: 44.02 kB / 0.798 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.115e-05/0.3464, allocations: 23.98 kB / 0.798 GB, free: 1.352 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 (TBouSte.QAve_flow,$PRE.TBouSte.QAve_flow,TBouSte.UOld,$PRE.TBouSte.UOld,TBouSte.port.T,$PRE.TBouSte.port.T,TBouSte.iSam,$PRE.TBouSte.iSam,$whenCondition4,TBouCon.QAve_flow,$PRE.TBouCon.QAve_flow,TBouCon.UOld,$PRE.TBouCon.UOld,TBouCon.port.T,$PRE.TBouCon.port.T,TBouCon.iSam,$PRE.TBouCon.iSam,$whenCondition3,TBouPul.QAve_flow,$PRE.TBouPul.QAve_flow,TBouPul.UOld,$PRE.TBouPul.UOld,TBouPul.port.T,$PRE.TBouPul.port.T,TBouPul.iSam,$PRE.TBouPul.iSam,$whenCondition1,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001682/0.3466, allocations: 168.6 kB / 0.7981 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.207e-05/0.3466, allocations: 27.66 kB / 0.7982 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.903e-05/0.3467, allocations: 29.64 kB / 0.7982 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.3467, allocations: 4 kB / 0.7982 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.3467, allocations: 3.938 kB / 0.7982 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3467, allocations: 0 / 0.7982 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002958/0.347, allocations: 269.3 kB / 0.7985 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3471, allocations: 0 / 0.7985 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.3472, allocations: 27.98 kB / 0.7985 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.3472, allocations: 0 / 0.7985 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/0.3472, allocations: 11.98 kB / 0.7985 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.3472, allocations: 4 kB / 0.7985 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.3473, allocations: 3.938 kB / 0.7985 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008592/0.3481, allocations: 436.6 kB / 0.7989 GB, free: 312 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.2e-05/0.3482, allocations: 100.8 kB / 0.799 GB, free: 192 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.68e-05/0.3483, allocations: 16.22 kB / 0.799 GB, free: 176 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.3484, allocations: 15.98 kB / 0.7991 GB, free: 160 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.937e-05/0.3485, allocations: 27.91 kB / 0.7991 GB, free: 132 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.3485, allocations: 15.98 kB / 0.7991 GB, free: 116 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000174/0.3487, allocations: 166 kB / 0.7993 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.3487, allocations: 0 / 0.7993 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004289/0.3492, allocations: 87.92 kB / 0.7993 GB, free: 15.87 MB / 0.6231 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 (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.000389/0.3496, allocations: 170.3 kB / 0.7995 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006668/0.3502, allocations: 308.4 kB / 0.7998 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.3503, allocations: 4.062 kB / 0.7998 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002651/0.3505, allocations: 107.9 kB / 0.7999 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004294/0.351, allocations: 67.67 kB / 0.8 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.3525, allocations: 0.7585 MB / 0.8007 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.3529, allocations: 0.741 MB / 0.8014 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.61e-05/0.353, allocations: 27.38 kB / 0.8015 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of SimCode: time 6.71e-07/0.353, allocations: 0 / 0.8015 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of Templates: time 0.009129/0.3621, allocations: 3.803 MB / 0.8052 GB, free: 9.84 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++ -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/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/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