Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.009585/0.009585, allocations: 100.1 kB / 15.87 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.001816/0.001816, allocations: 187 kB / 16.78 MB, free: 5.809 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.744/1.744, allocations: 205.1 MB / 222.6 MB, free: 4.711 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.806/1.806, allocations: 292.3 MB / 0.5491 GB, free: 13.64 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.00168/0.00168, allocations: 70.03 kB / 0.6715 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3349, allocations: 114.5 MB / 0.7834 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.006369/0.3414, allocations: 3.072 MB / 0.7864 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003824/0.3452, allocations: 2.158 MB / 0.7885 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005024/0.3458, allocations: 4 kB / 0.7885 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001934/0.3478, allocations: 481.2 kB / 0.7889 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006018/0.3484, allocations: 127.1 kB / 0.7891 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.3486, allocations: 51.97 kB / 0.7891 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007657/0.3494, allocations: 465.8 kB / 0.7896 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000291/0.3497, allocations: 139.9 kB / 0.7897 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003277/0.35, allocations: 143.4 kB / 0.7898 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002393/0.3503, allocations: 179.1 kB / 0.79 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.584e-05/0.3503, allocations: 24 kB / 0.79 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.497e-05/0.3504, allocations: 24 kB / 0.79 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.3505, allocations: 87.66 kB / 0.7901 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002149/0.3508, allocations: 202.9 kB / 0.7903 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004018/0.3512, allocations: 458.8 kB / 0.7908 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3512, allocations: 4 kB / 0.7908 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.81e-07/0.3512, allocations: 0 / 0.7908 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.3512, allocations: 0 / 0.7908 GB, free: 6.34 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001107/0.3523, allocations: 0.7122 MB / 0.7915 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.3524, allocations: 8.031 kB / 0.7915 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.484e-05/0.3525, allocations: 44.38 kB / 0.7915 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004815/0.353, allocations: 374.1 kB / 0.7919 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.353, allocations: 12.81 kB / 0.7919 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.778e-05/0.353, allocations: 28.3 kB / 0.7919 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003936/0.3534, allocations: 203.6 kB / 0.7921 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.3535, allocations: 0 / 0.7921 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.3535, allocations: 8 kB / 0.7921 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.3535, allocations: 4 kB / 0.7921 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003733/0.3539, allocations: 165.7 kB / 0.7923 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.3551, allocations: 0.8739 MB / 0.7931 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/0.3554, allocations: 153.3 kB / 0.7933 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/0.3556, allocations: 108.8 kB / 0.7934 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.3557, allocations: 8 kB / 0.7934 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.3557, allocations: 34.56 kB / 0.7934 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/0.3557, allocations: 0 / 0.7934 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0005923/0.3563, allocations: 257.2 kB / 0.7937 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.3563, allocations: 55.41 kB / 0.7937 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004392/0.3568, allocations: 417.7 kB / 0.7941 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.3568, allocations: 29.7 kB / 0.7941 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.357, allocations: 208.2 kB / 0.7943 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.244e-05/0.357, allocations: 59.09 kB / 0.7944 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.994e-05/0.3571, allocations: 33.72 kB / 0.7944 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3573, allocations: 342.8 kB / 0.7947 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.3574, allocations: 59.97 kB / 0.7948 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.3576, allocations: 59.91 kB / 0.7949 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002845/0.3579, allocations: 139.4 kB / 0.795 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3579, allocations: 3.938 kB / 0.795 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003824/0.3583, allocations: 201.1 kB / 0.7952 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.3583, allocations: 8 kB / 0.7952 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3583, allocations: 0 / 0.7952 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.3583, allocations: 11.86 kB / 0.7952 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.3586, allocations: 55.97 kB / 0.7953 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.3586, allocations: 3.938 kB / 0.7953 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.3588, allocations: 23.83 kB / 0.7953 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.3588, allocations: 4 kB / 0.7953 GB, free: 1.453 MB / 0.6075 GB 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.0001851/0.359, allocations: 162.5 kB / 0.7954 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.076e-05/0.3591, allocations: 35.53 kB / 0.7955 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.463e-05/0.3591, allocations: 47.53 kB / 0.7955 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.3592, allocations: 8 kB / 0.7955 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3592, allocations: 0 / 0.7955 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3592, allocations: 3.938 kB / 0.7955 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004139/0.3596, allocations: 377.3 kB / 0.7959 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3596, allocations: 0 / 0.7959 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002482/0.3599, allocations: 51.91 kB / 0.7959 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3599, allocations: 4 kB / 0.7959 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.3599, allocations: 7.938 kB / 0.796 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3599, allocations: 0 / 0.796 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3599, allocations: 4 kB / 0.796 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005917/0.3605, allocations: 375.3 kB / 0.7963 GB, free: 332 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.3606, allocations: 120.7 kB / 0.7964 GB, free: 192 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.677e-05/0.3607, allocations: 7.938 kB / 0.7964 GB, free: 184 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.3608, allocations: 16.05 kB / 0.7965 GB, free: 168 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.509e-05/0.3609, allocations: 11.98 kB / 0.7965 GB, free: 156 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.3609, allocations: 4 kB / 0.7965 GB, free: 152 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003225/0.3612, allocations: 307.1 kB / 0.7968 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3613, allocations: 0 / 0.7968 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002965/0.3616, allocations: 75.84 kB / 0.7968 GB, free: 15.78 MB / 0.6231 GB 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.0001419/0.3617, allocations: 99.25 kB / 0.7969 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003567/0.3621, allocations: 151.8 kB / 0.7971 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3621, allocations: 0 / 0.7971 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.3622, allocations: 79.89 kB / 0.7972 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006735/0.3629, allocations: 85.5 kB / 0.7972 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.3643, allocations: 0.9014 MB / 0.7981 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.3647, allocations: 0.7914 MB / 0.7989 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.342e-05/0.3647, allocations: 27.44 kB / 0.7989 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of SimCode: time 2.6e-07/0.3647, allocations: 3.938 kB / 0.7989 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of Templates: time 0.006667/0.3714, allocations: 4.355 MB / 0.8032 GB, free: 9.266 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile make -j1 -f Buildings_8_Buildings.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 OMCppBuildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTubeCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTubeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTubeCalcHelperMain.o] Error 1