Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009784/0.0009783, allocations: 101.4 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.001083/0.001083, allocations: 176.3 kB / 16.58 MB, free: 6.047 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.821/1.821, allocations: 205.4 MB / 222.8 MB, free: 5.625 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.817/1.817, allocations: 292.7 MB / 0.5505 GB, free: 14.56 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.000592/0.0005921, allocations: 16.97 kB / 0.6744 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3335, allocations: 116.3 MB / 0.788 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.002321/0.3359, allocations: 1.374 MB / 0.7893 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.3372, allocations: 471 kB / 0.7897 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.606e-05/0.3372, allocations: 0 / 0.7897 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.3374, allocations: 3.938 kB / 0.7897 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.3375, allocations: 23.84 kB / 0.7898 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007063/0.3382, allocations: 222.9 kB / 0.79 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003806/0.3386, allocations: 319.5 kB / 0.7903 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.3387, allocations: 21.11 kB / 0.7903 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003836/0.3391, allocations: 247.5 kB / 0.7905 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002501/0.3394, allocations: 139.7 kB / 0.7907 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.151e-05/0.3394, allocations: 8 kB / 0.7907 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.296e-05/0.3395, allocations: 12 kB / 0.7907 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001987/0.3397, allocations: 83.72 kB / 0.7908 GB, free: 9 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.3398, allocations: 81.56 kB / 0.7909 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005524/0.3404, allocations: 331.5 kB / 0.7912 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.3404, allocations: 0 / 0.7912 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.786e-06/0.3404, allocations: 0 / 0.7912 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.3404, allocations: 0 / 0.7912 GB, free: 8.59 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.001374/0.3418, allocations: 0.6837 MB / 0.7918 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.419e-05/0.3419, allocations: 8.031 kB / 0.7918 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.342, allocations: 39.58 kB / 0.7919 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003885/0.3424, allocations: 279.1 kB / 0.7922 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.687e-05/0.3425, allocations: 23.98 kB / 0.7922 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.809e-05/0.3425, allocations: 20 kB / 0.7922 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009149/0.3435, allocations: 229.4 kB / 0.7924 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.3435, allocations: 0 / 0.7924 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.062e-05/0.3435, allocations: 8 kB / 0.7924 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.525e-06/0.3435, allocations: 4 kB / 0.7924 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006786/0.3442, allocations: 119.9 kB / 0.7925 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001447/0.3457, allocations: 0.5666 MB / 0.7931 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009182/0.3466, allocations: 194.5 kB / 0.7933 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006451/0.3473, allocations: 120.8 kB / 0.7934 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-05/0.3473, allocations: 11.92 kB / 0.7934 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000859/0.3482, allocations: 231.2 kB / 0.7936 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.534e-06/0.3482, allocations: 0 / 0.7936 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.00232/0.3505, allocations: 496 kB / 0.7941 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.3506, allocations: 59.41 kB / 0.7942 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003926/0.351, allocations: 316.4 kB / 0.7945 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.412e-05/0.3511, allocations: 37.69 kB / 0.7945 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.3512, allocations: 101 kB / 0.7946 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.59e-05/0.3513, allocations: 39.48 kB / 0.7946 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.3513, allocations: 11.94 kB / 0.7946 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001846/0.3515, allocations: 322.8 kB / 0.7949 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003283/0.3518, allocations: 95.94 kB / 0.795 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003495/0.3522, allocations: 142.6 kB / 0.7952 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002472/0.3525, allocations: 174 kB / 0.7953 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3525, allocations: 0 / 0.7953 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007748/0.3532, allocations: 420.5 kB / 0.7957 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.617e-05/0.3534, allocations: 79.58 kB / 0.7958 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3534, allocations: 4 kB / 0.7958 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.3534, allocations: 4 kB / 0.7958 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.3536, allocations: 19.98 kB / 0.7958 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.3536, allocations: 7.938 kB / 0.7958 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004193/0.354, allocations: 63.8 kB / 0.7959 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.82e-05/0.3541, allocations: 43.98 kB / 0.796 GB, free: 3.375 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.0002063/0.3543, allocations: 192.3 kB / 0.7961 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.3544, allocations: 23.72 kB / 0.7962 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.906e-05/0.3544, allocations: 30.36 kB / 0.7962 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.3544, allocations: 4 kB / 0.7962 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.3544, allocations: 0 / 0.7962 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3545, allocations: 0 / 0.7962 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002134/0.3566, allocations: 0.7558 MB / 0.7969 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3566, allocations: 0 / 0.7969 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.214e-05/0.3567, allocations: 11.92 kB / 0.7969 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3567, allocations: 0 / 0.7969 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.475e-05/0.3567, allocations: 19.98 kB / 0.797 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3567, allocations: 0 / 0.797 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.3567, allocations: 3.984 kB / 0.797 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/0.3583, allocations: 482.1 kB / 0.7974 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003039/0.3586, allocations: 188.6 kB / 0.7976 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.177e-05/0.3587, allocations: 12 kB / 0.7976 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004013/0.3591, allocations: 43.95 kB / 0.7977 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.3591, allocations: 11.98 kB / 0.7977 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.638e-05/0.3592, allocations: 35.98 kB / 0.7977 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003133/0.3595, allocations: 227 kB / 0.7979 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3595, allocations: 0 / 0.7979 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003977/0.3599, allocations: 63.78 kB / 0.798 GB, free: 1.199 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.0002199/0.3602, allocations: 135.6 kB / 0.7981 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001178/0.3614, allocations: 410.6 kB / 0.7985 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.3614, allocations: 0 / 0.7985 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006771/0.3621, allocations: 132.2 kB / 0.7986 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.3625, allocations: 35 kB / 0.7987 GB, free: 480 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.3639, allocations: 0.5796 MB / 0.7992 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.3644, allocations: 0.7516 MB / 0.8 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.654e-05/0.3644, allocations: 15.42 kB / 0.8 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of SimCode: time 3.367e-06/0.3644, allocations: 4 kB / 0.8 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of Templates: time 0.005941/0.3704, allocations: 3.171 MB / 0.8031 GB, free: 11.91 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinusCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinusCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinusCalcHelperMain.o] Error 1