Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01838/0.01838, allocations: 100.1 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004014/0.004014, allocations: 189 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.911/2.911, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003417/0.003417, allocations: 294.9 kB / 290.9 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.901/1.901, allocations: 169.2 MB / 0.4983 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003086/0.003086, allocations: 95.62 kB / 0.5951 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3584, allocations: 86.99 MB / 0.6801 GB, free: 1.164 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.005345/0.3639, allocations: 1.536 MB / 0.6816 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.3658, allocations: 455.8 kB / 0.682 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.407e-05/0.366, allocations: 4 kB / 0.682 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001864/0.3662, allocations: 3.938 kB / 0.682 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.3664, allocations: 20.23 kB / 0.682 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.3675, allocations: 222.4 kB / 0.6823 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004723/0.368, allocations: 303.8 kB / 0.6825 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.585e-05/0.3681, allocations: 11.98 kB / 0.6826 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004716/0.3686, allocations: 218.3 kB / 0.6828 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003802/0.369, allocations: 127.6 kB / 0.6829 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.861e-05/0.3691, allocations: 12 kB / 0.6829 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.074e-05/0.3692, allocations: 8 kB / 0.6829 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001833/0.3694, allocations: 79.77 kB / 0.683 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000241/0.3697, allocations: 119.4 kB / 0.6831 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003712/0.3701, allocations: 211.8 kB / 0.6833 GB, free: 13.87 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.3701, allocations: 4 kB / 0.6833 GB, free: 13.87 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3701, allocations: 4 kB / 0.6833 GB, free: 13.86 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.373e-06/0.3701, allocations: 0 / 0.6833 GB, free: 13.86 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0017/0.3718, allocations: 0.7362 MB / 0.684 GB, free: 13.04 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.284e-05/0.3719, allocations: 8.031 kB / 0.684 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000172/0.3721, allocations: 39.56 kB / 0.6841 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000515/0.3726, allocations: 270.2 kB / 0.6843 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.118e-05/0.3727, allocations: 19.92 kB / 0.6843 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.784e-05/0.3728, allocations: 16 kB / 0.6844 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.3742, allocations: 201.5 kB / 0.6846 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.3742, allocations: 0 / 0.6846 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.256e-05/0.3743, allocations: 7.984 kB / 0.6846 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.3743, allocations: 4 kB / 0.6846 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.3754, allocations: 99.86 kB / 0.6847 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006667/0.3761, allocations: 317.3 kB / 0.685 GB, free: 11.99 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.3775, allocations: 166.5 kB / 0.6851 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/0.3786, allocations: 108.8 kB / 0.6852 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.038e-05/0.3787, allocations: 4 kB / 0.6852 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001446/0.3801, allocations: 211.2 kB / 0.6854 GB, free: 11.48 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 2.665e-06/0.3801, allocations: 0 / 0.6854 GB, free: 11.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.003866/0.384, allocations: 450.9 kB / 0.6859 GB, free: 11.04 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.256e-05/0.3841, allocations: 63.39 kB / 0.6859 GB, free: 10.96 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005282/0.3847, allocations: 290.9 kB / 0.6862 GB, free: 10.67 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.84e-05/0.3848, allocations: 37.7 kB / 0.6862 GB, free: 10.63 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.3849, allocations: 93.12 kB / 0.6863 GB, free: 10.54 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.385, allocations: 43.45 kB / 0.6864 GB, free: 10.49 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002737/0.3853, allocations: 97.47 kB / 0.6865 GB, free: 10.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000276/0.3856, allocations: 326.8 kB / 0.6868 GB, free: 10.06 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002931/0.3859, allocations: 87.83 kB / 0.6869 GB, free: 9.977 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003326/0.3863, allocations: 135.1 kB / 0.687 GB, free: 9.824 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004717/0.3868, allocations: 245.1 kB / 0.6872 GB, free: 9.551 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.3868, allocations: 0 / 0.6872 GB, free: 9.551 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000954/0.3877, allocations: 386.3 kB / 0.6876 GB, free: 9.156 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.3879, allocations: 83.36 kB / 0.6877 GB, free: 9.062 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.3879, allocations: 4 kB / 0.6877 GB, free: 9.059 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/0.3879, allocations: 4 kB / 0.6877 GB, free: 9.055 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002451/0.3882, allocations: 19.98 kB / 0.6877 GB, free: 9.035 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.189e-05/0.3882, allocations: 15.91 kB / 0.6877 GB, free: 9.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006215/0.3888, allocations: 63.64 kB / 0.6878 GB, free: 8.957 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.389, allocations: 44 kB / 0.6878 GB, free: 8.914 MB / 494.1 MB 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.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.0003426/0.3893, allocations: 164.7 kB / 0.688 GB, free: 8.746 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.759e-05/0.3894, allocations: 23.72 kB / 0.688 GB, free: 8.723 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.419e-05/0.3895, allocations: 30.3 kB / 0.688 GB, free: 8.688 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/0.3895, allocations: 3.984 kB / 0.688 GB, free: 8.684 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.3896, allocations: 0 / 0.688 GB, free: 8.684 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.3896, allocations: 3.938 kB / 0.688 GB, free: 8.68 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002891/0.3925, allocations: 0.6911 MB / 0.6887 GB, free: 7.934 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.3925, allocations: 0 / 0.6887 GB, free: 7.934 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.063e-05/0.3926, allocations: 4 kB / 0.6887 GB, free: 7.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.93e-05/0.3926, allocations: 7.938 kB / 0.6887 GB, free: 7.922 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.236e-05/0.3927, allocations: 31.84 kB / 0.6887 GB, free: 7.891 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.237e-06/0.3927, allocations: 0 / 0.6887 GB, free: 7.891 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3927, allocations: 0 / 0.6887 GB, free: 7.891 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002294/0.395, allocations: 447 kB / 0.6892 GB, free: 7.438 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003472/0.3953, allocations: 152.7 kB / 0.6893 GB, free: 7.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.767e-05/0.3954, allocations: 19.92 kB / 0.6893 GB, free: 7.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005779/0.396, allocations: 27.97 kB / 0.6894 GB, free: 7.223 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.391e-05/0.3961, allocations: 7.984 kB / 0.6894 GB, free: 7.215 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.89e-05/0.3962, allocations: 39.98 kB / 0.6894 GB, free: 7.176 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003068/0.3965, allocations: 213.9 kB / 0.6896 GB, free: 6.969 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3965, allocations: 0 / 0.6896 GB, free: 6.969 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005744/0.3971, allocations: 51.98 kB / 0.6897 GB, free: 6.918 MB / 494.1 MB 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.0002769/0.3974, allocations: 115.2 kB / 0.6898 GB, free: 6.793 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001687/0.3991, allocations: 376.3 kB / 0.6901 GB, free: 6.402 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.395e-06/0.3991, allocations: 4.375 kB / 0.6901 GB, free: 6.398 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.4002, allocations: 123.8 kB / 0.6902 GB, free: 6.277 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005366/0.4007, allocations: 25.89 kB / 0.6903 GB, free: 6.254 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.4028, allocations: 0.5342 MB / 0.6908 GB, free: 5.688 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004958/0.4033, allocations: 0.7437 MB / 0.6915 GB, free: 4.918 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.208e-05/0.4034, allocations: 19.42 kB / 0.6915 GB, free: 4.898 MB / 494.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4034, allocations: 0 / 0.6915 GB, free: 4.898 MB / 494.1 MB Notification: Performance of Templates: time 0.008068/0.4115, allocations: 2.83 MB / 0.6943 GB, free: 2.09 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.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 OMCppBuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinusCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinusCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinusCalcHelperMain.o] Error 1