Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBouSte.port.T|TBouCon.port.T|TBouPul.port.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBouSte.port.T|TBouCon.port.T|TBouPul.port.T",fileNamePrefix="Buildings_latest_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.0008222/0.0008222, allocations: 102.4 kB / 15.71 MB, free: 448 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.00108/0.00108, allocations: 176.3 kB / 16.58 MB, free: 6.879 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.506/1.506, allocations: 223.2 MB / 240.6 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.989/2.989, allocations: 436.7 MB / 0.7113 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004103/0.0004105, allocations: 12 kB / 0.8717 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8488/0.8493, allocations: 153.7 MB / 1.022 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.00349/0.8528, allocations: 1.984 MB / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001975/0.8548, allocations: 0.9324 MB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002361/0.8551, allocations: 7.938 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002854/0.8554, allocations: 39.77 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002885/0.8557, allocations: 71.45 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006127/0.8563, allocations: 126.7 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004242/0.8568, allocations: 266.8 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.8569, allocations: 32.34 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002866/0.8572, allocations: 95.58 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000191/0.8574, allocations: 103.5 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.595e-05/0.8575, allocations: 11.94 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003632/0.8578, allocations: 103.8 kB / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.282e-05/0.8579, allocations: 39.83 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.858, allocations: 69.58 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004075/0.8585, allocations: 217.4 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.8585, allocations: 4 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.067e-06/0.8585, allocations: 3.984 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.136e-05/0.8585, allocations: 0 / 1.026 GB, free: 12.98 MB / 0.7794 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.001143/0.8596, allocations: 0.5474 MB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.8597, allocations: 12.03 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.8598, allocations: 31.64 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005559/0.8604, allocations: 285.8 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/0.8604, allocations: 16.23 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.103e-05/0.8605, allocations: 23.94 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000456/0.861, allocations: 212.2 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.036e-05/0.861, allocations: 7.984 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/0.861, allocations: 4 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.8611, allocations: 4 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000386/0.8614, allocations: 119.8 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/0.8629, allocations: 0.8683 MB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004955/0.8634, allocations: 215.9 kB / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002137/0.8636, allocations: 94.55 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.8636, allocations: 0 / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004874/0.8641, allocations: 213.7 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=23): time 4.498e-06/0.8641, allocations: 0 / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.0009707/0.8651, allocations: 373.3 kB / 1.029 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/0.8653, allocations: 126.7 kB / 1.029 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003529/0.8656, allocations: 242.5 kB / 1.029 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.356e-05/0.8657, allocations: 38.08 kB / 1.029 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.8658, allocations: 144.5 kB / 1.029 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.693e-05/0.8659, allocations: 55.27 kB / 1.029 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.989e-05/0.866, allocations: 12 kB / 1.029 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002126/0.8662, allocations: 342.8 kB / 1.03 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002947/0.8665, allocations: 88.75 kB / 1.03 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000408/0.8669, allocations: 270.8 kB / 1.03 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003583/0.8673, allocations: 149.6 kB / 1.03 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.8673, allocations: 0 / 1.03 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008815/0.8682, allocations: 415.1 kB / 1.03 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.941e-05/0.8683, allocations: 33.7 kB / 1.03 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.964e-05/0.8683, allocations: 15.98 kB / 1.03 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.624e-05/0.8683, allocations: 8 kB / 1.03 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/0.8686, allocations: 67.84 kB / 1.031 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/0.8686, allocations: 8 kB / 1.031 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000307/0.8689, allocations: 47.77 kB / 1.031 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.456e-05/0.869, allocations: 27.95 kB / 1.031 GB, free: 7.52 MB / 0.7794 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 ($PRE.TBouSte.QAve_flow,TBouSte.QAve_flow,$PRE.TBouSte.UOld,TBouSte.UOld,$PRE.TBouSte.port.T,TBouSte.port.T,$PRE.TBouSte.iSam,TBouSte.iSam,$whenCondition4,$PRE.TBouCon.QAve_flow,TBouCon.QAve_flow,$PRE.TBouCon.UOld,TBouCon.UOld,$PRE.TBouCon.port.T,TBouCon.port.T,$PRE.TBouCon.iSam,TBouCon.iSam,$whenCondition3,$PRE.TBouPul.QAve_flow,TBouPul.QAve_flow,$PRE.TBouPul.UOld,TBouPul.UOld,$PRE.TBouPul.port.T,TBouPul.port.T,$PRE.TBouPul.iSam,TBouPul.iSam,$whenCondition1,$whenCondition2,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002134/0.8692, allocations: 159.9 kB / 1.031 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.517e-05/0.8693, allocations: 23.72 kB / 1.031 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.147e-05/0.8693, allocations: 29.7 kB / 1.031 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.8694, allocations: 4 kB / 1.031 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.8694, allocations: 0 / 1.031 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.8694, allocations: 4 kB / 1.031 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003719/0.8698, allocations: 269.4 kB / 1.031 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.8698, allocations: 0 / 1.031 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.8699, allocations: 27.91 kB / 1.031 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.8699, allocations: 4 kB / 1.031 GB, free: 6.957 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.104e-05/0.87, allocations: 7.984 kB / 1.031 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.87, allocations: 3.984 kB / 1.031 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.87, allocations: 0 / 1.031 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009722/0.871, allocations: 447.6 kB / 1.032 GB, free: 6.484 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.8711, allocations: 104.7 kB / 1.032 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.734e-05/0.8712, allocations: 12 kB / 1.032 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.8713, allocations: 19.97 kB / 1.032 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.465e-05/0.8714, allocations: 23.97 kB / 1.032 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/0.8715, allocations: 15.98 kB / 1.032 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001969/0.8717, allocations: 166 kB / 1.032 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.61e-07/0.8717, allocations: 0 / 1.032 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004967/0.8722, allocations: 83.98 kB / 1.032 GB, free: 6.051 MB / 0.7794 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 (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.0004565/0.8726, allocations: 177.9 kB / 1.032 GB, free: 5.867 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007215/0.8734, allocations: 299.7 kB / 1.032 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.8734, allocations: 0 / 1.032 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003015/0.8737, allocations: 116.8 kB / 1.033 GB, free: 5.449 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/0.8742, allocations: 66.84 kB / 1.033 GB, free: 5.387 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.876, allocations: 0.735 MB / 1.033 GB, free: 4.613 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004507/0.8764, allocations: 0.7371 MB / 1.034 GB, free: 3.852 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.791e-05/0.8765, allocations: 23.62 kB / 1.034 GB, free: 3.828 MB / 0.7794 GB Notification: Performance of SimCode: time 7.61e-07/0.8765, allocations: 4 kB / 1.034 GB, free: 3.824 MB / 0.7794 GB Notification: Performance of Templates: time 0.007482/0.884, allocations: 3.804 MB / 1.038 GB, free: 52 kB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryConditionCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryConditionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryConditionCalcHelperMain.o] Error 1