Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime") translateModel(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.0009409/0.0009411, allocations: 102 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.000949/0.0009492, allocations: 175.3 kB / 16.58 MB, free: 6.102 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.55/1.55, allocations: 223.3 MB / 240.6 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.112/1.112, allocations: 143.4 MB / 435.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003476, allocations: 12 kB / 0.5166 GB, free: 11.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2079, allocations: 83.41 MB / 0.5981 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.001667/0.2096, allocations: 1.186 MB / 0.5992 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009454/0.2106, allocations: 412.8 kB / 0.5996 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.606e-05/0.2106, allocations: 0 / 0.5996 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.888e-05/0.2107, allocations: 15.92 kB / 0.5996 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.2108, allocations: 19.86 kB / 0.5996 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006136/0.2115, allocations: 215.6 kB / 0.5998 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002732/0.2117, allocations: 251.5 kB / 0.6001 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.451e-05/0.2118, allocations: 7.984 kB / 0.6001 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003392/0.2122, allocations: 223.6 kB / 0.6003 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002205/0.2124, allocations: 139.7 kB / 0.6004 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.778e-05/0.2124, allocations: 12 kB / 0.6004 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.839e-05/0.2125, allocations: 12 kB / 0.6005 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.2126, allocations: 83.77 kB / 0.6005 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.363e-05/0.2127, allocations: 69.58 kB / 0.6006 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.2129, allocations: 219.8 kB / 0.6008 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.213, allocations: 0 / 0.6008 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.985e-06/0.213, allocations: 0 / 0.6008 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.213, allocations: 0 / 0.6008 GB, free: 5.02 MB / 0.4981 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.000935/0.2139, allocations: 0.6604 MB / 0.6015 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.214, allocations: 12.03 kB / 0.6015 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.2141, allocations: 31.67 kB / 0.6015 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.2144, allocations: 254.5 kB / 0.6017 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.541e-05/0.2144, allocations: 19.97 kB / 0.6018 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.176e-05/0.2145, allocations: 16 kB / 0.6018 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008401/0.2154, allocations: 221 kB / 0.602 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.2154, allocations: 0 / 0.602 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.2154, allocations: 7.984 kB / 0.602 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2154, allocations: 4 kB / 0.602 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006285/0.2161, allocations: 103.9 kB / 0.6021 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003588/0.2164, allocations: 317.3 kB / 0.6024 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009042/0.2173, allocations: 186.5 kB / 0.6026 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006282/0.218, allocations: 116.8 kB / 0.6027 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.517e-05/0.218, allocations: 3.938 kB / 0.6027 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008608/0.2189, allocations: 227.1 kB / 0.6029 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.794e-06/0.2189, allocations: 0 / 0.6029 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.002155/0.2211, allocations: 477 kB / 0.6034 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.2211, allocations: 59.39 kB / 0.6034 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003095/0.2215, allocations: 287 kB / 0.6037 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.796e-05/0.2215, allocations: 33.7 kB / 0.6037 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.364e-05/0.2216, allocations: 109 kB / 0.6038 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.261e-05/0.2216, allocations: 31.61 kB / 0.6039 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.833e-05/0.2217, allocations: 12 kB / 0.6039 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.2218, allocations: 326.8 kB / 0.6042 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/0.222, allocations: 83.89 kB / 0.6043 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.2223, allocations: 134.7 kB / 0.6044 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.2225, allocations: 153.3 kB / 0.6045 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.2225, allocations: 0 / 0.6045 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006127/0.2231, allocations: 396.5 kB / 0.6049 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.563e-05/0.2232, allocations: 71.39 kB / 0.605 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.2232, allocations: 4 kB / 0.605 GB, free: 440 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.2232, allocations: 4.188 kB / 0.605 GB, free: 436 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.2234, allocations: 27.97 kB / 0.605 GB, free: 408 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.2234, allocations: 7.938 kB / 0.605 GB, free: 400 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004089/0.2238, allocations: 59.86 kB / 0.6051 GB, free: 340 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.388e-05/0.2239, allocations: 39.98 kB / 0.6051 GB, free: 300 kB / 0.4981 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.0001887/0.2241, allocations: 173.7 kB / 0.6053 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.2242, allocations: 31.58 kB / 0.6053 GB, free: 84 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.897e-05/0.2242, allocations: 30.3 kB / 0.6054 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.2242, allocations: 0 / 0.6054 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.2243, allocations: 4 kB / 0.6054 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.2243, allocations: 3.984 kB / 0.6054 GB, free: 48 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4585/0.6828, allocations: 0.7049 MB / 0.606 GB, free: 40.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.6828, allocations: 0.8438 kB / 0.606 GB, free: 40.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.916e-05/0.6829, allocations: 9.25 kB / 0.6061 GB, free: 40.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.6829, allocations: 0 / 0.6061 GB, free: 40.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.332e-05/0.6829, allocations: 20.52 kB / 0.6061 GB, free: 40.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.683, allocations: 2.875 kB / 0.6061 GB, free: 40.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.683, allocations: 0 / 0.6061 GB, free: 40.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002075/0.6851, allocations: 460.3 kB / 0.6065 GB, free: 40.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001916/0.6853, allocations: 168.9 kB / 0.6067 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.666e-05/0.6853, allocations: 13.84 kB / 0.6067 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003988/0.6857, allocations: 35.92 kB / 0.6067 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.6858, allocations: 8.281 kB / 0.6067 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.256e-05/0.6858, allocations: 41.55 kB / 0.6068 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002087/0.6861, allocations: 209.7 kB / 0.607 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.6861, allocations: 3.844 kB / 0.607 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000378/0.6865, allocations: 53.08 kB / 0.607 GB, free: 40.61 MB / 0.4981 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.0001476/0.6866, allocations: 114.5 kB / 0.6071 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009642/0.6876, allocations: 385.8 kB / 0.6075 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.6876, allocations: 6.109 kB / 0.6075 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006178/0.6882, allocations: 127.8 kB / 0.6076 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.6886, allocations: 23.81 kB / 0.6077 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.6897, allocations: 0.5302 MB / 0.6082 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001818/0.6899, allocations: 0.7406 MB / 0.6089 GB, free: 39.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.218e-05/0.6899, allocations: 19.34 kB / 0.6089 GB, free: 39.41 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.6899, allocations: 0 / 0.6089 GB, free: 39.41 MB / 0.4981 GB Notification: Performance of Templates: time 0.004288/0.6942, allocations: 2.845 MB / 0.6117 GB, free: 39.22 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.makefile make -j1 -f BuildSysPro_BuildSysPro.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTimeCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTimeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTimeCalcHelperMain.o] Error 1