Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 99.12 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.001589/0.00159, allocations: 177.9 kB / 16.58 MB, free: 6.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.812/1.812, allocations: 205.4 MB / 222.8 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.759/1.759, allocations: 292.7 MB / 0.5505 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005369/0.0005369, allocations: 20.28 kB / 0.6744 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3315, allocations: 116.3 MB / 0.7879 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.00231/0.3339, allocations: 1.378 MB / 0.7893 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.3351, allocations: 471.2 kB / 0.7897 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.238e-05/0.3352, allocations: 0 / 0.7897 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.3353, allocations: 7.875 kB / 0.7898 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001452/0.3355, allocations: 19.91 kB / 0.7898 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000698/0.3362, allocations: 231.2 kB / 0.79 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000389/0.3366, allocations: 315.5 kB / 0.7903 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.3367, allocations: 29.09 kB / 0.7903 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004121/0.3371, allocations: 239.5 kB / 0.7905 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003361/0.3375, allocations: 147.6 kB / 0.7907 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.193e-05/0.3375, allocations: 8 kB / 0.7907 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.957e-05/0.3376, allocations: 12 kB / 0.7907 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000155/0.3378, allocations: 75.78 kB / 0.7908 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.3379, allocations: 81.56 kB / 0.7909 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003684/0.3383, allocations: 327.5 kB / 0.7912 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.3383, allocations: 4 kB / 0.7912 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.625e-06/0.3383, allocations: 0 / 0.7912 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.3383, allocations: 0 / 0.7912 GB, free: 8.613 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001101/0.3394, allocations: 0.6837 MB / 0.7918 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.3395, allocations: 8.031 kB / 0.7918 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.3396, allocations: 39.58 kB / 0.7919 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.34, allocations: 275.1 kB / 0.7921 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.761e-05/0.3401, allocations: 19.98 kB / 0.7922 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.614e-05/0.3401, allocations: 20 kB / 0.7922 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009383/0.3411, allocations: 241.4 kB / 0.7924 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.3411, allocations: 0 / 0.7924 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/0.3411, allocations: 4 kB / 0.7924 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.3411, allocations: 4 kB / 0.7924 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006916/0.3418, allocations: 123.8 kB / 0.7925 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.343, allocations: 0.5628 MB / 0.7931 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009062/0.3439, allocations: 198.4 kB / 0.7933 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006359/0.3446, allocations: 124.8 kB / 0.7934 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.3446, allocations: 4 kB / 0.7934 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008537/0.3455, allocations: 227.2 kB / 0.7936 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.234e-06/0.3455, allocations: 0 / 0.7936 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002222/0.3477, allocations: 491.4 kB / 0.7941 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.3478, allocations: 71.33 kB / 0.7942 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003664/0.3482, allocations: 320.4 kB / 0.7945 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.404e-05/0.3482, allocations: 33.7 kB / 0.7945 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.456e-05/0.3483, allocations: 105 kB / 0.7946 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.58e-05/0.3484, allocations: 39.55 kB / 0.7946 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-05/0.3484, allocations: 11.98 kB / 0.7946 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001967/0.3486, allocations: 322.8 kB / 0.795 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/0.3489, allocations: 91.95 kB / 0.795 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000277/0.3491, allocations: 145.9 kB / 0.7952 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.3494, allocations: 161.8 kB / 0.7953 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3494, allocations: 4 kB / 0.7953 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007245/0.3502, allocations: 416.5 kB / 0.7957 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.82e-05/0.3503, allocations: 78.52 kB / 0.7958 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.3503, allocations: 8.188 kB / 0.7958 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.3503, allocations: 4 kB / 0.7958 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.3505, allocations: 27.91 kB / 0.7958 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.3505, allocations: 4 kB / 0.7959 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004386/0.3509, allocations: 71.73 kB / 0.7959 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-05/0.351, allocations: 39.98 kB / 0.796 GB, free: 3.395 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition1,calTim.calTim.hourSampleTrigger,$whenCondition2,calTim.calTim.daySampleTrigger,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.epochLastMonth) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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.0002334/0.3513, allocations: 188.3 kB / 0.7961 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/0.3513, allocations: 27.72 kB / 0.7962 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.174e-05/0.3514, allocations: 26.36 kB / 0.7962 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.3514, allocations: 7.938 kB / 0.7962 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3514, allocations: 0 / 0.7962 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3514, allocations: 3.984 kB / 0.7962 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001959/0.3534, allocations: 0.7519 MB / 0.7969 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.3534, allocations: 3.984 kB / 0.7969 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.45e-05/0.3534, allocations: 4 kB / 0.7969 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.3534, allocations: 0 / 0.7969 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.912e-05/0.3535, allocations: 19.97 kB / 0.797 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.3535, allocations: 8 kB / 0.797 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3535, allocations: 0 / 0.797 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.3551, allocations: 482.1 kB / 0.7974 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002054/0.3553, allocations: 180.7 kB / 0.7976 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.455e-05/0.3554, allocations: 23.98 kB / 0.7976 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003854/0.3558, allocations: 35.97 kB / 0.7977 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.3558, allocations: 7.984 kB / 0.7977 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.802e-05/0.3559, allocations: 51.91 kB / 0.7977 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003006/0.3562, allocations: 223 kB / 0.7979 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3562, allocations: 0 / 0.7979 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003313/0.3565, allocations: 63.8 kB / 0.798 GB, free: 1.215 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * 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.0002186/0.3568, allocations: 127.7 kB / 0.7981 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001127/0.3579, allocations: 414.5 kB / 0.7985 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3579, allocations: 0 / 0.7985 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000665/0.3586, allocations: 128.3 kB / 0.7986 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.359, allocations: 32.61 kB / 0.7987 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.3605, allocations: 0.5873 MB / 0.7992 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004032/0.3609, allocations: 0.7477 MB / 0.8 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.634e-05/0.361, allocations: 19.42 kB / 0.8 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.361, allocations: 4 kB / 0.8 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of Templates: time 0.005981/0.367, allocations: 3.163 MB / 0.8031 GB, free: 11.93 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.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 OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlusCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlusCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlusCalcHelperMain.o] Error 1