Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.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.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, 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.001648/0.001648, allocations: 194.4 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.802/1.802, allocations: 205.1 MB / 222.6 MB, free: 4.789 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.912/1.912, allocations: 292.3 MB / 0.5491 GB, free: 13.66 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.001463/0.001464, allocations: 65.25 kB / 0.6715 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3041, allocations: 114.6 MB / 0.7834 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.003188/0.3073, allocations: 1.74 MB / 0.7851 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.3085, allocations: 0.4954 MB / 0.7855 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.052e-05/0.3086, allocations: 0 / 0.7855 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.3087, allocations: 19.86 kB / 0.7856 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001365/0.3089, allocations: 24.22 kB / 0.7856 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006389/0.3095, allocations: 256.7 kB / 0.7858 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003256/0.3098, allocations: 371.8 kB / 0.7862 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.31, allocations: 29.09 kB / 0.7862 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002888/0.3102, allocations: 222.3 kB / 0.7864 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002202/0.3105, allocations: 147.5 kB / 0.7866 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.301e-05/0.3106, allocations: 12 kB / 0.7866 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.834e-05/0.3106, allocations: 12 kB / 0.7866 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.3108, allocations: 87.7 kB / 0.7867 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001843/0.311, allocations: 139.3 kB / 0.7868 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002967/0.3113, allocations: 331.6 kB / 0.7871 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3113, allocations: 0 / 0.7871 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.92e-07/0.3113, allocations: 0 / 0.7871 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.3113, allocations: 0 / 0.7871 GB, free: 10.14 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001178/0.3125, allocations: 0.781 MB / 0.7879 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.3125, allocations: 8.031 kB / 0.7879 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.3126, allocations: 31.72 kB / 0.7879 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003579/0.313, allocations: 290.7 kB / 0.7882 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.941e-05/0.3131, allocations: 19.98 kB / 0.7882 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.593e-05/0.3131, allocations: 20 kB / 0.7882 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.3142, allocations: 231.6 kB / 0.7885 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3142, allocations: 0 / 0.7885 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.304e-05/0.3143, allocations: 8 kB / 0.7885 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.3143, allocations: 0 / 0.7885 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008188/0.3151, allocations: 111.9 kB / 0.7886 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.3163, allocations: 0.5589 MB / 0.7891 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.3174, allocations: 186.4 kB / 0.7893 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007418/0.3181, allocations: 112.7 kB / 0.7894 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.3182, allocations: 7.984 kB / 0.7894 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009881/0.3191, allocations: 230.1 kB / 0.7896 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/0.3192, allocations: 0 / 0.7896 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.00248/0.3216, allocations: 457.1 kB / 0.7901 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.3217, allocations: 59.39 kB / 0.7901 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003541/0.3221, allocations: 324.4 kB / 0.7904 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.034e-05/0.3221, allocations: 37.7 kB / 0.7905 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.216e-05/0.3222, allocations: 97.05 kB / 0.7906 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/0.3223, allocations: 31.61 kB / 0.7906 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/0.3224, allocations: 109.5 kB / 0.7907 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.3226, allocations: 322.8 kB / 0.791 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/0.3228, allocations: 91.95 kB / 0.7911 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002441/0.323, allocations: 153.9 kB / 0.7912 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003686/0.3234, allocations: 256 kB / 0.7915 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3234, allocations: 0 / 0.7915 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006874/0.3241, allocations: 432.7 kB / 0.7919 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.285e-05/0.3242, allocations: 79.39 kB / 0.792 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.3242, allocations: 0 / 0.792 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.3243, allocations: 4 kB / 0.792 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/0.3245, allocations: 27.91 kB / 0.792 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.3245, allocations: 4 kB / 0.792 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004684/0.3249, allocations: 51.95 kB / 0.792 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-05/0.325, allocations: 43.98 kB / 0.7921 GB, free: 4.703 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.calTim.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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.0001991/0.3252, allocations: 187.6 kB / 0.7923 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.067e-05/0.3253, allocations: 27.72 kB / 0.7923 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.662e-05/0.3253, allocations: 26.36 kB / 0.7923 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.3254, allocations: 4 kB / 0.7923 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.3254, allocations: 0 / 0.7923 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3254, allocations: 3.984 kB / 0.7923 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002042/0.3274, allocations: 0.7326 MB / 0.793 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.3274, allocations: 15.91 kB / 0.7931 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.705e-05/0.3275, allocations: 4 kB / 0.7931 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3275, allocations: 0 / 0.7931 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.01e-05/0.3276, allocations: 27.91 kB / 0.7931 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3276, allocations: 0 / 0.7931 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3276, allocations: 3.938 kB / 0.7931 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/0.3293, allocations: 457.3 kB / 0.7935 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002056/0.3295, allocations: 184.6 kB / 0.7937 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.08e-05/0.3296, allocations: 19.98 kB / 0.7937 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000458/0.33, allocations: 31.97 kB / 0.7938 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.3301, allocations: 7.984 kB / 0.7938 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.669e-05/0.3301, allocations: 43.98 kB / 0.7938 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002456/0.3304, allocations: 231 kB / 0.794 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3304, allocations: 7.938 kB / 0.794 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003499/0.3307, allocations: 51.91 kB / 0.7941 GB, free: 2.566 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: 14 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0002217/0.331, allocations: 131.7 kB / 0.7942 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001166/0.3321, allocations: 398.8 kB / 0.7946 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3322, allocations: 0 / 0.7946 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007391/0.3329, allocations: 115.9 kB / 0.7947 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/0.3333, allocations: 32.62 kB / 0.7947 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.3348, allocations: 0.6003 MB / 0.7953 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.3352, allocations: 0.7554 MB / 0.7961 GB, free: 468 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.83e-05/0.3352, allocations: 15.44 kB / 0.7961 GB, free: 452 kB / 0.6075 GB Notification: Performance of SimCode: time 3.61e-07/0.3352, allocations: 0 / 0.7961 GB, free: 452 kB / 0.6075 GB Notification: Performance of Templates: time 0.005384/0.3406, allocations: 3.184 MB / 0.7992 GB, free: 13.27 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.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.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinusCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinusCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinusCalcHelperMain.o] Error 1