Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.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.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001258, allocations: 96.14 kB / 15.87 MB, free: 16 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.001485/0.001485, allocations: 194.1 kB / 16.79 MB, free: 6.812 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.781/1.781, allocations: 205.1 MB / 222.6 MB, free: 4.797 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.894/1.894, allocations: 292.3 MB / 0.5491 GB, free: 13.62 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.001501/0.001501, allocations: 70.7 kB / 0.6715 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.363, allocations: 114.5 MB / 0.7833 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.004475/0.3675, allocations: 1.538 MB / 0.7848 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001087/0.3687, allocations: 0.4969 MB / 0.7853 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.589e-05/0.3687, allocations: 3.938 kB / 0.7853 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.3689, allocations: 7.922 kB / 0.7853 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.727e-05/0.369, allocations: 11.94 kB / 0.7853 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.3692, allocations: 35.89 kB / 0.7854 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.3694, allocations: 83.83 kB / 0.7854 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.3695, allocations: 12.17 kB / 0.7855 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.3697, allocations: 43.84 kB / 0.7855 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.3698, allocations: 47.75 kB / 0.7855 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.251e-05/0.3698, allocations: 4 kB / 0.7855 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.11e-05/0.3699, allocations: 8 kB / 0.7856 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.986e-05/0.3699, allocations: 15.92 kB / 0.7856 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.429e-05/0.37, allocations: 31.86 kB / 0.7856 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.3702, allocations: 56.12 kB / 0.7857 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.405e-06/0.3702, allocations: 0 / 0.7857 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3702, allocations: 3.938 kB / 0.7857 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.3702, allocations: 4 kB / 0.7857 GB, free: 11.57 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008483/0.3711, allocations: 446.6 kB / 0.7861 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.3711, allocations: 12.03 kB / 0.7861 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.748e-05/0.3712, allocations: 12.84 kB / 0.7861 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.3714, allocations: 195.3 kB / 0.7863 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.3714, allocations: 4.375 kB / 0.7863 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.3715, allocations: 8.375 kB / 0.7863 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003394/0.3718, allocations: 113.8 kB / 0.7864 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.3718, allocations: 0 / 0.7864 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.3719, allocations: 4 kB / 0.7864 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.3719, allocations: 0 / 0.7864 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003135/0.3722, allocations: 91.92 kB / 0.7865 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007718/0.373, allocations: 328.7 kB / 0.7868 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003289/0.3733, allocations: 114.4 kB / 0.7869 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/0.3735, allocations: 68.94 kB / 0.787 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.3736, allocations: 4 kB / 0.787 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003882/0.374, allocations: 123.3 kB / 0.7871 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.374, allocations: 4 kB / 0.7871 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0008087/0.3748, allocations: 275.1 kB / 0.7874 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.408e-05/0.3749, allocations: 85.11 kB / 0.7875 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.375, allocations: 132.6 kB / 0.7876 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.3751, allocations: 29.7 kB / 0.7876 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.883e-05/0.3751, allocations: 96.05 kB / 0.7877 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.3752, allocations: 27.73 kB / 0.7877 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.677e-05/0.3753, allocations: 25.72 kB / 0.7878 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.3754, allocations: 322.8 kB / 0.7881 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.3757, allocations: 63.95 kB / 0.7881 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001809/0.3758, allocations: 63.95 kB / 0.7882 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003741/0.3762, allocations: 193.9 kB / 0.7884 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3762, allocations: 0 / 0.7884 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005404/0.3768, allocations: 256.9 kB / 0.7886 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.921e-05/0.3769, allocations: 71.33 kB / 0.7887 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3769, allocations: 0 / 0.7887 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.3769, allocations: 0 / 0.7887 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.3771, allocations: 19.92 kB / 0.7887 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.3771, allocations: 4 kB / 0.7887 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.3772, allocations: 19.97 kB / 0.7887 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.3773, allocations: 8 kB / 0.7887 GB, free: 8.125 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: 6 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,numReq.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0001811/0.3775, allocations: 159.5 kB / 0.7889 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.3775, allocations: 7.906 kB / 0.7889 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.621e-05/0.3775, allocations: 8.375 kB / 0.7889 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.3775, allocations: 4 kB / 0.7889 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.3776, allocations: 4 kB / 0.7889 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3776, allocations: 0 / 0.7889 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/0.3778, allocations: 197.6 kB / 0.7891 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.3778, allocations: 0 / 0.7891 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.424e-05/0.3779, allocations: 11.98 kB / 0.7891 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3779, allocations: 0 / 0.7891 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.3779, allocations: 7.984 kB / 0.7891 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.3779, allocations: 0 / 0.7891 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.378, allocations: 3.984 kB / 0.7891 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005286/0.3785, allocations: 258.8 kB / 0.7894 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.562e-05/0.3786, allocations: 84.95 kB / 0.7895 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/0.3786, allocations: 8 kB / 0.7895 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.3788, allocations: 19.97 kB / 0.7895 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.3789, allocations: 31.97 kB / 0.7895 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.379, allocations: 3.984 kB / 0.7895 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.854e-05/0.379, allocations: 103.3 kB / 0.7896 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.379, allocations: 3.938 kB / 0.7896 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002169/0.3793, allocations: 31.94 kB / 0.7896 GB, free: 7.086 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0001688/0.3794, allocations: 99.25 kB / 0.7897 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005785/0.38, allocations: 262.6 kB / 0.79 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.38, allocations: 4 kB / 0.79 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002714/0.3803, allocations: 139.3 kB / 0.7901 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.3806, allocations: 15.94 kB / 0.7901 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006757/0.3813, allocations: 270.7 kB / 0.7904 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004299/0.3817, allocations: 0.6887 MB / 0.7911 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.914e-05/0.3818, allocations: 15.38 kB / 0.7911 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of SimCode: time 5.01e-07/0.3818, allocations: 0 / 0.7911 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of Templates: time 0.003755/0.3856, allocations: 1.435 MB / 0.7925 GB, free: 4.094 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.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.Controls.Continuous.Examples.NumberOfRequestsCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequestsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequestsCalcHelperMain.o] Error 1