Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009316/0.0009318, allocations: 91.45 kB / 16.02 MB, free: 80 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.001148/0.001148, allocations: 178.6 kB / 16.92 MB, free: 6.652 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.382/1.382, allocations: 223.2 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001841/0.001841, allocations: 274.5 kB / 292.3 MB, free: 1.816 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9577/0.9577, allocations: 169.5 MB / 0.501 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005271/0.0005272, allocations: 13.45 kB / 0.5993 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1746, allocations: 88.55 MB / 0.6858 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001622/0.1763, allocations: 1.204 MB / 0.6869 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009736/0.1773, allocations: 438.4 kB / 0.6874 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.203e-05/0.1773, allocations: 0.5 kB / 0.6874 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.171e-05/0.1774, allocations: 7.922 kB / 0.6874 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.1776, allocations: 24.88 kB / 0.6874 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006094/0.1782, allocations: 224 kB / 0.6876 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002975/0.1785, allocations: 295.9 kB / 0.6879 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.271e-05/0.1785, allocations: 17.02 kB / 0.6879 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003031/0.1788, allocations: 215.9 kB / 0.6881 GB, free: 12.69 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.1791, allocations: 131.6 kB / 0.6882 GB, free: 12.56 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.98e-05/0.1791, allocations: 8 kB / 0.6882 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.742e-05/0.1792, allocations: 13 kB / 0.6883 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.1793, allocations: 75.72 kB / 0.6883 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.1795, allocations: 149.1 kB / 0.6885 GB, free: 12.31 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.1797, allocations: 215.2 kB / 0.6887 GB, free: 12.11 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1797, allocations: 0 / 0.6887 GB, free: 12.11 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1797, allocations: 0 / 0.6887 GB, free: 12.11 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.1797, allocations: 0 / 0.6887 GB, free: 12.11 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.0009269/0.1807, allocations: 0.6487 MB / 0.6893 GB, free: 11.37 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.1807, allocations: 12.03 kB / 0.6893 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.537e-05/0.1808, allocations: 28.25 kB / 0.6893 GB, free: 11.33 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.1811, allocations: 270.1 kB / 0.6896 GB, free: 11.03 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.222e-05/0.1811, allocations: 14.22 kB / 0.6896 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-05/0.1812, allocations: 23.98 kB / 0.6896 GB, free: 11 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009298/0.1822, allocations: 215.5 kB / 0.6898 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.1822, allocations: 0 / 0.6898 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.1822, allocations: 0 / 0.6898 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1822, allocations: 0 / 0.6898 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007292/0.1829, allocations: 110.4 kB / 0.69 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000353/0.1833, allocations: 322 kB / 0.6903 GB, free: 10.32 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.1843, allocations: 194.2 kB / 0.6904 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007249/0.1851, allocations: 118.8 kB / 0.6906 GB, free: 10 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.1851, allocations: 7.938 kB / 0.6906 GB, free: 9.996 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009335/0.1861, allocations: 227.1 kB / 0.6908 GB, free: 9.762 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.1861, allocations: 0 / 0.6908 GB, free: 9.762 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002447/0.1885, allocations: 482.1 kB / 0.6912 GB, free: 9.285 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.1886, allocations: 59.41 kB / 0.6913 GB, free: 9.215 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.1889, allocations: 298.8 kB / 0.6916 GB, free: 8.914 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.36e-05/0.1889, allocations: 37.7 kB / 0.6916 GB, free: 8.871 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.541e-05/0.189, allocations: 89.12 kB / 0.6917 GB, free: 8.781 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.808e-05/0.1891, allocations: 39.55 kB / 0.6917 GB, free: 8.742 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.267e-05/0.1891, allocations: 33.7 kB / 0.6918 GB, free: 8.703 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1893, allocations: 326.8 kB / 0.6921 GB, free: 8.375 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002027/0.1895, allocations: 83.94 kB / 0.6922 GB, free: 8.293 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/0.1897, allocations: 135.8 kB / 0.6923 GB, free: 8.141 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003194/0.19, allocations: 243.4 kB / 0.6925 GB, free: 7.871 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.19, allocations: 4 kB / 0.6925 GB, free: 7.867 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006181/0.1907, allocations: 388.9 kB / 0.6929 GB, free: 7.469 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.562e-05/0.1908, allocations: 75.38 kB / 0.693 GB, free: 7.383 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.1908, allocations: 0 / 0.693 GB, free: 7.383 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.1908, allocations: 4 kB / 0.693 GB, free: 7.379 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.191, allocations: 23.92 kB / 0.693 GB, free: 7.355 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.191, allocations: 4 kB / 0.693 GB, free: 7.352 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000463/0.1914, allocations: 79.61 kB / 0.6931 GB, free: 7.273 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.819e-05/0.1915, allocations: 39.98 kB / 0.6931 GB, free: 7.234 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.0001889/0.1917, allocations: 168.6 kB / 0.6933 GB, free: 7.062 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.294e-05/0.1918, allocations: 23.72 kB / 0.6933 GB, free: 7.039 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.809e-05/0.1918, allocations: 30.3 kB / 0.6933 GB, free: 7.004 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1918, allocations: 0 / 0.6933 GB, free: 7.004 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.1918, allocations: 4 kB / 0.6933 GB, free: 7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.1919, allocations: 11.94 kB / 0.6933 GB, free: 6.988 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002059/0.1939, allocations: 0.708 MB / 0.694 GB, free: 6.227 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1939, allocations: 4 kB / 0.694 GB, free: 6.223 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.117e-05/0.194, allocations: 3.984 kB / 0.694 GB, free: 6.219 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.194, allocations: 7.938 kB / 0.6941 GB, free: 6.211 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.166e-05/0.194, allocations: 15.97 kB / 0.6941 GB, free: 6.195 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.194, allocations: 0 / 0.6941 GB, free: 6.195 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.194, allocations: 4 kB / 0.6941 GB, free: 6.191 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/0.1956, allocations: 462.9 kB / 0.6945 GB, free: 5.723 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.1958, allocations: 164.7 kB / 0.6947 GB, free: 5.543 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.096e-05/0.1959, allocations: 11.94 kB / 0.6947 GB, free: 5.531 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004462/0.1963, allocations: 39.97 kB / 0.6947 GB, free: 5.492 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.1964, allocations: 7.984 kB / 0.6947 GB, free: 5.484 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.175e-05/0.1964, allocations: 43.97 kB / 0.6948 GB, free: 5.441 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001842/0.1966, allocations: 213.9 kB / 0.695 GB, free: 5.234 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.184e-06/0.1966, allocations: 0 / 0.695 GB, free: 5.234 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003035/0.197, allocations: 51.94 kB / 0.695 GB, free: 5.184 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.0001583/0.1971, allocations: 123.9 kB / 0.6951 GB, free: 5.051 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001142/0.1983, allocations: 386.5 kB / 0.6955 GB, free: 4.648 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1983, allocations: 384 / 0.6955 GB, free: 4.648 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00075/0.199, allocations: 138.2 kB / 0.6956 GB, free: 4.516 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.1994, allocations: 20.64 kB / 0.6957 GB, free: 4.496 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.2008, allocations: 0.5473 MB / 0.6962 GB, free: 3.918 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.2011, allocations: 0.7437 MB / 0.6969 GB, free: 3.148 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.43e-05/0.2012, allocations: 15.42 kB / 0.6969 GB, free: 3.133 MB / 494.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2012, allocations: 0 / 0.6969 GB, free: 3.133 MB / 494.1 MB Notification: Performance of Templates: time 0.004874/0.2061, allocations: 2.823 MB / 0.6997 GB, free: 344 kB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlusCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlusCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlusCalcHelperMain.o] Error 1