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.001304/0.001304, allocations: 96.14 kB / 15.87 MB, free: 16 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.001387/0.001387, allocations: 194.1 kB / 16.79 MB, free: 6.812 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.78/1.78, allocations: 205.1 MB / 222.6 MB, free: 4.836 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.867/1.867, allocations: 292.3 MB / 0.5491 GB, free: 13.67 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.00142/0.00142, allocations: 69.64 kB / 0.6715 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3392, allocations: 114.5 MB / 0.7833 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.003023/0.3422, allocations: 1.548 MB / 0.7848 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.3434, allocations: 455.7 kB / 0.7853 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.155e-05/0.3435, allocations: 0 / 0.7853 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.3436, allocations: 7.938 kB / 0.7853 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001459/0.3438, allocations: 24.22 kB / 0.7853 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007062/0.3445, allocations: 227.6 kB / 0.7855 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003271/0.3448, allocations: 303.8 kB / 0.7858 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.72e-05/0.3449, allocations: 4 kB / 0.7858 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003184/0.3452, allocations: 214.3 kB / 0.786 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.3455, allocations: 127.6 kB / 0.7861 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.441e-05/0.3455, allocations: 12 kB / 0.7861 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.046e-05/0.3456, allocations: 12 kB / 0.7862 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001492/0.3458, allocations: 79.77 kB / 0.7862 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.346, allocations: 119.4 kB / 0.7863 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.3462, allocations: 207.8 kB / 0.7865 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3462, allocations: 3.938 kB / 0.7865 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.92e-07/0.3462, allocations: 0 / 0.7865 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.3463, allocations: 0 / 0.7865 GB, free: 10.7 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.001244/0.3475, allocations: 0.7538 MB / 0.7873 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.3476, allocations: 12.03 kB / 0.7873 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.3477, allocations: 35.66 kB / 0.7873 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003388/0.348, allocations: 258.3 kB / 0.7876 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.204e-05/0.3481, allocations: 19.94 kB / 0.7876 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.056e-05/0.3482, allocations: 19.98 kB / 0.7876 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009883/0.3492, allocations: 198.6 kB / 0.7878 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3492, allocations: 0 / 0.7878 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/0.3492, allocations: 4 kB / 0.7878 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3492, allocations: 0 / 0.7878 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00079/0.35, allocations: 107.8 kB / 0.7879 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003969/0.3504, allocations: 317.2 kB / 0.7882 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.3515, allocations: 178.5 kB / 0.7884 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007879/0.3523, allocations: 109.2 kB / 0.7885 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.3523, allocations: 4 kB / 0.7885 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009824/0.3533, allocations: 207.2 kB / 0.7887 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.843e-06/0.3533, allocations: 0 / 0.7887 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.00264/0.356, allocations: 449 kB / 0.7891 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.3561, allocations: 59.41 kB / 0.7892 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003038/0.3564, allocations: 298.8 kB / 0.7895 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.973e-05/0.3564, allocations: 37.7 kB / 0.7895 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.358e-05/0.3565, allocations: 93.14 kB / 0.7896 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.15e-05/0.3566, allocations: 43.53 kB / 0.7896 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/0.3568, allocations: 97.47 kB / 0.7897 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3569, allocations: 322.8 kB / 0.79 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.3571, allocations: 79.95 kB / 0.7901 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/0.3574, allocations: 137.9 kB / 0.7902 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003402/0.3577, allocations: 236.1 kB / 0.7905 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3577, allocations: 4 kB / 0.7905 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006882/0.3584, allocations: 392.6 kB / 0.7908 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.381e-05/0.3585, allocations: 79.31 kB / 0.7909 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3585, allocations: 4 kB / 0.7909 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.3585, allocations: 0 / 0.7909 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.3587, allocations: 23.98 kB / 0.7909 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.3587, allocations: 7.938 kB / 0.7909 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004863/0.3592, allocations: 59.98 kB / 0.791 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.087e-05/0.3593, allocations: 39.98 kB / 0.791 GB, free: 5.754 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.0002063/0.3595, allocations: 170.6 kB / 0.7912 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.302e-05/0.3596, allocations: 27.66 kB / 0.7912 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.822e-05/0.3597, allocations: 30.3 kB / 0.7913 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.3597, allocations: 4 kB / 0.7913 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.3597, allocations: 7.984 kB / 0.7913 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.3597, allocations: 3.938 kB / 0.7913 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002177/0.3619, allocations: 0.6926 MB / 0.7919 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3619, allocations: 4 kB / 0.7919 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.659e-05/0.362, allocations: 4 kB / 0.792 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.362, allocations: 3.938 kB / 0.792 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.884e-05/0.362, allocations: 31.84 kB / 0.792 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.362, allocations: 0 / 0.792 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.362, allocations: 0 / 0.792 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/0.3638, allocations: 443 kB / 0.7924 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002025/0.364, allocations: 164.6 kB / 0.7926 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.217e-05/0.3641, allocations: 11.94 kB / 0.7926 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004666/0.3646, allocations: 35.95 kB / 0.7926 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.3646, allocations: 4 kB / 0.7926 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-05/0.3647, allocations: 43.97 kB / 0.7927 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002228/0.3649, allocations: 213.9 kB / 0.7929 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3649, allocations: 0 / 0.7929 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000338/0.3653, allocations: 48 kB / 0.7929 GB, free: 3.742 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.0001816/0.3655, allocations: 116.9 kB / 0.793 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001174/0.3666, allocations: 378.6 kB / 0.7934 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3667, allocations: 0 / 0.7934 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007945/0.3675, allocations: 115.8 kB / 0.7935 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.3678, allocations: 30.41 kB / 0.7935 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.3693, allocations: 0.5346 MB / 0.794 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.3697, allocations: 0.7438 MB / 0.7948 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.635e-05/0.3698, allocations: 15.42 kB / 0.7948 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of SimCode: time 8.02e-07/0.3698, allocations: 0 / 0.7948 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of Templates: time 0.005226/0.375, allocations: 2.857 MB / 0.7976 GB, free: 14.89 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