Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime") translateModel(IDEAS.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001008/0.001008, allocations: 102.6 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.001426/0.001426, allocations: 176 kB / 16.58 MB, free: 6.859 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.486/1.486, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9988/0.9988, allocations: 135.3 MB / 427 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003929/0.0003929, allocations: 8.219 kB / 0.5076 GB, free: 5.164 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2126, allocations: 82.32 MB / 0.588 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.001907/0.2146, allocations: 1.164 MB / 0.5891 GB, free: 1.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.2158, allocations: 413.5 kB / 0.5895 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.431e-05/0.2159, allocations: 0 / 0.5895 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.2161, allocations: 7.922 kB / 0.5895 GB, free: 1.43 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001385/0.2162, allocations: 19.86 kB / 0.5895 GB, free: 1.41 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007899/0.217, allocations: 216.9 kB / 0.5897 GB, free: 1.203 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003281/0.2174, allocations: 243.5 kB / 0.59 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.739e-05/0.2174, allocations: 11.98 kB / 0.59 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003811/0.2178, allocations: 223.6 kB / 0.5902 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002405/0.2181, allocations: 131.7 kB / 0.5903 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.884e-05/0.2181, allocations: 8 kB / 0.5903 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.691e-05/0.2182, allocations: 8 kB / 0.5903 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.2183, allocations: 79.78 kB / 0.5904 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.483e-05/0.2184, allocations: 65.58 kB / 0.5905 GB, free: 452 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.2187, allocations: 211.8 kB / 0.5907 GB, free: 240 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.595e-06/0.2187, allocations: 0 / 0.5907 GB, free: 240 kB / 494.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.2188, allocations: 4 kB / 0.5907 GB, free: 236 kB / 494.1 MB Notification: Performance of Transformations before backend: time 7.914e-06/0.2188, allocations: 0 / 0.5907 GB, free: 236 kB / 494.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.001341/0.2201, allocations: 0.6102 MB / 0.5913 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/0.2202, allocations: 12.03 kB / 0.5913 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.2203, allocations: 31.7 kB / 0.5913 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003919/0.2207, allocations: 250.4 kB / 0.5916 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.782e-05/0.2208, allocations: 19.98 kB / 0.5916 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.785e-05/0.2208, allocations: 16 kB / 0.5916 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000342/0.2212, allocations: 145.5 kB / 0.5917 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.2212, allocations: 0 / 0.5917 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/0.2212, allocations: 7.984 kB / 0.5917 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.2212, allocations: 0 / 0.5917 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.2214, allocations: 39.98 kB / 0.5918 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004521/0.2218, allocations: 329.2 kB / 0.5921 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002956/0.2221, allocations: 130.7 kB / 0.5922 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.2223, allocations: 56.83 kB / 0.5923 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.719e-05/0.2223, allocations: 0 / 0.5923 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005249/0.2229, allocations: 224 kB / 0.5925 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 3.466e-06/0.2229, allocations: 3.984 kB / 0.5925 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006238/0.2235, allocations: 265.2 kB / 0.5927 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.2236, allocations: 63.39 kB / 0.5928 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003129/0.2239, allocations: 286.8 kB / 0.5931 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.062e-05/0.224, allocations: 41.7 kB / 0.5931 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.564e-05/0.2241, allocations: 93.14 kB / 0.5932 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.736e-05/0.2241, allocations: 51.42 kB / 0.5933 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/0.2242, allocations: 8 kB / 0.5933 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.2243, allocations: 326.8 kB / 0.5936 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.2245, allocations: 88.17 kB / 0.5937 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002416/0.2248, allocations: 146.4 kB / 0.5938 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002251/0.225, allocations: 158 kB / 0.5939 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.225, allocations: 0 / 0.5939 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006832/0.2257, allocations: 412.8 kB / 0.5943 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.802e-05/0.2258, allocations: 75.56 kB / 0.5944 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.2258, allocations: 4 kB / 0.5944 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.2258, allocations: 4 kB / 0.5944 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.226, allocations: 27.92 kB / 0.5944 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.226, allocations: 4 kB / 0.5945 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004637/0.2265, allocations: 79.64 kB / 0.5945 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.678e-05/0.2266, allocations: 55.97 kB / 0.5946 GB, free: 11.93 MB / 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: 26 ($PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.firstDaySampling,$whenCondition1,calendarTime2016.daySampleTrigger,$whenCondition2,calendarTime2016.hourSampleTrigger,$whenCondition4,$whenCondition3,$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 (28): * Single equations (assignments): 26 * 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.0001947/0.2268, allocations: 173.7 kB / 0.5947 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.655e-05/0.2268, allocations: 23.72 kB / 0.5948 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.835e-05/0.2269, allocations: 30.25 kB / 0.5948 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2269, allocations: 0 / 0.5948 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.2269, allocations: 0 / 0.5948 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.2269, allocations: 3.984 kB / 0.5948 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008238/0.2278, allocations: 0.5645 MB / 0.5954 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.2278, allocations: 4 kB / 0.5954 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.921e-05/0.2278, allocations: 4 kB / 0.5954 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2278, allocations: 0 / 0.5954 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.2279, allocations: 19.97 kB / 0.5954 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.2279, allocations: 0 / 0.5954 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2279, allocations: 0 / 0.5954 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004114/0.2283, allocations: 325.2 kB / 0.5957 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/0.2285, allocations: 156.6 kB / 0.5958 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.531e-05/0.2285, allocations: 8 kB / 0.5958 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.2287, allocations: 15.98 kB / 0.5959 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.416e-05/0.2288, allocations: 19.91 kB / 0.5959 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-05/0.2289, allocations: 31.98 kB / 0.5959 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002185/0.2291, allocations: 213.9 kB / 0.5961 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2291, allocations: 0 / 0.5961 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000311/0.2294, allocations: 44 kB / 0.5962 GB, free: 10.22 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: 16 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calendarTime2016.hour,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * 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.0001954/0.2296, allocations: 122.5 kB / 0.5963 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005524/0.2302, allocations: 346.7 kB / 0.5966 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2302, allocations: 0 / 0.5966 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.2304, allocations: 73.16 kB / 0.5967 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.2307, allocations: 24.86 kB / 0.5967 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007555/0.2315, allocations: 481 kB / 0.5972 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.2318, allocations: 0.7453 MB / 0.5979 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.232, allocations: 35.41 kB / 0.5979 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.232, allocations: 0 / 0.5979 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of Templates: time 0.005138/0.2371, allocations: 2.993 MB / 0.6008 GB, free: 5.363 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTime.makefile make -j1 -f IDEAS_dev_IDEAS.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 OMCppIDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTimeCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTimeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Utilities.Time.Examples.CalendarTimeCalcHelperMain.o] Error 1