Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.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 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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009634/0.0009636, allocations: 99.67 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.001131/0.001131, allocations: 175.1 kB / 16.58 MB, free: 6.422 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.791/1.791, allocations: 205.4 MB / 222.7 MB, free: 5.867 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.876/1.876, allocations: 292.7 MB / 0.5505 GB, free: 14.52 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.0005643/0.0005644, allocations: 17.47 kB / 0.6744 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3317, allocations: 116.3 MB / 0.788 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.002091/0.3338, allocations: 1.367 MB / 0.7893 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.335, allocations: 474.1 kB / 0.7897 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.396e-05/0.3351, allocations: 0 / 0.7897 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.596e-05/0.3352, allocations: 3.938 kB / 0.7897 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001302/0.3353, allocations: 27.84 kB / 0.7898 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007035/0.336, allocations: 226.2 kB / 0.79 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003786/0.3364, allocations: 315.5 kB / 0.7903 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.3365, allocations: 29.09 kB / 0.7903 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003746/0.3369, allocations: 243.5 kB / 0.7906 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002549/0.3372, allocations: 143.7 kB / 0.7907 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.073e-05/0.3372, allocations: 8 kB / 0.7907 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.764e-05/0.3373, allocations: 12 kB / 0.7907 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.3374, allocations: 79.78 kB / 0.7908 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.3375, allocations: 73.58 kB / 0.7909 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003421/0.3379, allocations: 331.5 kB / 0.7912 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.3379, allocations: 0 / 0.7912 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.396e-06/0.3379, allocations: 3.984 kB / 0.7912 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.485e-06/0.3379, allocations: 7.938 kB / 0.7912 GB, free: 8.57 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.001102/0.339, allocations: 0.6837 MB / 0.7918 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.3391, allocations: 8.031 kB / 0.7919 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.3392, allocations: 39.58 kB / 0.7919 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/0.3396, allocations: 275 kB / 0.7922 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.591e-05/0.3396, allocations: 19.98 kB / 0.7922 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.815e-05/0.3397, allocations: 16 kB / 0.7922 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008942/0.3406, allocations: 245.3 kB / 0.7924 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.3406, allocations: 0 / 0.7924 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.3407, allocations: 4 kB / 0.7924 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.3407, allocations: 4 kB / 0.7924 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006826/0.3414, allocations: 123.9 kB / 0.7925 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.3426, allocations: 0.555 MB / 0.7931 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009018/0.3435, allocations: 198.5 kB / 0.7933 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006451/0.3441, allocations: 120.8 kB / 0.7934 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.3442, allocations: 4 kB / 0.7934 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008507/0.345, allocations: 231.2 kB / 0.7936 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.763e-06/0.345, allocations: 0 / 0.7936 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002257/0.3473, allocations: 497 kB / 0.7941 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.508e-05/0.3474, allocations: 67.39 kB / 0.7942 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003793/0.3478, allocations: 308.5 kB / 0.7945 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.924e-05/0.3478, allocations: 37.7 kB / 0.7945 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.348, allocations: 105 kB / 0.7946 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.741e-05/0.348, allocations: 35.55 kB / 0.7946 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/0.348, allocations: 8 kB / 0.7946 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001927/0.3482, allocations: 326.8 kB / 0.7949 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.3485, allocations: 91.94 kB / 0.795 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.3487, allocations: 142.6 kB / 0.7952 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002596/0.349, allocations: 171.3 kB / 0.7953 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.349, allocations: 4 kB / 0.7953 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007211/0.3497, allocations: 419.3 kB / 0.7957 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.633e-05/0.3498, allocations: 75.39 kB / 0.7958 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.3499, allocations: 4 kB / 0.7958 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.3499, allocations: 4.188 kB / 0.7958 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.3501, allocations: 23.92 kB / 0.7958 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.679e-05/0.3501, allocations: 11.98 kB / 0.7958 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004334/0.3505, allocations: 59.81 kB / 0.7959 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.342e-05/0.3506, allocations: 47.97 kB / 0.7959 GB, free: 3.363 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.0002415/0.3509, allocations: 192.3 kB / 0.7961 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.311e-05/0.3509, allocations: 23.72 kB / 0.7962 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.762e-05/0.351, allocations: 30.36 kB / 0.7962 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.351, allocations: 11.88 kB / 0.7962 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.351, allocations: 0 / 0.7962 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.351, allocations: 0 / 0.7962 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/0.353, allocations: 0.7626 MB / 0.7969 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.353, allocations: 0 / 0.7969 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.277e-05/0.353, allocations: 7.984 kB / 0.7969 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3531, allocations: 0 / 0.7969 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.363e-05/0.3531, allocations: 11.98 kB / 0.797 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.3531, allocations: 7.984 kB / 0.797 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3531, allocations: 0 / 0.797 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/0.3547, allocations: 478.8 kB / 0.7974 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002386/0.3549, allocations: 188.7 kB / 0.7976 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.678e-05/0.355, allocations: 19.98 kB / 0.7976 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003925/0.3554, allocations: 31.97 kB / 0.7977 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.443e-05/0.3554, allocations: 11.98 kB / 0.7977 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.895e-05/0.3555, allocations: 43.98 kB / 0.7977 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002556/0.3558, allocations: 227 kB / 0.7979 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3558, allocations: 0 / 0.7979 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003674/0.3562, allocations: 63.78 kB / 0.798 GB, free: 1.18 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.000277/0.3564, allocations: 131.7 kB / 0.7981 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001203/0.3577, allocations: 410.5 kB / 0.7985 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.3577, allocations: 0 / 0.7985 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006711/0.3583, allocations: 132.2 kB / 0.7986 GB, free: 496 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.3588, allocations: 31.86 kB / 0.7987 GB, free: 468 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.3604, allocations: 0.5834 MB / 0.7992 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004827/0.3609, allocations: 0.7477 MB / 0.8 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.857e-05/0.3609, allocations: 23.42 kB / 0.8 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of SimCode: time 8.22e-07/0.3609, allocations: 0 / 0.8 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of Templates: time 0.007369/0.3683, allocations: 3.171 MB / 0.8031 GB, free: 11.89 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.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 OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsCalcHelperMain.o] Error 1