Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime") translateModel(IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008656/0.0008655, allocations: 93.36 kB / 16.33 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 186 kB / 17.23 MB, free: 5.496 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.465/1.465, allocations: 223.2 MB / 241.2 MB, free: 14.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7415/0.7415, allocations: 114.3 MB / 406.7 MB, free: 8.254 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.0003308, allocations: 8 kB / 494.4 MB, free: 1.453 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4767/0.4771, allocations: 77.25 MB / 0.5583 GB, free: 36.11 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.001631/0.4788, allocations: 1.175 MB / 0.5594 GB, free: 35.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000874/0.4797, allocations: 421.4 kB / 0.5598 GB, free: 34.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.795e-05/0.4797, allocations: 0 / 0.5598 GB, free: 34.99 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.372e-05/0.4798, allocations: 7.141 kB / 0.5598 GB, free: 34.99 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.48, allocations: 22.8 kB / 0.5599 GB, free: 34.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005646/0.4805, allocations: 217.2 kB / 0.5601 GB, free: 34.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002799/0.4808, allocations: 248.9 kB / 0.5603 GB, free: 34.78 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.565e-05/0.4809, allocations: 11.58 kB / 0.5603 GB, free: 34.78 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003609/0.4812, allocations: 225.2 kB / 0.5605 GB, free: 34.72 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002586/0.4815, allocations: 138.5 kB / 0.5607 GB, free: 34.69 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.4e-05/0.4816, allocations: 10.75 kB / 0.5607 GB, free: 34.69 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.133e-05/0.4816, allocations: 9.219 kB / 0.5607 GB, free: 34.69 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.4818, allocations: 85.94 kB / 0.5608 GB, free: 34.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.169e-05/0.4818, allocations: 70.95 kB / 0.5608 GB, free: 34.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002397/0.4821, allocations: 205 kB / 0.561 GB, free: 34.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.4821, allocations: 3.469 kB / 0.561 GB, free: 34.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.486e-06/0.4821, allocations: 3.094 kB / 0.561 GB, free: 34.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.4821, allocations: 0 / 0.561 GB, free: 34.57 MB / 446.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.0008386/0.483, allocations: 0.6562 MB / 0.5617 GB, free: 33.92 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.483, allocations: 13.39 kB / 0.5617 GB, free: 33.92 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.912e-05/0.4831, allocations: 39.92 kB / 0.5617 GB, free: 33.9 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/0.4834, allocations: 247 kB / 0.562 GB, free: 33.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.374e-05/0.4835, allocations: 12.03 kB / 0.562 GB, free: 33.67 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.63e-05/0.4835, allocations: 19.31 kB / 0.562 GB, free: 33.67 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008731/0.4844, allocations: 222.7 kB / 0.5622 GB, free: 33.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.4844, allocations: 1.156 kB / 0.5622 GB, free: 33.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/0.4845, allocations: 0 / 0.5622 GB, free: 33.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.4845, allocations: 2.562 kB / 0.5622 GB, free: 33.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006356/0.4851, allocations: 103.8 kB / 0.5623 GB, free: 33.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003762/0.4855, allocations: 320.5 kB / 0.5626 GB, free: 33.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008954/0.4864, allocations: 189 kB / 0.5628 GB, free: 33.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006385/0.4871, allocations: 119.6 kB / 0.5629 GB, free: 33.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.4871, allocations: 3.094 kB / 0.5629 GB, free: 33.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008879/0.488, allocations: 223.4 kB / 0.5631 GB, free: 33.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.488, allocations: 0 / 0.5631 GB, free: 33.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.002241/0.4903, allocations: 487.7 kB / 0.5636 GB, free: 33.08 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.4903, allocations: 56.77 kB / 0.5636 GB, free: 33.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003285/0.4906, allocations: 287.6 kB / 0.5639 GB, free: 32.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.443e-05/0.4907, allocations: 37.73 kB / 0.564 GB, free: 32.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.968e-05/0.4908, allocations: 91.47 kB / 0.564 GB, free: 32.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.499e-05/0.4908, allocations: 42 kB / 0.5641 GB, free: 32.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.4908, allocations: 9.594 kB / 0.5641 GB, free: 32.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.592e-05/0.4909, allocations: 321.9 kB / 0.5644 GB, free: 32.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.4911, allocations: 85.98 kB / 0.5645 GB, free: 32.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.4914, allocations: 139.5 kB / 0.5646 GB, free: 32.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002304/0.4916, allocations: 146.5 kB / 0.5648 GB, free: 32.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.4916, allocations: 1.469 kB / 0.5648 GB, free: 32.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006625/0.4923, allocations: 398 kB / 0.5651 GB, free: 31.99 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.948e-05/0.4924, allocations: 75.94 kB / 0.5652 GB, free: 31.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.4924, allocations: 1.406 kB / 0.5652 GB, free: 31.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.4924, allocations: 4.234 kB / 0.5652 GB, free: 31.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.4926, allocations: 23.44 kB / 0.5652 GB, free: 31.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.4926, allocations: 12.23 kB / 0.5653 GB, free: 31.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004515/0.4931, allocations: 69.91 kB / 0.5653 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.709e-05/0.4931, allocations: 42.38 kB / 0.5654 GB, free: 31.89 MB / 446.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 ($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.0001877/0.4933, allocations: 166.3 kB / 0.5655 GB, free: 31.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.722e-05/0.4934, allocations: 24.48 kB / 0.5655 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.919e-05/0.4935, allocations: 29.89 kB / 0.5656 GB, free: 31.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.4935, allocations: 2.875 kB / 0.5656 GB, free: 31.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.4935, allocations: 0 / 0.5656 GB, free: 31.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.4935, allocations: 9.016 kB / 0.5656 GB, free: 31.72 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001968/0.4955, allocations: 0.7123 MB / 0.5663 GB, free: 31.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.4955, allocations: 4 kB / 0.5663 GB, free: 31.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.795e-05/0.4955, allocations: 5.062 kB / 0.5663 GB, free: 31.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.4956, allocations: 5.672 kB / 0.5663 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.959e-05/0.4956, allocations: 16.33 kB / 0.5663 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.932e-06/0.4956, allocations: 5.828 kB / 0.5663 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4956, allocations: 0 / 0.5663 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/0.4971, allocations: 468 kB / 0.5668 GB, free: 31.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001756/0.4973, allocations: 164 kB / 0.5669 GB, free: 31.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.499e-05/0.4974, allocations: 11.56 kB / 0.5669 GB, free: 31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003986/0.4978, allocations: 38.44 kB / 0.567 GB, free: 31 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.4979, allocations: 13.83 kB / 0.567 GB, free: 31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.247e-05/0.4979, allocations: 40.53 kB / 0.567 GB, free: 31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002312/0.4982, allocations: 211.3 kB / 0.5672 GB, free: 30.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4982, allocations: 0 / 0.5672 GB, free: 30.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003795/0.4986, allocations: 48.52 kB / 0.5673 GB, free: 30.88 MB / 446.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 (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.0001433/0.4987, allocations: 116.5 kB / 0.5674 GB, free: 30.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.4998, allocations: 392.4 kB / 0.5677 GB, free: 30.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4998, allocations: 0.875 kB / 0.5677 GB, free: 30.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006827/0.5005, allocations: 128 kB / 0.5679 GB, free: 30.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.5009, allocations: 21.23 kB / 0.5679 GB, free: 30.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.5022, allocations: 0.5232 MB / 0.5684 GB, free: 30.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.5024, allocations: 0.7405 MB / 0.5691 GB, free: 29.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.534e-05/0.5025, allocations: 17.25 kB / 0.5691 GB, free: 29.53 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.5025, allocations: 0.6562 kB / 0.5691 GB, free: 29.53 MB / 446.1 MB Notification: Performance of Templates: time 0.006529/0.509, allocations: 2.844 MB / 0.5719 GB, free: 29.3 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.makefile make -j1 -f IBPSA_latest_IBPSA.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 OMCppIBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTimeCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTimeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTimeCalcHelperMain.o] Error 1