Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Time.Examples.CalendarTime") translateModel(IDEAS.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00467/0.00467, allocations: 99.89 kB / 15.87 MB, free: 6.305 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.001014/0.001014, allocations: 193.1 kB / 16.79 MB, free: 6.234 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7277/0.7277, allocations: 132.2 MB / 422.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001053/0.001053, allocations: 55.75 kB / 0.5017 GB, free: 4.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3795, allocations: 80.21 MB / 0.58 GB, free: 4.527 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.002459/0.382, allocations: 1.544 MB / 0.5815 GB, free: 3.449 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009403/0.3829, allocations: 446.6 kB / 0.582 GB, free: 3.164 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.099e-05/0.383, allocations: 0 / 0.582 GB, free: 3.164 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.387e-05/0.3831, allocations: 5.25 kB / 0.582 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.3832, allocations: 24.03 kB / 0.582 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005873/0.3838, allocations: 223.5 kB / 0.5822 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002721/0.3841, allocations: 284.1 kB / 0.5825 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.337e-05/0.3841, allocations: 4.953 kB / 0.5825 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002766/0.3844, allocations: 209.2 kB / 0.5827 GB, free: 2.891 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.3846, allocations: 124.7 kB / 0.5828 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.036e-05/0.3847, allocations: 10.28 kB / 0.5828 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.993e-05/0.3848, allocations: 9.281 kB / 0.5828 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.3849, allocations: 80.3 kB / 0.5829 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.3851, allocations: 117.7 kB / 0.583 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.3853, allocations: 204.3 kB / 0.5832 GB, free: 2.699 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3853, allocations: 4.703 kB / 0.5832 GB, free: 2.695 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.3854, allocations: 3.938 kB / 0.5832 GB, free: 2.691 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.3854, allocations: 0.875 kB / 0.5832 GB, free: 2.691 MB / 430.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.001152/0.3865, allocations: 0.6944 MB / 0.5839 GB, free: 2.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.3866, allocations: 9.062 kB / 0.5839 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.3867, allocations: 38.67 kB / 0.5839 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.387, allocations: 265.6 kB / 0.5842 GB, free: 1.824 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.216e-05/0.387, allocations: 13.31 kB / 0.5842 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.264e-05/0.3871, allocations: 16.2 kB / 0.5842 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003246/0.3874, allocations: 149 kB / 0.5844 GB, free: 1.762 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.3874, allocations: 3.984 kB / 0.5844 GB, free: 1.758 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.736e-05/0.3874, allocations: 5.859 kB / 0.5844 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.3875, allocations: 1.5 kB / 0.5844 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.3876, allocations: 45.66 kB / 0.5844 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003676/0.388, allocations: 316.5 kB / 0.5847 GB, free: 1.496 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003109/0.3883, allocations: 138.5 kB / 0.5848 GB, free: 1.43 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.3885, allocations: 58.28 kB / 0.5849 GB, free: 1.406 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.3885, allocations: 1.75 kB / 0.5849 GB, free: 1.406 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004937/0.389, allocations: 216 kB / 0.5851 GB, free: 1.324 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.463e-06/0.389, allocations: 0 / 0.5851 GB, free: 1.324 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006349/0.3896, allocations: 275.4 kB / 0.5854 GB, free: 1.223 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.3897, allocations: 58.25 kB / 0.5854 GB, free: 1.16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/0.39, allocations: 294.5 kB / 0.5857 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.87e-05/0.39, allocations: 41.77 kB / 0.5857 GB, free: 0.957 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.789e-05/0.3901, allocations: 91.11 kB / 0.5858 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.826e-05/0.3902, allocations: 43.66 kB / 0.5859 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/0.3904, allocations: 107.6 kB / 0.586 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.48e-05/0.3904, allocations: 322 kB / 0.5863 GB, free: 484 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/0.3907, allocations: 95.64 kB / 0.5864 GB, free: 456 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/0.3909, allocations: 148.4 kB / 0.5865 GB, free: 364 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003046/0.3912, allocations: 247.8 kB / 0.5867 GB, free: 172 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.3913, allocations: 1.5 kB / 0.5867 GB, free: 172 kB / 430.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007712/0.392, allocations: 412.4 kB / 0.5871 GB, free: 15.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.6e-05/0.3921, allocations: 72.89 kB / 0.5872 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/0.3921, allocations: 2.781 kB / 0.5872 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.3922, allocations: 2.875 kB / 0.5872 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.3923, allocations: 30.23 kB / 0.5872 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.3924, allocations: 7.609 kB / 0.5873 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005429/0.3929, allocations: 56.92 kB / 0.5873 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.412e-05/0.393, allocations: 54.45 kB / 0.5874 GB, free: 15.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: 26 (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,$whenCondition3,$whenCondition4) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001998/0.3932, allocations: 176.9 kB / 0.5875 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.483e-05/0.3933, allocations: 29.03 kB / 0.5876 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.769e-05/0.3933, allocations: 35.58 kB / 0.5876 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.3934, allocations: 2.375 kB / 0.5876 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.3934, allocations: 1.156 kB / 0.5876 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3934, allocations: 1.172 kB / 0.5876 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008858/0.3943, allocations: 0.5651 MB / 0.5881 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3943, allocations: 0.9688 kB / 0.5881 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.014e-05/0.3943, allocations: 12.14 kB / 0.5882 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.271e-06/0.3944, allocations: 1.031 kB / 0.5882 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.682e-05/0.3944, allocations: 24.23 kB / 0.5882 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.3944, allocations: 4.594 kB / 0.5882 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3944, allocations: 0 / 0.5882 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000462/0.3949, allocations: 320.5 kB / 0.5885 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001836/0.3951, allocations: 154.1 kB / 0.5886 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.514e-05/0.3951, allocations: 9.344 kB / 0.5886 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.3954, allocations: 18.34 kB / 0.5887 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.077e-05/0.3954, allocations: 13.77 kB / 0.5887 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.331e-05/0.3955, allocations: 36.58 kB / 0.5887 GB, free: 14.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002177/0.3957, allocations: 208.9 kB / 0.5889 GB, free: 14.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3957, allocations: 0 / 0.5889 GB, free: 14.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003346/0.3961, allocations: 47.31 kB / 0.589 GB, free: 14.86 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: 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 (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.0001521/0.3962, allocations: 112.4 kB / 0.5891 GB, free: 14.76 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005846/0.3968, allocations: 340 kB / 0.5894 GB, free: 14.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3968, allocations: 384 / 0.5894 GB, free: 14.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.397, allocations: 79.12 kB / 0.5895 GB, free: 14.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.3974, allocations: 24.36 kB / 0.5895 GB, free: 14.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007934/0.3982, allocations: 0.4956 MB / 0.59 GB, free: 14.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.3985, allocations: 0.7405 MB / 0.5907 GB, free: 13.47 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.3986, allocations: 41.86 kB / 0.5907 GB, free: 13.45 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3986, allocations: 4 kB / 0.5907 GB, free: 13.45 MB / 446.1 MB Notification: Performance of Templates: time 0.005503/0.4042, allocations: 3.012 MB / 0.5937 GB, free: 12.72 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Time.Examples.CalendarTime.makefile make -j1 -f IDEAS_IDEAS.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 OMCppIDEAS_IDEAS.Utilities.Time.Examples.CalendarTimeCalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.Time.Examples.CalendarTimeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Utilities.Time.Examples.CalendarTimeCalcHelperMain.o] Error 1