Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_9_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.001069/0.001069, allocations: 99.67 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.002177/0.002176, allocations: 173.3 kB / 16.58 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 223.2 MB / 240.6 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.805/2.805, allocations: 390.4 MB / 0.6662 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.0003851, allocations: 11.98 kB / 0.8155 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002/1.002, allocations: 142.3 MB / 0.9545 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003237/1.005, allocations: 2.601 MB / 0.957 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002735/1.008, allocations: 1.937 MB / 0.9589 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001973/1.008, allocations: 4.844 kB / 0.9589 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001237/1.01, allocations: 431.1 kB / 0.9593 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002832/1.01, allocations: 129.9 kB / 0.9594 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001054/1.01, allocations: 34.06 kB / 0.9595 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004781/1.011, allocations: 426.4 kB / 0.9599 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002342/1.011, allocations: 123 kB / 0.96 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001889/1.011, allocations: 130.7 kB / 0.9601 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/1.011, allocations: 160.4 kB / 0.9603 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.954e-05/1.011, allocations: 21.81 kB / 0.9603 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.637e-05/1.011, allocations: 19.25 kB / 0.9603 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.858e-05/1.011, allocations: 76.36 kB / 0.9604 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.499e-05/1.012, allocations: 106.6 kB / 0.9605 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000332/1.012, allocations: 448.4 kB / 0.9609 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/1.012, allocations: 0 / 0.9609 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.793e-06/1.012, allocations: 4 kB / 0.9609 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.069e-05/1.012, allocations: 0 / 0.9609 GB, free: 3.145 MB / 0.7169 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.0008891/1.013, allocations: 0.6519 MB / 0.9615 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/1.013, allocations: 8.844 kB / 0.9615 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.971e-05/1.013, allocations: 45.45 kB / 0.9616 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004481/1.013, allocations: 362.3 kB / 0.9619 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/1.013, allocations: 12.62 kB / 0.9619 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.725e-05/1.014, allocations: 21.69 kB / 0.962 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004189/1.014, allocations: 205.9 kB / 0.9622 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/1.014, allocations: 1.156 kB / 0.9622 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/1.014, allocations: 13.89 kB / 0.9622 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/1.014, allocations: 8.703 kB / 0.9622 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003955/1.014, allocations: 172 kB / 0.9624 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/1.016, allocations: 0.8783 MB / 0.9632 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003145/1.016, allocations: 161 kB / 0.9634 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/1.016, allocations: 116.6 kB / 0.9635 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/1.016, allocations: 6 kB / 0.9635 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/1.016, allocations: 31.62 kB / 0.9635 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.993e-06/1.016, allocations: 0 / 0.9635 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.0006194/1.017, allocations: 275.4 kB / 0.9638 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/1.017, allocations: 56.69 kB / 0.9638 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000503/1.017, allocations: 417.2 kB / 0.9642 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/1.017, allocations: 26.86 kB / 0.9642 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/1.017, allocations: 204.6 kB / 0.9644 GB, free: 372 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.789e-05/1.018, allocations: 63.12 kB / 0.9645 GB, free: 316 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.916e-06/1.018, allocations: 1.25 kB / 0.9645 GB, free: 316 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001223/1.018, allocations: 351.4 kB / 0.9648 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/1.018, allocations: 64.78 kB / 0.9649 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/1.018, allocations: 60.73 kB / 0.965 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/1.018, allocations: 68.36 kB / 0.965 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.018, allocations: 0 / 0.965 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003949/1.019, allocations: 226.3 kB / 0.9652 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/1.019, allocations: 6.531 kB / 0.9652 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/1.019, allocations: 0 / 0.9652 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/1.019, allocations: 3.594 kB / 0.9653 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/1.019, allocations: 57.08 kB / 0.9653 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/1.019, allocations: 1.594 kB / 0.9653 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/1.019, allocations: 27.36 kB / 0.9653 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/1.019, allocations: 11.08 kB / 0.9653 GB, free: 15.71 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001743/1.019, allocations: 162.3 kB / 0.9655 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.431e-05/1.019, allocations: 39.53 kB / 0.9655 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.036e-05/1.019, allocations: 43.67 kB / 0.9656 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/1.019, allocations: 2.156 kB / 0.9656 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/1.019, allocations: 0 / 0.9656 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/1.019, allocations: 1.125 kB / 0.9656 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000452/1.02, allocations: 374 kB / 0.9659 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.02, allocations: 0 / 0.9659 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002597/1.02, allocations: 63.8 kB / 0.966 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/1.02, allocations: 5.375 kB / 0.966 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/1.02, allocations: 1.438 kB / 0.966 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/1.02, allocations: 3.938 kB / 0.966 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/1.02, allocations: 1.344 kB / 0.966 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006663/1.021, allocations: 396.1 kB / 0.9664 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/1.021, allocations: 119.3 kB / 0.9665 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.636e-05/1.021, allocations: 1.781 kB / 0.9665 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/1.021, allocations: 15.7 kB / 0.9665 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/1.021, allocations: 10.08 kB / 0.9665 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/1.021, allocations: 10.88 kB / 0.9665 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003803/1.022, allocations: 299.6 kB / 0.9668 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.022, allocations: 3.938 kB / 0.9668 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003559/1.022, allocations: 75 kB / 0.9669 GB, free: 14.55 MB / 0.7325 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 (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.0001619/1.022, allocations: 101.9 kB / 0.967 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000388/1.023, allocations: 165.1 kB / 0.9672 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/1.023, allocations: 0 / 0.9672 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001803/1.023, allocations: 86.39 kB / 0.9672 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006194/1.024, allocations: 85.02 kB / 0.9673 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/1.025, allocations: 0.9304 MB / 0.9682 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/1.025, allocations: 0.7936 MB / 0.969 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.37e-05/1.025, allocations: 25.25 kB / 0.969 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of SimCode: time 5.72e-07/1.025, allocations: 0 / 0.969 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of Templates: time 0.008613/1.034, allocations: 4.31 MB / 0.9732 GB, free: 10.66 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTubeCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTubeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTubeCalcHelperMain.o] Error 1