Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.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.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IDEAS.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009677/0.0009679, 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.001231/0.001232, allocations: 172.9 kB / 16.58 MB, free: 6.398 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.382/1.382, allocations: 223.3 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.776/0.776, allocations: 132.3 MB / 424 MB, free: 2.098 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003632/0.0003633, allocations: 8 kB / 0.504 GB, free: 4.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4473/0.4476, allocations: 81.58 MB / 0.5837 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Validation.CalendarTimeMonths): time 0.001573/0.4493, allocations: 1.181 MB / 0.5848 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000898/0.4502, allocations: 403.8 kB / 0.5852 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.009e-05/0.4502, allocations: 3.594 kB / 0.5852 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.4e-05/0.4503, allocations: 6.047 kB / 0.5852 GB, free: 2.855 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.88e-05/0.4504, allocations: 17.59 kB / 0.5852 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006097/0.4511, allocations: 208.9 kB / 0.5854 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000305/0.4514, allocations: 243.6 kB / 0.5857 GB, free: 2.656 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.742e-05/0.4514, allocations: 13.45 kB / 0.5857 GB, free: 2.648 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003911/0.4518, allocations: 220.1 kB / 0.5859 GB, free: 2.598 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002558/0.4521, allocations: 129.8 kB / 0.586 GB, free: 2.566 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.98e-05/0.4522, allocations: 10.16 kB / 0.586 GB, free: 2.566 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.787e-05/0.4522, allocations: 13.66 kB / 0.586 GB, free: 2.562 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.4523, allocations: 81.59 kB / 0.5861 GB, free: 2.539 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.931e-05/0.4524, allocations: 65.33 kB / 0.5862 GB, free: 2.492 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000283/0.4527, allocations: 205.3 kB / 0.5864 GB, free: 2.441 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.4527, allocations: 1.188 kB / 0.5864 GB, free: 2.441 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.4527, allocations: 0.7031 kB / 0.5864 GB, free: 2.441 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.4528, allocations: 0 / 0.5864 GB, free: 2.441 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.0009414/0.4537, allocations: 0.6213 MB / 0.587 GB, free: 1.855 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.4537, allocations: 8.906 kB / 0.587 GB, free: 1.855 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.403e-05/0.4538, allocations: 34.92 kB / 0.587 GB, free: 1.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.4541, allocations: 246.4 kB / 0.5873 GB, free: 1.613 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.509e-05/0.4542, allocations: 12.38 kB / 0.5873 GB, free: 1.609 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.82e-05/0.4542, allocations: 16.52 kB / 0.5873 GB, free: 1.609 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003229/0.4546, allocations: 155.5 kB / 0.5874 GB, free: 1.547 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.4546, allocations: 0 / 0.5874 GB, free: 1.547 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.4546, allocations: 2.047 kB / 0.5874 GB, free: 1.547 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.4546, allocations: 4.938 kB / 0.5874 GB, free: 1.543 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.4548, allocations: 49.06 kB / 0.5875 GB, free: 1.527 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003447/0.4551, allocations: 312.4 kB / 0.5878 GB, free: 1.285 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002706/0.4554, allocations: 131.3 kB / 0.5879 GB, free: 1.223 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.4555, allocations: 56.62 kB / 0.588 GB, free: 1.199 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.4556, allocations: 7.297 kB / 0.588 GB, free: 1.195 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000484/0.4561, allocations: 215 kB / 0.5882 GB, free: 1.109 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.393e-06/0.4561, allocations: 0.6875 kB / 0.5882 GB, free: 1.109 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005929/0.4567, allocations: 275.8 kB / 0.5884 GB, free: 1.008 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.4567, allocations: 61.72 kB / 0.5885 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003158/0.457, allocations: 289.1 kB / 0.5888 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.806e-05/0.4571, allocations: 42.61 kB / 0.5888 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.65e-05/0.4572, allocations: 91.08 kB / 0.5889 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.671e-05/0.4572, allocations: 47.23 kB / 0.5889 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.4572, allocations: 8.922 kB / 0.589 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.907e-05/0.4573, allocations: 321 kB / 0.5893 GB, free: 308 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002137/0.4575, allocations: 93.81 kB / 0.5893 GB, free: 276 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.4578, allocations: 148.9 kB / 0.5895 GB, free: 184 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002138/0.458, allocations: 155.8 kB / 0.5896 GB, free: 72 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.458, allocations: 0 / 0.5896 GB, free: 72 kB / 430.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007582/0.4588, allocations: 411.4 kB / 0.59 GB, free: 15.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.948e-05/0.4589, allocations: 77.38 kB / 0.5901 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.4589, allocations: 1.188 kB / 0.5901 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.4589, allocations: 3.422 kB / 0.5901 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.4591, allocations: 30.59 kB / 0.5901 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.4591, allocations: 4.266 kB / 0.5901 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004779/0.4596, allocations: 76.77 kB / 0.5902 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.426e-05/0.4597, allocations: 55.89 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.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.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.0001989/0.4599, allocations: 179.1 kB / 0.5904 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.2e-05/0.4599, allocations: 24.12 kB / 0.5905 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.914e-05/0.46, allocations: 29.17 kB / 0.5905 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.46, allocations: 1.375 kB / 0.5905 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.46, allocations: 0 / 0.5905 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.46, allocations: 2.156 kB / 0.5905 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008721/0.4609, allocations: 0.5597 MB / 0.591 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4609, allocations: 0.6562 kB / 0.591 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.328e-05/0.461, allocations: 13.09 kB / 0.5911 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.461, allocations: 1 kB / 0.5911 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.461, allocations: 14.45 kB / 0.5911 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.461, allocations: 1.719 kB / 0.5911 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.4611, allocations: 9.016 kB / 0.5911 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004644/0.4615, allocations: 314.4 kB / 0.5914 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001802/0.4617, allocations: 150.1 kB / 0.5915 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.674e-05/0.4618, allocations: 10.78 kB / 0.5915 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.462, allocations: 19.33 kB / 0.5916 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.813e-05/0.4621, allocations: 13.91 kB / 0.5916 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.422e-05/0.4621, allocations: 37.03 kB / 0.5916 GB, free: 14.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002341/0.4624, allocations: 210.5 kB / 0.5918 GB, free: 14.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4624, allocations: 0 / 0.5918 GB, free: 14.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003287/0.4627, allocations: 47.39 kB / 0.5918 GB, free: 14.77 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 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.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.000145/0.4628, allocations: 119.3 kB / 0.592 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005866/0.4634, allocations: 346.3 kB / 0.5923 GB, free: 14.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.4635, allocations: 0 / 0.5923 GB, free: 14.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.4636, allocations: 73.53 kB / 0.5924 GB, free: 14.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.464, allocations: 25.64 kB / 0.5924 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008431/0.4648, allocations: 479.1 kB / 0.5928 GB, free: 14.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.4652, allocations: 0.741 MB / 0.5936 GB, free: 13.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.4653, allocations: 37.66 kB / 0.5936 GB, free: 13.39 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4653, allocations: 0 / 0.5936 GB, free: 13.39 MB / 446.1 MB Notification: Performance of Templates: time 0.005618/0.471, allocations: 2.972 MB / 0.5965 GB, free: 12.61 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.makefile make -j1 -f IDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonths.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.Validation.CalendarTimeMonthsCalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Utilities.Time.Validation.CalendarTimeMonthsCalcHelperMain.o] Error 1