Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008904/0.0008907, allocations: 100.5 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.0009881/0.0009881, allocations: 174.9 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.505/1.505, allocations: 223.3 MB / 240.6 MB, free: 5.422 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.641/2.641, allocations: 390.5 MB / 0.6662 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.000359, allocations: 8 kB / 0.8155 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9828/0.9832, allocations: 142.3 MB / 0.9544 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004187/0.9874, allocations: 3.599 MB / 0.958 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003279/0.9908, allocations: 2.199 MB / 0.9601 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004217/0.9912, allocations: 9.844 kB / 0.9601 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001264/0.9925, allocations: 460.1 kB / 0.9606 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005275/0.993, allocations: 220.1 kB / 0.9608 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.9933, allocations: 87.36 kB / 0.9608 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007866/0.9941, allocations: 0.7528 MB / 0.9616 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003802/0.9944, allocations: 244.6 kB / 0.9618 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003055/0.9948, allocations: 236.2 kB / 0.962 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003266/0.9951, allocations: 280.3 kB / 0.9623 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.227e-05/0.9952, allocations: 34.12 kB / 0.9623 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.9953, allocations: 34.91 kB / 0.9624 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.9954, allocations: 124.2 kB / 0.9625 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.9956, allocations: 164 kB / 0.9626 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006302/0.9962, allocations: 0.7891 MB / 0.9634 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.9962, allocations: 1.031 kB / 0.9634 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.046e-06/0.9963, allocations: 0 / 0.9634 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.9963, allocations: 3.938 kB / 0.9634 GB, free: 1.285 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.00124/0.9975, allocations: 0.8484 MB / 0.9643 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.9976, allocations: 9.156 kB / 0.9643 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.9977, allocations: 79.58 kB / 0.9643 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005421/0.9983, allocations: 436.2 kB / 0.9648 GB, free: 164 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.266e-05/0.9983, allocations: 37.34 kB / 0.9648 GB, free: 148 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.02e-05/0.9984, allocations: 46.75 kB / 0.9648 GB, free: 132 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008665/0.9993, allocations: 424.9 kB / 0.9652 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.9993, allocations: 3.906 kB / 0.9652 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.131e-05/0.9993, allocations: 19.92 kB / 0.9653 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/0.9994, allocations: 12.44 kB / 0.9653 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007076/1, allocations: 381.8 kB / 0.9656 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002403/1.002, allocations: 1.553 MB / 0.9672 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006151/1.003, allocations: 334.3 kB / 0.9675 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005835/1.004, allocations: 349.2 kB / 0.9678 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/1.004, allocations: 4.094 kB / 0.9678 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/1.004, allocations: 44.55 kB / 0.9679 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=42): time 2.565e-06/1.004, allocations: 0 / 0.9679 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=42): time 0.001092/1.005, allocations: 0.5017 MB / 0.9683 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/1.005, allocations: 56.38 kB / 0.9684 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006859/1.006, allocations: 482 kB / 0.9689 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/1.006, allocations: 34.77 kB / 0.9689 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/1.006, allocations: 272 kB / 0.9691 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/1.006, allocations: 154.3 kB / 0.9693 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.64e-05/1.006, allocations: 5 kB / 0.9693 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001708/1.006, allocations: 367.5 kB / 0.9696 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002686/1.007, allocations: 125 kB / 0.9698 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/1.007, allocations: 136.6 kB / 0.9699 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002888/1.007, allocations: 146 kB / 0.97 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.007, allocations: 0 / 0.97 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007104/1.008, allocations: 399.3 kB / 0.9704 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/1.008, allocations: 5 kB / 0.9704 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/1.008, allocations: 1.891 kB / 0.9704 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/1.008, allocations: 1.125 kB / 0.9704 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000502/1.008, allocations: 126.5 kB / 0.9705 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/1.008, allocations: 2.562 kB / 0.9705 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003365/1.009, allocations: 59.31 kB / 0.9706 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/1.009, allocations: 11.12 kB / 0.9706 GB, free: 12.25 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 (46): * Single equations (assignments): 46 * 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.000275/1.009, allocations: 197 kB / 0.9708 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.525e-05/1.009, allocations: 56.14 kB / 0.9709 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001253/1.009, allocations: 59.48 kB / 0.9709 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/1.009, allocations: 7.531 kB / 0.9709 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/1.009, allocations: 3.938 kB / 0.9709 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/1.009, allocations: 8.859 kB / 0.9709 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007362/1.01, allocations: 0.5784 MB / 0.9715 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/1.01, allocations: 0 / 0.9715 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005114/1.011, allocations: 130.5 kB / 0.9716 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/1.011, allocations: 1.719 kB / 0.9716 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/1.011, allocations: 10.78 kB / 0.9716 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/1.011, allocations: 5.031 kB / 0.9716 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.011, allocations: 0.9688 kB / 0.9716 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/1.012, allocations: 0.6642 MB / 0.9723 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/1.012, allocations: 139.6 kB / 0.9724 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.032e-05/1.012, allocations: 7.25 kB / 0.9724 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/1.012, allocations: 24.2 kB / 0.9725 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.798e-05/1.012, allocations: 18.59 kB / 0.9725 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/1.012, allocations: 10.84 kB / 0.9725 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000448/1.013, allocations: 355.9 kB / 0.9728 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.796e-06/1.013, allocations: 0 / 0.9728 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004938/1.013, allocations: 144.5 kB / 0.973 GB, free: 10.66 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.0001807/1.014, allocations: 114.7 kB / 0.9731 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006526/1.014, allocations: 327.8 kB / 0.9734 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.014, allocations: 0 / 0.9734 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003127/1.015, allocations: 187.3 kB / 0.9736 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007677/1.015, allocations: 124.5 kB / 0.9737 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0023/1.018, allocations: 1.486 MB / 0.9751 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005289/1.018, allocations: 0.8661 MB / 0.976 GB, free: 8.418 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/1.018, allocations: 42.22 kB / 0.976 GB, free: 8.41 MB / 0.7325 GB Notification: Performance of SimCode: time 4.61e-07/1.018, allocations: 0 / 0.976 GB, free: 8.41 MB / 0.7325 GB Notification: Performance of Templates: time 0.01186/1.03, allocations: 6.741 MB / 0.9826 GB, free: 2.953 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.InternalResistancesTwoUTubeCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTubeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTubeCalcHelperMain.o] Error 1