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.002226/0.002226, allocations: 104.1 kB / 15.88 MB, free: 4 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.004036/0.004035, allocations: 196 kB / 16.79 MB, free: 6.832 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.899/2.899, allocations: 222.9 MB / 240.5 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00418/0.004181, allocations: 278.8 kB / 290.9 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.933/1.933, allocations: 169.2 MB / 0.4984 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002701/0.002701, allocations: 87.25 kB / 0.5951 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4113, allocations: 86.99 MB / 0.6801 GB, free: 1.211 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.CalendarTime): time 0.00604/0.4175, allocations: 1.538 MB / 0.6816 GB, free: 15.67 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.4195, allocations: 456.4 kB / 0.682 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.189e-05/0.4196, allocations: 0.6562 kB / 0.682 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001999/0.4199, allocations: 10.3 kB / 0.682 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000173/0.4201, allocations: 12.31 kB / 0.682 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.4212, allocations: 230.4 kB / 0.6822 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005247/0.4217, allocations: 299.8 kB / 0.6825 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.037e-05/0.4218, allocations: 14.12 kB / 0.6825 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005258/0.4223, allocations: 218.3 kB / 0.6828 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003712/0.4227, allocations: 127.6 kB / 0.6829 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.937e-05/0.4228, allocations: 8 kB / 0.6829 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.596e-05/0.4229, allocations: 12 kB / 0.6829 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002101/0.4232, allocations: 76.42 kB / 0.683 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002848/0.4235, allocations: 123.4 kB / 0.6831 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004524/0.4239, allocations: 216.7 kB / 0.6833 GB, free: 13.91 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.424, allocations: 0 / 0.6833 GB, free: 13.91 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.424, allocations: 0.5312 kB / 0.6833 GB, free: 13.91 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.424, allocations: 1.219 kB / 0.6833 GB, free: 13.91 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.001965/0.426, allocations: 0.7352 MB / 0.684 GB, free: 13.09 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.244e-05/0.4261, allocations: 8.031 kB / 0.684 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001943/0.4263, allocations: 39.61 kB / 0.6841 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005367/0.4269, allocations: 266.2 kB / 0.6843 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.687e-05/0.427, allocations: 16 kB / 0.6843 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.4271, allocations: 19.94 kB / 0.6843 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.4287, allocations: 208.7 kB / 0.6845 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.4287, allocations: 0 / 0.6845 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.504e-05/0.4288, allocations: 0 / 0.6845 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.4288, allocations: 0 / 0.6845 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/0.4301, allocations: 99.92 kB / 0.6846 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006906/0.4308, allocations: 321.3 kB / 0.6849 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001668/0.4325, allocations: 174.4 kB / 0.6851 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/0.4336, allocations: 108.8 kB / 0.6852 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.326e-05/0.4337, allocations: 0 / 0.6852 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001675/0.4354, allocations: 213 kB / 0.6854 GB, free: 11.54 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 4.438e-06/0.4354, allocations: 0 / 0.6854 GB, free: 11.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.004032/0.4395, allocations: 460.8 kB / 0.6859 GB, free: 11.08 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00014/0.4396, allocations: 59.41 kB / 0.6859 GB, free: 11.01 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009205/0.4406, allocations: 290.9 kB / 0.6862 GB, free: 10.72 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001447/0.4407, allocations: 41.69 kB / 0.6862 GB, free: 10.67 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.4409, allocations: 93.12 kB / 0.6863 GB, free: 10.58 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.336e-05/0.441, allocations: 39.45 kB / 0.6864 GB, free: 10.54 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003185/0.4414, allocations: 101.5 kB / 0.6865 GB, free: 10.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003139/0.4417, allocations: 322.8 kB / 0.6868 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003744/0.4421, allocations: 83.88 kB / 0.6868 GB, free: 10.03 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004403/0.4425, allocations: 131.1 kB / 0.687 GB, free: 9.879 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005774/0.4431, allocations: 251.2 kB / 0.6872 GB, free: 9.602 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.4432, allocations: 0 / 0.6872 GB, free: 9.602 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001407/0.4446, allocations: 389.9 kB / 0.6876 GB, free: 9.203 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001356/0.4447, allocations: 71.39 kB / 0.6877 GB, free: 9.121 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.4448, allocations: 4 kB / 0.6877 GB, free: 9.117 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.218e-05/0.4448, allocations: 0 / 0.6877 GB, free: 9.117 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000358/0.4452, allocations: 31.91 kB / 0.6877 GB, free: 9.086 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.091e-05/0.4452, allocations: 4 kB / 0.6877 GB, free: 9.082 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006725/0.4459, allocations: 67.83 kB / 0.6878 GB, free: 9.016 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.446, allocations: 39.98 kB / 0.6878 GB, free: 8.977 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.0004048/0.4464, allocations: 170.4 kB / 0.688 GB, free: 8.805 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.379e-05/0.4465, allocations: 23.72 kB / 0.688 GB, free: 8.781 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.4467, allocations: 26.3 kB / 0.688 GB, free: 8.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/0.4467, allocations: 4 kB / 0.688 GB, free: 8.746 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.4467, allocations: 0 / 0.688 GB, free: 8.746 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.4467, allocations: 7.922 kB / 0.688 GB, free: 8.738 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003293/0.45, allocations: 0.6911 MB / 0.6887 GB, free: 7.992 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.4501, allocations: 0 / 0.6887 GB, free: 7.992 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.995e-05/0.4501, allocations: 7.984 kB / 0.6887 GB, free: 7.984 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.198e-06/0.4501, allocations: 7.938 kB / 0.6887 GB, free: 7.977 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.829e-05/0.4502, allocations: 15.98 kB / 0.6887 GB, free: 7.961 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.4502, allocations: 3.938 kB / 0.6887 GB, free: 7.957 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.4502, allocations: 0 / 0.6887 GB, free: 7.957 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002469/0.4527, allocations: 449.4 kB / 0.6892 GB, free: 7.504 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003411/0.4531, allocations: 156.7 kB / 0.6893 GB, free: 7.332 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.4532, allocations: 19.92 kB / 0.6893 GB, free: 7.312 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006563/0.4539, allocations: 31.97 kB / 0.6894 GB, free: 7.281 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.436e-05/0.4539, allocations: 7.984 kB / 0.6894 GB, free: 7.273 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.006e-05/0.454, allocations: 39.97 kB / 0.6894 GB, free: 7.234 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006264/0.4547, allocations: 209.9 kB / 0.6896 GB, free: 7.035 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4547, allocations: 0 / 0.6896 GB, free: 7.035 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007254/0.4554, allocations: 59.92 kB / 0.6897 GB, free: 6.977 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.0003801/0.4558, allocations: 120.9 kB / 0.6898 GB, free: 6.848 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002203/0.458, allocations: 374.8 kB / 0.6901 GB, free: 6.457 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.4581, allocations: 4.125 kB / 0.6901 GB, free: 6.453 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001192/0.4593, allocations: 119.8 kB / 0.6902 GB, free: 6.336 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006869/0.46, allocations: 21.95 kB / 0.6903 GB, free: 6.316 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002587/0.4626, allocations: 0.5303 MB / 0.6908 GB, free: 5.754 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006708/0.4633, allocations: 0.7491 MB / 0.6915 GB, free: 4.98 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.098e-05/0.4634, allocations: 15.42 kB / 0.6915 GB, free: 4.965 MB / 494.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4634, allocations: 0 / 0.6915 GB, free: 4.965 MB / 494.1 MB Notification: Performance of Templates: time 0.01046/0.4739, allocations: 2.853 MB / 0.6943 GB, free: 2.109 MB / 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