Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001035/0.001035, allocations: 98.88 kB / 16.02 MB, free: 76 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.001338/0.001338, allocations: 181.6 kB / 16.92 MB, free: 6.914 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.834/1.834, allocations: 205.4 MB / 223.1 MB, free: 5.539 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.979/1.979, allocations: 292.7 MB / 0.5509 GB, free: 14.46 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.0005965/0.0005966, allocations: 16.53 kB / 0.675 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3252, allocations: 116.3 MB / 0.7885 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002225/0.3275, allocations: 1.202 MB / 0.7897 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.3287, allocations: 452.5 kB / 0.7901 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.022e-05/0.3289, allocations: 0 / 0.7901 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.329, allocations: 7.938 kB / 0.7901 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001464/0.3291, allocations: 16.23 kB / 0.7902 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008888/0.33, allocations: 230.9 kB / 0.7904 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004365/0.3305, allocations: 299.9 kB / 0.7907 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.943e-05/0.3306, allocations: 4 kB / 0.7907 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004762/0.331, allocations: 218.3 kB / 0.7909 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003244/0.3314, allocations: 135.5 kB / 0.791 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.214e-05/0.3315, allocations: 8 kB / 0.791 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.378e-05/0.3315, allocations: 12 kB / 0.791 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.3317, allocations: 75.77 kB / 0.7911 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001935/0.3319, allocations: 153 kB / 0.7912 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.3321, allocations: 203.8 kB / 0.7914 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3322, allocations: 0 / 0.7914 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3322, allocations: 0 / 0.7914 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.3322, allocations: 0 / 0.7914 GB, free: 8.602 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001186/0.3334, allocations: 0.6604 MB / 0.7921 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.3334, allocations: 8.031 kB / 0.7921 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.921e-05/0.3335, allocations: 35.7 kB / 0.7921 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.3338, allocations: 262.3 kB / 0.7924 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.589e-05/0.3339, allocations: 19.94 kB / 0.7924 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.452e-05/0.334, allocations: 12 kB / 0.7924 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.335, allocations: 217.4 kB / 0.7926 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.335, allocations: 0 / 0.7926 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.335, allocations: 4 kB / 0.7926 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.335, allocations: 4 kB / 0.7926 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008836/0.3359, allocations: 103.9 kB / 0.7927 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005033/0.3364, allocations: 325.2 kB / 0.793 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.3375, allocations: 190.4 kB / 0.7932 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007495/0.3383, allocations: 124.8 kB / 0.7933 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.3383, allocations: 384 / 0.7933 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009467/0.3393, allocations: 219.1 kB / 0.7935 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.774e-06/0.3393, allocations: 4 kB / 0.7935 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002621/0.3419, allocations: 487.9 kB / 0.794 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.342, allocations: 55.41 kB / 0.7941 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003014/0.3423, allocations: 294.9 kB / 0.7943 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.477e-05/0.3423, allocations: 37.69 kB / 0.7944 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.969e-05/0.3424, allocations: 93.14 kB / 0.7945 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.82e-05/0.3425, allocations: 43.53 kB / 0.7945 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.614e-05/0.3426, allocations: 33.7 kB / 0.7945 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.3427, allocations: 322.8 kB / 0.7948 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.3429, allocations: 83.89 kB / 0.7949 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/0.3432, allocations: 136.8 kB / 0.7951 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003269/0.3435, allocations: 240.2 kB / 0.7953 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.3435, allocations: 0 / 0.7953 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007043/0.3442, allocations: 400.5 kB / 0.7957 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.49e-05/0.3443, allocations: 75.39 kB / 0.7957 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.3443, allocations: 4 kB / 0.7957 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.3443, allocations: 0 / 0.7957 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.3445, allocations: 27.91 kB / 0.7958 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.3445, allocations: 4 kB / 0.7958 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004635/0.345, allocations: 67.98 kB / 0.7958 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-05/0.3451, allocations: 39.98 kB / 0.7959 GB, free: 3.711 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 (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.0001971/0.3453, allocations: 177.7 kB / 0.796 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/0.3453, allocations: 23.72 kB / 0.7961 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.198e-05/0.3454, allocations: 26.3 kB / 0.7961 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.3454, allocations: 11.98 kB / 0.7961 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.3454, allocations: 0 / 0.7961 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.3454, allocations: 7.922 kB / 0.7961 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002136/0.3476, allocations: 0.709 MB / 0.7968 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3476, allocations: 0 / 0.7968 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.439e-05/0.3476, allocations: 4 kB / 0.7968 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/0.3477, allocations: 3.938 kB / 0.7968 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.309e-05/0.3477, allocations: 27.91 kB / 0.7968 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.3477, allocations: 4 kB / 0.7968 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3477, allocations: 0 / 0.7968 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/0.3494, allocations: 464.9 kB / 0.7973 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001757/0.3496, allocations: 156.6 kB / 0.7974 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.965e-05/0.3497, allocations: 19.92 kB / 0.7975 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000475/0.3502, allocations: 43.91 kB / 0.7975 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.3503, allocations: 11.92 kB / 0.7975 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.802e-05/0.3503, allocations: 39.98 kB / 0.7975 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002917/0.3506, allocations: 209.9 kB / 0.7977 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3506, allocations: 0 / 0.7977 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00036/0.351, allocations: 51.98 kB / 0.7978 GB, free: 1.648 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 (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.0001657/0.3512, allocations: 113 kB / 0.7979 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001159/0.3523, allocations: 386.8 kB / 0.7983 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3523, allocations: 4.125 kB / 0.7983 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007518/0.3531, allocations: 127.8 kB / 0.7984 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.3535, allocations: 20.64 kB / 0.7984 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.3549, allocations: 0.558 MB / 0.799 GB, free: 396 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003899/0.3553, allocations: 0.736 MB / 0.7997 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.5e-05/0.3554, allocations: 19.42 kB / 0.7997 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of SimCode: time 3.4e-07/0.3554, allocations: 0 / 0.7997 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of Templates: time 0.005068/0.3605, allocations: 2.84 MB / 0.8025 GB, free: 12.77 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.makefile make -j1 -f Buildings_8_Buildings.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 OMCppBuildings_8_Buildings.Utilities.Time.Examples.CalendarTimeCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Time.Examples.CalendarTimeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Utilities.Time.Examples.CalendarTimeCalcHelperMain.o] Error 1