Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calendarTime2016.year|calendarTime2016.month|calendarTime2016.day|calendarTime2016.hour|calendarTime2016.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calendarTime2016.year|calendarTime2016.month|calendarTime2016.day|calendarTime2016.hour|calendarTime2016.minute",fileNamePrefix="Buildings_latest_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.0009553/0.000955, allocations: 102.9 kB / 15.71 MB, free: 460 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.001762/0.001763, allocations: 173.7 kB / 16.58 MB, free: 6.402 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.483/1.483, allocations: 223.3 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.686/2.686, allocations: 436.7 MB / 0.7113 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003665/0.0003666, allocations: 15.92 kB / 0.8717 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8817/0.8821, allocations: 153.7 MB / 1.022 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.001803/0.884, allocations: 1.184 MB / 1.023 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009488/0.885, allocations: 411.2 kB / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.602e-05/0.885, allocations: 0 / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.8851, allocations: 11.88 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.8853, allocations: 23.84 kB / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006379/0.8859, allocations: 214.7 kB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003097/0.8862, allocations: 255.5 kB / 1.024 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.938e-05/0.8863, allocations: 4 kB / 1.024 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003838/0.8867, allocations: 223.6 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.8869, allocations: 135.7 kB / 1.024 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.197e-05/0.887, allocations: 12 kB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.823e-05/0.8871, allocations: 8 kB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.8872, allocations: 87.77 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.8873, allocations: 69.58 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002661/0.8876, allocations: 201.5 kB / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.8876, allocations: 4 kB / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.864e-06/0.8876, allocations: 0 / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.407e-06/0.8876, allocations: 0 / 1.024 GB, free: 14.31 MB / 0.7794 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.001019/0.8886, allocations: 0.6643 MB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.8887, allocations: 11.98 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.449e-05/0.8888, allocations: 39.62 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.8891, allocations: 250.6 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.207e-05/0.8892, allocations: 15.95 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.558e-05/0.8892, allocations: 15.98 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008594/0.8901, allocations: 213.4 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.8901, allocations: 0 / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.8901, allocations: 4 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.8902, allocations: 4 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006648/0.8908, allocations: 107.9 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003977/0.8912, allocations: 313.3 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009141/0.8922, allocations: 194.4 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006369/0.8928, allocations: 120.7 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.8928, allocations: 7.938 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000826/0.8937, allocations: 223.1 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.8937, allocations: 0 / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002172/0.8959, allocations: 483.4 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.8959, allocations: 59.41 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003073/0.8962, allocations: 290.9 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.233e-05/0.8963, allocations: 37.7 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.267e-05/0.8964, allocations: 89.14 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.001e-05/0.8964, allocations: 39.48 kB / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.757e-05/0.8965, allocations: 12 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.8966, allocations: 318.8 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.8968, allocations: 95.88 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.8971, allocations: 133.9 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.8973, allocations: 156.9 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.8973, allocations: 0 / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006409/0.8979, allocations: 394.5 kB / 1.029 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.736e-05/0.898, allocations: 75.38 kB / 1.029 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.8981, allocations: 0 / 1.029 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.8981, allocations: 7.953 kB / 1.029 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.8982, allocations: 19.98 kB / 1.029 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.8983, allocations: 7.938 kB / 1.029 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004289/0.8987, allocations: 71.89 kB / 1.029 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.766e-05/0.8988, allocations: 39.98 kB / 1.029 GB, free: 9.562 MB / 0.7794 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.0001951/0.899, allocations: 165.8 kB / 1.029 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.115e-05/0.899, allocations: 27.72 kB / 1.029 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.75e-05/0.8991, allocations: 30.3 kB / 1.029 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.8991, allocations: 0 / 1.029 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.8991, allocations: 3.953 kB / 1.029 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.8991, allocations: 11.94 kB / 1.029 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001909/0.9011, allocations: 0.7051 MB / 1.03 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.9011, allocations: 0 / 1.03 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.668e-05/0.9011, allocations: 12 kB / 1.03 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.9011, allocations: 7.891 kB / 1.03 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.077e-05/0.9012, allocations: 19.97 kB / 1.03 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.9012, allocations: 0 / 1.03 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.9012, allocations: 3.984 kB / 1.03 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.9027, allocations: 459 kB / 1.03 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001783/0.9029, allocations: 164.7 kB / 1.03 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.59e-05/0.9029, allocations: 15.95 kB / 1.03 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004043/0.9034, allocations: 31.97 kB / 1.03 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.9034, allocations: 11.98 kB / 1.03 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.717e-05/0.9035, allocations: 43.91 kB / 1.03 GB, free: 7.766 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002128/0.9037, allocations: 209.9 kB / 1.031 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9037, allocations: 4 kB / 1.031 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003252/0.904, allocations: 48 kB / 1.031 GB, free: 7.512 MB / 0.7794 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.0001651/0.9042, allocations: 120.9 kB / 1.031 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001058/0.9053, allocations: 392.6 kB / 1.031 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.9053, allocations: 0 / 1.031 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006573/0.9059, allocations: 128.2 kB / 1.031 GB, free: 6.852 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.9063, allocations: 24.58 kB / 1.031 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.9076, allocations: 0.5277 MB / 1.032 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.9079, allocations: 0.7477 MB / 1.033 GB, free: 5.492 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.834e-05/0.908, allocations: 11.44 kB / 1.033 GB, free: 5.48 MB / 0.7794 GB Notification: Performance of SimCode: time 6.82e-07/0.908, allocations: 4 kB / 1.033 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of Templates: time 0.005214/0.9132, allocations: 2.834 MB / 1.035 GB, free: 2.66 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Utilities.Time.Examples.CalendarTimeCalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.Time.Examples.CalendarTimeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Utilities.Time.Examples.CalendarTimeCalcHelperMain.o] Error 1