Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBouSte.port.T|TBouCon.port.T|TBouPul.port.T",fileNamePrefix="Buildings_9_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_9_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.000814/0.0008144, 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.001018/0.001019, allocations: 176 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.552/1.552, allocations: 223.2 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.657/2.657, allocations: 390.4 MB / 0.6662 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003335/0.0003336, allocations: 11.98 kB / 0.8154 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.98/0.9804, allocations: 142.3 MB / 0.9544 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002521/0.9829, allocations: 1.971 MB / 0.9563 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001317/0.9843, allocations: 0.9387 MB / 0.9573 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.9844, allocations: 8.688 kB / 0.9573 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001887/0.9846, allocations: 36.78 kB / 0.9573 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.9847, allocations: 64.19 kB / 0.9574 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003815/0.9851, allocations: 139.6 kB / 0.9575 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002786/0.9854, allocations: 262.9 kB / 0.9577 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.9856, allocations: 27.89 kB / 0.9578 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.9857, allocations: 96.34 kB / 0.9579 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.9859, allocations: 100.6 kB / 0.958 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.551e-05/0.986, allocations: 14.28 kB / 0.958 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002987/0.9863, allocations: 95.17 kB / 0.9581 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.849e-05/0.9863, allocations: 39.52 kB / 0.9581 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.451e-05/0.9864, allocations: 73.17 kB / 0.9582 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.9867, allocations: 225.3 kB / 0.9584 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.9867, allocations: 1.688 kB / 0.9584 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9867, allocations: 0 / 0.9584 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.9867, allocations: 0 / 0.9584 GB, free: 5.094 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0008058/0.9875, allocations: 0.5627 MB / 0.9589 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.9876, allocations: 7.719 kB / 0.9589 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.808e-05/0.9876, allocations: 30.52 kB / 0.959 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/0.988, allocations: 284.2 kB / 0.9592 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.9881, allocations: 15.09 kB / 0.9593 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.512e-05/0.9881, allocations: 25.73 kB / 0.9593 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003791/0.9885, allocations: 207 kB / 0.9595 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.9885, allocations: 5.594 kB / 0.9595 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.9885, allocations: 5.375 kB / 0.9595 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.505e-06/0.9886, allocations: 6.969 kB / 0.9595 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003371/0.9889, allocations: 126.5 kB / 0.9596 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008437/0.9898, allocations: 0.8681 MB / 0.9605 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004511/0.9902, allocations: 218.3 kB / 0.9607 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.9904, allocations: 87.81 kB / 0.9608 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.9904, allocations: 6.156 kB / 0.9608 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004297/0.9909, allocations: 215 kB / 0.961 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=23): time 1.743e-06/0.9909, allocations: 0 / 0.961 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23): time 0.0008321/0.9917, allocations: 375.5 kB / 0.9613 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.9918, allocations: 113.8 kB / 0.9614 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.992, allocations: 240.4 kB / 0.9617 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.992, allocations: 39.55 kB / 0.9617 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.472e-05/0.9921, allocations: 146.8 kB / 0.9618 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.9922, allocations: 59.98 kB / 0.9619 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.371e-05/0.9922, allocations: 5.812 kB / 0.9619 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.695e-05/0.9923, allocations: 341.7 kB / 0.9622 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.9925, allocations: 82.55 kB / 0.9623 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000287/0.9928, allocations: 274.2 kB / 0.9626 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002689/0.9931, allocations: 141.5 kB / 0.9627 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.9931, allocations: 2.031 kB / 0.9627 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007078/0.9938, allocations: 418.9 kB / 0.9631 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.945e-05/0.9938, allocations: 42.41 kB / 0.9631 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.9939, allocations: 5.531 kB / 0.9632 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.9939, allocations: 11 kB / 0.9632 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.9941, allocations: 73.31 kB / 0.9632 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.807e-05/0.9942, allocations: 16.03 kB / 0.9632 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/0.9944, allocations: 48.42 kB / 0.9633 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.275e-05/0.9944, allocations: 20.97 kB / 0.9633 GB, free: 1.043 MB / 0.7169 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.000131/0.9946, allocations: 160.3 kB / 0.9635 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.9946, allocations: 31.97 kB / 0.9635 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.977e-05/0.9947, allocations: 19.66 kB / 0.9635 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.463e-06/0.9947, allocations: 4.031 kB / 0.9635 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.9947, allocations: 4.906 kB / 0.9635 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.9947, allocations: 8.969 kB / 0.9635 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002347/0.9949, allocations: 262.2 kB / 0.9638 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.995, allocations: 0 / 0.9638 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.9951, allocations: 25.55 kB / 0.9638 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.9951, allocations: 6.422 kB / 0.9638 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/0.9951, allocations: 11.05 kB / 0.9638 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.9951, allocations: 2 kB / 0.9638 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.9951, allocations: 4.953 kB / 0.9638 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008/0.9959, allocations: 432.9 kB / 0.9642 GB, free: 340 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.764e-05/0.996, allocations: 108.2 kB / 0.9643 GB, free: 220 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.963e-05/0.9961, allocations: 15.98 kB / 0.9644 GB, free: 208 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.9962, allocations: 16.23 kB / 0.9644 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.743e-05/0.9963, allocations: 21.94 kB / 0.9644 GB, free: 192 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/0.9963, allocations: 15.52 kB / 0.9644 GB, free: 184 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001682/0.9965, allocations: 166.3 kB / 0.9646 GB, free: 60 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9965, allocations: 0 / 0.9646 GB, free: 60 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004801/0.997, allocations: 84.3 kB / 0.9647 GB, free: 40 kB / 0.7169 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.0004533/0.9975, allocations: 179.2 kB / 0.9648 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006486/0.9981, allocations: 309.3 kB / 0.9651 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.9982, allocations: 64 / 0.9651 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002757/0.9984, allocations: 114.4 kB / 0.9652 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.9988, allocations: 66.06 kB / 0.9653 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/1, allocations: 0.7288 MB / 0.966 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/1.001, allocations: 0.7419 MB / 0.9667 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.363e-05/1.001, allocations: 27.62 kB / 0.9668 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of SimCode: time 6.11e-07/1.001, allocations: 0 / 0.9668 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of Templates: time 0.007467/1.008, allocations: 3.797 MB / 0.9705 GB, free: 12.42 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile make -j1 -f Buildings_9_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 9.1.2-maint.9.1.x/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 9.1.2-maint.9.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryConditionCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryConditionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryConditionCalcHelperMain.o] Error 1