Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.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.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime") translateModel(BuildingSystems.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009279/0.0009279, allocations: 92.23 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.001127/0.001127, allocations: 183.8 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.348/1.348, allocations: 223.2 MB / 241 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001941/0.001941, allocations: 274 kB / 292.3 MB, free: 1.844 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9861/0.9861, allocations: 169.5 MB / 0.501 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004376/0.0004377, allocations: 16.94 kB / 0.5993 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1809, allocations: 88.54 MB / 0.6858 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.CalendarTime): time 0.001529/0.1825, allocations: 1.2 MB / 0.6869 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009109/0.1834, allocations: 447 kB / 0.6874 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.241e-05/0.1835, allocations: 0 / 0.6874 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.158e-05/0.1836, allocations: 11.86 kB / 0.6874 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.842e-05/0.1837, allocations: 12.31 kB / 0.6874 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005766/0.1843, allocations: 232.4 kB / 0.6876 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002973/0.1846, allocations: 299.8 kB / 0.6879 GB, free: 12.9 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.661e-05/0.1846, allocations: 7.984 kB / 0.6879 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002897/0.1849, allocations: 226.3 kB / 0.6881 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/0.1852, allocations: 124.2 kB / 0.6882 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.695e-05/0.1852, allocations: 8 kB / 0.6882 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.58e-05/0.1853, allocations: 12.56 kB / 0.6882 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.1854, allocations: 80.23 kB / 0.6883 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.1855, allocations: 150.8 kB / 0.6885 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.1857, allocations: 207.8 kB / 0.6887 GB, free: 12.1 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1858, allocations: 0 / 0.6887 GB, free: 12.1 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1858, allocations: 0 / 0.6887 GB, free: 12.1 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.1858, allocations: 0 / 0.6887 GB, free: 12.1 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.0008544/0.1866, allocations: 0.6541 MB / 0.6893 GB, free: 11.36 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.1867, allocations: 8.688 kB / 0.6893 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.41e-05/0.1868, allocations: 27.72 kB / 0.6893 GB, free: 11.33 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002708/0.1871, allocations: 275.7 kB / 0.6896 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.23e-05/0.1871, allocations: 12 kB / 0.6896 GB, free: 11.01 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.038e-05/0.1872, allocations: 19.98 kB / 0.6896 GB, free: 10.99 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009356/0.1881, allocations: 213.4 kB / 0.6898 GB, free: 10.78 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.1881, allocations: 0 / 0.6898 GB, free: 10.78 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.895e-05/0.1882, allocations: 7.984 kB / 0.6898 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.1882, allocations: 4 kB / 0.6899 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007582/0.1889, allocations: 106.7 kB / 0.69 GB, free: 10.67 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003423/0.1893, allocations: 325.8 kB / 0.6903 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.1903, allocations: 192.1 kB / 0.6904 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007287/0.1911, allocations: 120.8 kB / 0.6906 GB, free: 9.984 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.1911, allocations: 3.938 kB / 0.6906 GB, free: 9.98 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008915/0.192, allocations: 221 kB / 0.6908 GB, free: 9.754 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.492e-06/0.192, allocations: 0 / 0.6908 GB, free: 9.754 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002433/0.1944, allocations: 487.9 kB / 0.6912 GB, free: 9.273 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.1945, allocations: 55.41 kB / 0.6913 GB, free: 9.207 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002635/0.1947, allocations: 302.8 kB / 0.6916 GB, free: 8.902 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.573e-05/0.1948, allocations: 33.7 kB / 0.6916 GB, free: 8.863 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.317e-05/0.1949, allocations: 89.14 kB / 0.6917 GB, free: 8.773 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.181e-05/0.1949, allocations: 43.53 kB / 0.6917 GB, free: 8.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.024e-05/0.195, allocations: 37.7 kB / 0.6918 GB, free: 8.688 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1951, allocations: 322.8 kB / 0.6921 GB, free: 8.363 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.1953, allocations: 83.94 kB / 0.6922 GB, free: 8.281 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.1955, allocations: 135.8 kB / 0.6923 GB, free: 8.129 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003134/0.1958, allocations: 247.2 kB / 0.6925 GB, free: 7.859 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1958, allocations: 0 / 0.6925 GB, free: 7.859 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006521/0.1965, allocations: 388.8 kB / 0.6929 GB, free: 7.461 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.142e-05/0.1966, allocations: 75.39 kB / 0.693 GB, free: 7.375 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1966, allocations: 0 / 0.693 GB, free: 7.375 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.1966, allocations: 7.984 kB / 0.693 GB, free: 7.367 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.1968, allocations: 23.92 kB / 0.693 GB, free: 7.344 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.1968, allocations: 0 / 0.693 GB, free: 7.344 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000465/0.1973, allocations: 79.8 kB / 0.6931 GB, free: 7.266 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.659e-05/0.1974, allocations: 39.98 kB / 0.6931 GB, free: 7.227 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 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.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.00022/0.1976, allocations: 170.4 kB / 0.6933 GB, free: 7.055 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.447e-05/0.1976, allocations: 31.61 kB / 0.6933 GB, free: 7.023 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.724e-05/0.1977, allocations: 26.3 kB / 0.6933 GB, free: 6.992 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.904e-06/0.1977, allocations: 4 kB / 0.6933 GB, free: 6.988 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1977, allocations: 0 / 0.6933 GB, free: 6.988 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.1977, allocations: 7.938 kB / 0.6933 GB, free: 6.98 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002141/0.1999, allocations: 0.7051 MB / 0.694 GB, free: 6.219 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.1999, allocations: 0 / 0.694 GB, free: 6.219 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.653e-05/0.1999, allocations: 7.984 kB / 0.694 GB, free: 6.211 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.441e-06/0.2, allocations: 3.938 kB / 0.694 GB, free: 6.207 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.177e-05/0.2, allocations: 15.98 kB / 0.6941 GB, free: 6.191 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2, allocations: 0 / 0.6941 GB, free: 6.191 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.2, allocations: 11.98 kB / 0.6941 GB, free: 6.18 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.2017, allocations: 462.9 kB / 0.6945 GB, free: 5.711 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.2019, allocations: 160.7 kB / 0.6947 GB, free: 5.535 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.457e-05/0.2019, allocations: 19.92 kB / 0.6947 GB, free: 5.516 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004468/0.2024, allocations: 35.97 kB / 0.6947 GB, free: 5.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.2024, allocations: 11.98 kB / 0.6947 GB, free: 5.469 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-05/0.2025, allocations: 43.97 kB / 0.6948 GB, free: 5.426 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001813/0.2027, allocations: 209.9 kB / 0.695 GB, free: 5.227 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.974e-06/0.2027, allocations: 0 / 0.695 GB, free: 5.227 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003068/0.203, allocations: 51.94 kB / 0.695 GB, free: 5.176 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 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.yearIndex,calendarTime2016.year,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.firstHourSampling,calendarTime2016.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.2032, allocations: 116.9 kB / 0.6951 GB, free: 5.051 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001129/0.2043, allocations: 392.9 kB / 0.6955 GB, free: 4.645 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2043, allocations: 0 / 0.6955 GB, free: 4.645 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007632/0.2051, allocations: 128.2 kB / 0.6956 GB, free: 4.52 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.2054, allocations: 25.89 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.001355/0.2068, allocations: 0.5542 MB / 0.6962 GB, free: 3.914 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.2071, allocations: 0.736 MB / 0.6969 GB, free: 3.152 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.663e-05/0.2071, allocations: 19.42 kB / 0.6969 GB, free: 3.133 MB / 494.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2072, allocations: 3.938 kB / 0.6969 GB, free: 3.129 MB / 494.1 MB Notification: Performance of Templates: time 0.004521/0.2117, allocations: 2.838 MB / 0.6997 GB, free: 304 kB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.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.Examples.CalendarTimeCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTimeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTimeCalcHelperMain.o] Error 1