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.0008252/0.0008254, allocations: 99.27 kB / 16.02 MB, free: 76 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.001038/0.001038, allocations: 186.6 kB / 16.92 MB, free: 6.688 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.258/1.258, allocations: 223.2 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.708/0.708, allocations: 132.3 MB / 424.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003291/0.0003291, allocations: 8 kB / 0.5046 GB, free: 3.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4332/0.4336, allocations: 81.58 MB / 0.5843 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.001477/0.4351, allocations: 1.198 MB / 0.5854 GB, free: 3.156 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009888/0.4361, allocations: 448 kB / 0.5859 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.501e-05/0.4362, allocations: 0 / 0.5859 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.32e-05/0.4363, allocations: 5.391 kB / 0.5859 GB, free: 2.863 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.4364, allocations: 19.16 kB / 0.5859 GB, free: 2.855 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006236/0.437, allocations: 228.9 kB / 0.5861 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003287/0.4374, allocations: 284.4 kB / 0.5864 GB, free: 2.645 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.782e-05/0.4374, allocations: 8.859 kB / 0.5864 GB, free: 2.641 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002991/0.4377, allocations: 212 kB / 0.5866 GB, free: 2.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.4379, allocations: 120.5 kB / 0.5867 GB, free: 2.551 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.127e-05/0.438, allocations: 9.156 kB / 0.5867 GB, free: 2.551 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.922e-05/0.4381, allocations: 9.438 kB / 0.5867 GB, free: 2.551 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.4382, allocations: 75.78 kB / 0.5868 GB, free: 2.527 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.4383, allocations: 145.2 kB / 0.5869 GB, free: 2.434 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002514/0.4386, allocations: 202.4 kB / 0.5871 GB, free: 2.387 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.4386, allocations: 4 kB / 0.5871 GB, free: 2.383 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4386, allocations: 1.281 kB / 0.5871 GB, free: 2.383 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.4386, allocations: 0 / 0.5871 GB, free: 2.383 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.0009668/0.4396, allocations: 0.6144 MB / 0.5877 GB, free: 1.801 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.4396, allocations: 9.375 kB / 0.5877 GB, free: 1.801 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.4398, allocations: 35.34 kB / 0.5878 GB, free: 1.785 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.44, allocations: 256.5 kB / 0.588 GB, free: 1.547 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.502e-05/0.4401, allocations: 16.67 kB / 0.588 GB, free: 1.539 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.87e-05/0.4402, allocations: 20.06 kB / 0.5881 GB, free: 1.535 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003131/0.4405, allocations: 141.3 kB / 0.5882 GB, free: 1.484 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.4405, allocations: 1.812 kB / 0.5882 GB, free: 1.484 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/0.4405, allocations: 5.359 kB / 0.5882 GB, free: 1.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.4405, allocations: 5.25 kB / 0.5882 GB, free: 1.477 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.4407, allocations: 49.58 kB / 0.5883 GB, free: 1.461 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003404/0.441, allocations: 319.6 kB / 0.5886 GB, free: 1.211 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002812/0.4413, allocations: 131.8 kB / 0.5887 GB, free: 1.148 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.4415, allocations: 58.39 kB / 0.5887 GB, free: 1.125 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.4415, allocations: 1.875 kB / 0.5887 GB, free: 1.125 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004663/0.442, allocations: 223.2 kB / 0.589 GB, free: 1.035 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.383e-06/0.442, allocations: 0.75 kB / 0.589 GB, free: 1.035 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005976/0.4426, allocations: 270.8 kB / 0.5892 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.4426, allocations: 62.05 kB / 0.5893 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003052/0.4429, allocations: 295.6 kB / 0.5896 GB, free: 0.707 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.094e-05/0.443, allocations: 42.28 kB / 0.5896 GB, free: 0.668 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.053e-05/0.443, allocations: 90.69 kB / 0.5897 GB, free: 0.582 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.03e-05/0.4431, allocations: 43.42 kB / 0.5897 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.599e-05/0.4432, allocations: 34.88 kB / 0.5898 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.817e-05/0.4432, allocations: 325.5 kB / 0.5901 GB, free: 212 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/0.4435, allocations: 91.84 kB / 0.5902 GB, free: 184 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.4437, allocations: 149.4 kB / 0.5903 GB, free: 92 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003526/0.4441, allocations: 243 kB / 0.5905 GB, free: 15.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.4441, allocations: 5 kB / 0.5905 GB, free: 15.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007569/0.4448, allocations: 413.5 kB / 0.5909 GB, free: 15.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.728e-05/0.4449, allocations: 76.34 kB / 0.591 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.4449, allocations: 2.344 kB / 0.591 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.445, allocations: 2.812 kB / 0.591 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.4451, allocations: 27.66 kB / 0.591 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.4452, allocations: 2.094 kB / 0.591 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005236/0.4457, allocations: 73.47 kB / 0.5911 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.307e-05/0.4458, allocations: 55.56 kB / 0.5912 GB, free: 15.62 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.0001976/0.446, allocations: 176.8 kB / 0.5913 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.649e-05/0.446, allocations: 36.55 kB / 0.5914 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.011e-05/0.4461, allocations: 28.33 kB / 0.5914 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.4461, allocations: 1.75 kB / 0.5914 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.4461, allocations: 4 kB / 0.5914 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.4461, allocations: 2.578 kB / 0.5914 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008959/0.447, allocations: 0.5571 MB / 0.5919 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.4471, allocations: 1 kB / 0.5919 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.243e-05/0.4471, allocations: 8.031 kB / 0.592 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.4471, allocations: 2.266 kB / 0.592 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.105e-05/0.4472, allocations: 17.91 kB / 0.592 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.4472, allocations: 6.297 kB / 0.592 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4472, allocations: 3.938 kB / 0.592 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005151/0.4477, allocations: 319.8 kB / 0.5923 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.4479, allocations: 162.9 kB / 0.5924 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.273e-05/0.4479, allocations: 8.781 kB / 0.5924 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.4482, allocations: 15.3 kB / 0.5925 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.677e-05/0.4482, allocations: 17.64 kB / 0.5925 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-05/0.4483, allocations: 32.56 kB / 0.5925 GB, free: 14.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002262/0.4485, allocations: 208.2 kB / 0.5927 GB, free: 14.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4485, allocations: 0 / 0.5927 GB, free: 14.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003274/0.4489, allocations: 49.61 kB / 0.5928 GB, free: 14.59 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.0001439/0.449, allocations: 111.4 kB / 0.5929 GB, free: 14.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005882/0.4496, allocations: 344.8 kB / 0.5932 GB, free: 14.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4496, allocations: 4.062 kB / 0.5932 GB, free: 14.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.4498, allocations: 74.83 kB / 0.5933 GB, free: 14.28 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.4502, allocations: 24.81 kB / 0.5933 GB, free: 14.26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007978/0.451, allocations: 494.8 kB / 0.5938 GB, free: 13.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.4513, allocations: 0.7366 MB / 0.5945 GB, free: 13.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.4515, allocations: 41.8 kB / 0.5945 GB, free: 13.2 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4515, allocations: 0 / 0.5945 GB, free: 13.2 MB / 446.1 MB Notification: Performance of Templates: time 0.00557/0.4571, allocations: 2.986 MB / 0.5974 GB, free: 12.33 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