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.0008981/0.0008983, allocations: 100.1 kB / 15.71 MB, free: 452 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.001228/0.001228, allocations: 175 kB / 16.58 MB, free: 6.422 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.385/1.385, allocations: 223.2 MB / 240.6 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.7848/0.7848, allocations: 132.3 MB / 424 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003342, allocations: 12 kB / 0.504 GB, free: 4.293 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5371/0.5374, allocations: 81.57 MB / 0.5837 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.CalendarTime): time 0.001751/0.5392, allocations: 1.181 MB / 0.5848 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009756/0.5402, allocations: 408.2 kB / 0.5852 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.867e-05/0.5403, allocations: 1.406 kB / 0.5852 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.81e-05/0.5404, allocations: 5.906 kB / 0.5852 GB, free: 2.855 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.5405, allocations: 18.77 kB / 0.5852 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006537/0.5412, allocations: 211.1 kB / 0.5854 GB, free: 2.746 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003144/0.5415, allocations: 240.7 kB / 0.5857 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.431e-05/0.5416, allocations: 5.453 kB / 0.5857 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003872/0.542, allocations: 228.5 kB / 0.5859 GB, free: 2.594 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002533/0.5422, allocations: 126.7 kB / 0.586 GB, free: 2.566 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.483e-05/0.5423, allocations: 9.188 kB / 0.586 GB, free: 2.566 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.264e-05/0.5423, allocations: 9.531 kB / 0.586 GB, free: 2.566 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.5425, allocations: 82.08 kB / 0.5861 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.43e-05/0.5426, allocations: 64.8 kB / 0.5862 GB, free: 2.496 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002872/0.5428, allocations: 210.4 kB / 0.5864 GB, free: 2.441 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.5429, allocations: 3.938 kB / 0.5864 GB, free: 2.438 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5429, allocations: 1.094 kB / 0.5864 GB, free: 2.438 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.5429, allocations: 0 / 0.5864 GB, free: 2.438 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.001007/0.5439, allocations: 0.6174 MB / 0.587 GB, free: 1.855 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.5439, allocations: 8.688 kB / 0.587 GB, free: 1.855 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.5441, allocations: 35.48 kB / 0.587 GB, free: 1.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.5444, allocations: 253.2 kB / 0.5873 GB, free: 1.605 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.728e-05/0.5444, allocations: 13.53 kB / 0.5873 GB, free: 1.602 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-05/0.5445, allocations: 19.77 kB / 0.5873 GB, free: 1.598 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003361/0.5448, allocations: 152.3 kB / 0.5874 GB, free: 1.535 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.5448, allocations: 0 / 0.5874 GB, free: 1.535 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.5449, allocations: 2.469 kB / 0.5874 GB, free: 1.535 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.5449, allocations: 2.688 kB / 0.5874 GB, free: 1.535 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.545, allocations: 43.81 kB / 0.5875 GB, free: 1.523 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003891/0.5454, allocations: 308.1 kB / 0.5878 GB, free: 1.285 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003122/0.5457, allocations: 144.5 kB / 0.5879 GB, free: 1.211 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.5459, allocations: 56.08 kB / 0.588 GB, free: 1.188 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.5459, allocations: 2.75 kB / 0.588 GB, free: 1.188 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005155/0.5464, allocations: 220.4 kB / 0.5882 GB, free: 1.098 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.783e-06/0.5464, allocations: 0 / 0.5882 GB, free: 1.098 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006431/0.5471, allocations: 267.8 kB / 0.5884 GB, free: 1.004 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.5471, allocations: 58.11 kB / 0.5885 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003455/0.5475, allocations: 289.6 kB / 0.5888 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.676e-05/0.5475, allocations: 41.61 kB / 0.5888 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.466e-05/0.5476, allocations: 92.19 kB / 0.5889 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.023e-05/0.5477, allocations: 46.06 kB / 0.5889 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/0.5477, allocations: 9.141 kB / 0.589 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.311e-05/0.5478, allocations: 329 kB / 0.5893 GB, free: 300 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002386/0.548, allocations: 94.8 kB / 0.5894 GB, free: 268 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002581/0.5483, allocations: 144.2 kB / 0.5895 GB, free: 180 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002305/0.5485, allocations: 155.4 kB / 0.5896 GB, free: 68 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.5485, allocations: 0 / 0.5896 GB, free: 68 kB / 430.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007989/0.5493, allocations: 420 kB / 0.59 GB, free: 15.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.095e-05/0.5494, allocations: 73.08 kB / 0.5901 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.5494, allocations: 1.562 kB / 0.5901 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.5495, allocations: 7.562 kB / 0.5901 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.5497, allocations: 27.12 kB / 0.5901 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/0.5497, allocations: 7.578 kB / 0.5902 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004978/0.5502, allocations: 68.98 kB / 0.5902 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.5503, allocations: 54.53 kB / 0.5903 GB, free: 15.79 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 ($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.0002413/0.5505, allocations: 181 kB / 0.5904 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.724e-05/0.5506, allocations: 24.7 kB / 0.5905 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.66e-05/0.5507, allocations: 31.91 kB / 0.5905 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.5507, allocations: 2.125 kB / 0.5905 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.5507, allocations: 0.625 kB / 0.5905 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.5507, allocations: 1.5 kB / 0.5905 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009379/0.5517, allocations: 0.5624 MB / 0.5911 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.5517, allocations: 0.8125 kB / 0.5911 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.83e-05/0.5517, allocations: 12.14 kB / 0.5911 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.5517, allocations: 1.375 kB / 0.5911 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.533e-05/0.5518, allocations: 15.47 kB / 0.5911 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.5518, allocations: 1.375 kB / 0.5911 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5518, allocations: 0 / 0.5911 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004617/0.5523, allocations: 319.7 kB / 0.5914 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000192/0.5525, allocations: 158.7 kB / 0.5915 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.782e-05/0.5525, allocations: 13.38 kB / 0.5915 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.5527, allocations: 16.66 kB / 0.5916 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.318e-05/0.5528, allocations: 15.45 kB / 0.5916 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-05/0.5529, allocations: 31.72 kB / 0.5916 GB, free: 14.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002433/0.5531, allocations: 206.3 kB / 0.5918 GB, free: 14.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5531, allocations: 0 / 0.5918 GB, free: 14.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003495/0.5535, allocations: 51.84 kB / 0.5919 GB, free: 14.76 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 (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.0001602/0.5536, allocations: 121.4 kB / 0.592 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006077/0.5543, allocations: 350 kB / 0.5923 GB, free: 14.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5543, allocations: 0 / 0.5923 GB, free: 14.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.5544, allocations: 69.7 kB / 0.5924 GB, free: 14.44 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.5548, allocations: 22.25 kB / 0.5924 GB, free: 14.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008041/0.5556, allocations: 480.2 kB / 0.5929 GB, free: 14.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.556, allocations: 0.7367 MB / 0.5936 GB, free: 13.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.5561, allocations: 41.72 kB / 0.5936 GB, free: 13.38 MB / 446.1 MB Notification: Performance of SimCode: time 4.2e-07/0.5561, allocations: 0 / 0.5936 GB, free: 13.38 MB / 446.1 MB Notification: Performance of Templates: time 0.006006/0.5621, allocations: 2.982 MB / 0.5965 GB, free: 12.61 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++ 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_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