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.001091/0.001091, allocations: 100.5 kB / 15.71 MB, free: 452 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.001612/0.001612, allocations: 174.9 kB / 16.58 MB, free: 6.422 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.757/1.757, allocations: 205.4 MB / 222.8 MB, free: 5.648 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.972/1.972, allocations: 292.7 MB / 0.5505 GB, free: 14.54 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.0005395/0.0005399, allocations: 16.16 kB / 0.6743 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3436, allocations: 116.3 MB / 0.7879 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002383/0.346, allocations: 1.194 MB / 0.7891 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001237/0.3473, allocations: 424.2 kB / 0.7895 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.3474, allocations: 3.938 kB / 0.7895 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.3476, allocations: 3.984 kB / 0.7895 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.3477, allocations: 15.88 kB / 0.7895 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000724/0.3484, allocations: 215.1 kB / 0.7897 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003362/0.3488, allocations: 251.5 kB / 0.7899 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.393e-05/0.3489, allocations: 4 kB / 0.7899 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004293/0.3493, allocations: 227.6 kB / 0.7902 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002586/0.3496, allocations: 143.7 kB / 0.7903 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.952e-05/0.3496, allocations: 11.94 kB / 0.7903 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.872e-05/0.3497, allocations: 12 kB / 0.7903 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.3498, allocations: 75.78 kB / 0.7904 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.467e-05/0.3499, allocations: 73.56 kB / 0.7905 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000271/0.3502, allocations: 211.8 kB / 0.7907 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.3502, allocations: 0 / 0.7907 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.504e-06/0.3502, allocations: 0 / 0.7907 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.3502, allocations: 4 kB / 0.7907 GB, free: 9.094 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.001125/0.3514, allocations: 0.6526 MB / 0.7913 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.3514, allocations: 12.03 kB / 0.7913 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.545e-05/0.3515, allocations: 27.72 kB / 0.7913 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003908/0.3519, allocations: 258.4 kB / 0.7916 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.862e-05/0.352, allocations: 15.98 kB / 0.7916 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.826e-05/0.352, allocations: 20 kB / 0.7916 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008758/0.3529, allocations: 221.4 kB / 0.7918 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3529, allocations: 0 / 0.7918 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/0.353, allocations: 3.984 kB / 0.7918 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.353, allocations: 4 kB / 0.7918 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006432/0.3537, allocations: 103.9 kB / 0.7919 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004361/0.3541, allocations: 321.3 kB / 0.7923 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009176/0.355, allocations: 190.4 kB / 0.7924 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006464/0.3557, allocations: 116.8 kB / 0.7925 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.3557, allocations: 4 kB / 0.7925 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000882/0.3566, allocations: 230.3 kB / 0.7928 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.754e-06/0.3566, allocations: 0 / 0.7928 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002261/0.3589, allocations: 477 kB / 0.7932 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/0.359, allocations: 63.39 kB / 0.7933 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003418/0.3593, allocations: 286.9 kB / 0.7936 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.13e-05/0.3594, allocations: 41.7 kB / 0.7936 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.639e-05/0.3595, allocations: 93.12 kB / 0.7937 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.58e-05/0.3595, allocations: 39.53 kB / 0.7937 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.793e-05/0.3596, allocations: 8 kB / 0.7937 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.3597, allocations: 326.8 kB / 0.794 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.36, allocations: 79.95 kB / 0.7941 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.3602, allocations: 136.8 kB / 0.7942 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002254/0.3604, allocations: 158.2 kB / 0.7944 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.815e-05/0.3605, allocations: 0 / 0.7944 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006513/0.3611, allocations: 392.6 kB / 0.7948 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001005/0.3612, allocations: 71.58 kB / 0.7948 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3613, allocations: 8 kB / 0.7949 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.3613, allocations: 4 kB / 0.7949 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.3615, allocations: 23.91 kB / 0.7949 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.3615, allocations: 11.94 kB / 0.7949 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004213/0.3619, allocations: 63.86 kB / 0.7949 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.926e-05/0.362, allocations: 39.98 kB / 0.795 GB, free: 4.359 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 ($PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.firstDaySampling,$whenCondition1,calendarTime2016.daySampleTrigger,$whenCondition2,calendarTime2016.hourSampleTrigger,$PRE.calendarTime2016.year,calendarTime2016.year,$PRE.calendarTime2016.month,calendarTime2016.month,$PRE.calendarTime2016.day,calendarTime2016.day,$PRE.calendarTime2016.hour,calendarTime2016.hour,$PRE.calendarTime2016.weekDay,calendarTime2016.weekDay,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.yearIndex,calendarTime2016.yearIndex,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002248/0.3622, allocations: 173.7 kB / 0.7952 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.728e-05/0.3623, allocations: 31.58 kB / 0.7952 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.672e-05/0.3623, allocations: 30.3 kB / 0.7952 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3623, allocations: 0 / 0.7952 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.3624, allocations: 0 / 0.7952 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.3624, allocations: 3.984 kB / 0.7952 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001989/0.3644, allocations: 0.709 MB / 0.7959 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3644, allocations: 0 / 0.7959 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.393e-05/0.3644, allocations: 4 kB / 0.7959 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.3644, allocations: 0 / 0.7959 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.585e-05/0.3645, allocations: 15.97 kB / 0.7959 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3645, allocations: 4 kB / 0.7959 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3645, allocations: 0 / 0.7959 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.3661, allocations: 481.8 kB / 0.7964 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001989/0.3663, allocations: 156.7 kB / 0.7965 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.104e-05/0.3663, allocations: 11.98 kB / 0.7966 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004265/0.3668, allocations: 43.91 kB / 0.7966 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.3668, allocations: 7.984 kB / 0.7966 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.14e-05/0.3669, allocations: 47.97 kB / 0.7966 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002512/0.3672, allocations: 205.9 kB / 0.7968 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3672, allocations: 0 / 0.7968 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003587/0.3675, allocations: 47.98 kB / 0.7969 GB, free: 2.316 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002076/0.3677, allocations: 124.3 kB / 0.797 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001099/0.3688, allocations: 382.5 kB / 0.7974 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3689, allocations: 0 / 0.7974 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006988/0.3696, allocations: 128.3 kB / 0.7975 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.37, allocations: 35.5 kB / 0.7975 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.3713, allocations: 0.5317 MB / 0.798 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.3717, allocations: 0.7398 MB / 0.7988 GB, free: 308 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.588e-05/0.3717, allocations: 19.42 kB / 0.7988 GB, free: 288 kB / 0.6075 GB Notification: Performance of SimCode: time 9.92e-07/0.3717, allocations: 0 / 0.7988 GB, free: 288 kB / 0.6075 GB Notification: Performance of Templates: time 0.004965/0.3767, allocations: 2.837 MB / 0.8016 GB, free: 13.45 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++ NOTFOUND -Winvalid-pch -O0 -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/c/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