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.001345/0.001345, allocations: 96.14 kB / 15.87 MB, free: 16 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.001183/0.001183, allocations: 194.1 kB / 16.79 MB, free: 6.812 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.799/1.799, allocations: 205.1 MB / 222.6 MB, free: 4.805 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.81/1.81, allocations: 292.3 MB / 0.5491 GB, free: 13.65 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.001427/0.001427, allocations: 66.39 kB / 0.6715 GB, free: 26.54 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.354, allocations: 114.5 MB / 0.7833 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.004779/0.3589, allocations: 2.383 MB / 0.7857 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00187/0.3608, allocations: 1.05 MB / 0.7867 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.361, allocations: 4 kB / 0.7867 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002909/0.3613, allocations: 43.69 kB / 0.7867 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001917/0.3615, allocations: 71.47 kB / 0.7868 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004753/0.362, allocations: 143.7 kB / 0.7869 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002962/0.3623, allocations: 266.8 kB / 0.7872 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.3624, allocations: 32.62 kB / 0.7872 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.3626, allocations: 107.4 kB / 0.7873 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.3628, allocations: 119.4 kB / 0.7874 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.251e-05/0.3628, allocations: 8 kB / 0.7875 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002944/0.3631, allocations: 95.91 kB / 0.7875 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.436e-05/0.3632, allocations: 35.84 kB / 0.7876 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.3634, allocations: 115.3 kB / 0.7877 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003472/0.3637, allocations: 227.5 kB / 0.7879 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.3637, allocations: 4 kB / 0.7879 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3637, allocations: 4 kB / 0.7879 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.3638, allocations: 0 / 0.7879 GB, free: 9.281 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.001163/0.3649, allocations: 0.5826 MB / 0.7885 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.365, allocations: 12.03 kB / 0.7885 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.547e-05/0.3651, allocations: 24.66 kB / 0.7885 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004957/0.3656, allocations: 294.9 kB / 0.7888 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.3656, allocations: 16.61 kB / 0.7888 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.349e-05/0.3657, allocations: 28.36 kB / 0.7888 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004485/0.3661, allocations: 197.8 kB / 0.789 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.3662, allocations: 8 kB / 0.789 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.3662, allocations: 3.984 kB / 0.789 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.3662, allocations: 8 kB / 0.7891 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003612/0.3666, allocations: 103.8 kB / 0.7891 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.3678, allocations: 0.8682 MB / 0.79 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005099/0.3683, allocations: 211.8 kB / 0.7902 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002237/0.3685, allocations: 74.61 kB / 0.7903 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.3685, allocations: 7.938 kB / 0.7903 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005273/0.3691, allocations: 200.9 kB / 0.7905 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 1.513e-06/0.3691, allocations: 0 / 0.7905 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.0009443/0.37, allocations: 353.1 kB / 0.7908 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.449e-05/0.3701, allocations: 122.7 kB / 0.7909 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/0.3704, allocations: 250.4 kB / 0.7912 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.892e-05/0.3705, allocations: 37.7 kB / 0.7912 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.3706, allocations: 141 kB / 0.7913 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.118e-05/0.3707, allocations: 63.19 kB / 0.7914 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.3708, allocations: 78.06 kB / 0.7915 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.371, allocations: 338.8 kB / 0.7918 GB, free: 5 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/0.3712, allocations: 80.69 kB / 0.7919 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003481/0.3716, allocations: 255.2 kB / 0.7921 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006212/0.3722, allocations: 396.7 kB / 0.7925 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/0.3722, allocations: 4 kB / 0.7925 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007749/0.373, allocations: 407 kB / 0.7929 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.849e-05/0.373, allocations: 37.8 kB / 0.7929 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.3731, allocations: 4 kB / 0.7929 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/0.3731, allocations: 8 kB / 0.7929 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/0.3733, allocations: 67.84 kB / 0.793 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.962e-05/0.3734, allocations: 19.86 kB / 0.793 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/0.3736, allocations: 35.73 kB / 0.793 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.3736, allocations: 20 kB / 0.7931 GB, free: 3.504 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.0001716/0.3738, allocations: 163.9 kB / 0.7932 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.562e-05/0.3739, allocations: 31.61 kB / 0.7933 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.907e-05/0.374, allocations: 21.72 kB / 0.7933 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.374, allocations: 7.984 kB / 0.7933 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/0.374, allocations: 3.938 kB / 0.7933 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.374, allocations: 0 / 0.7933 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000325/0.3743, allocations: 269.4 kB / 0.7935 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3744, allocations: 0 / 0.7935 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.3745, allocations: 19.98 kB / 0.7936 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.3745, allocations: 4 kB / 0.7936 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.059e-05/0.3745, allocations: 11.98 kB / 0.7936 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3745, allocations: 0 / 0.7936 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.3745, allocations: 3.938 kB / 0.7936 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008956/0.3754, allocations: 413 kB / 0.794 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.784e-05/0.3755, allocations: 100.8 kB / 0.7941 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.123e-05/0.3756, allocations: 12.03 kB / 0.7941 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.3758, allocations: 15.98 kB / 0.7941 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.357e-05/0.3759, allocations: 31.98 kB / 0.7941 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.3759, allocations: 7.984 kB / 0.7941 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001626/0.3761, allocations: 174 kB / 0.7943 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3761, allocations: 0 / 0.7943 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000418/0.3765, allocations: 79.94 kB / 0.7944 GB, free: 2.062 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 (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.000416/0.3769, allocations: 173.6 kB / 0.7945 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000653/0.3776, allocations: 296.3 kB / 0.7948 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.3776, allocations: 4 kB / 0.7948 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002968/0.3779, allocations: 112 kB / 0.7949 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004462/0.3784, allocations: 56.45 kB / 0.795 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.3799, allocations: 0.6985 MB / 0.7957 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004395/0.3803, allocations: 0.741 MB / 0.7964 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.3804, allocations: 23.44 kB / 0.7964 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of SimCode: time 2e-07/0.3804, allocations: 0 / 0.7964 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of Templates: time 0.00715/0.3875, allocations: 3.829 MB / 0.8002 GB, free: 12.09 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