Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, 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.001457/0.001457, allocations: 176 kB / 16.58 MB, free: 6.859 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.464/1.464, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.835/2.835, allocations: 436.7 MB / 0.7113 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004261/0.0004261, allocations: 11.98 kB / 0.8717 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8527/0.8532, allocations: 153.7 MB / 1.022 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.001975/0.8552, allocations: 1.361 MB / 1.023 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.8563, allocations: 480.9 kB / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.5e-05/0.8563, allocations: 0 / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.815e-05/0.8564, allocations: 3.938 kB / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.8566, allocations: 23.84 kB / 1.024 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006575/0.8572, allocations: 226.4 kB / 1.024 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003435/0.8576, allocations: 315.5 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.8577, allocations: 33.08 kB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003708/0.8581, allocations: 235.5 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.8583, allocations: 139.7 kB / 1.024 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.941e-05/0.8584, allocations: 12 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.029e-05/0.8585, allocations: 12 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.8586, allocations: 83.72 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.581e-05/0.8587, allocations: 73.58 kB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003293/0.859, allocations: 329.2 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.477e-06/0.859, allocations: 7.984 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.214e-06/0.859, allocations: 0 / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.8591, allocations: 0 / 1.025 GB, free: 13.75 MB / 0.7794 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.001111/0.8602, allocations: 0.6837 MB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.8602, allocations: 11.97 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.791e-05/0.8603, allocations: 35.62 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/0.8607, allocations: 275 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.458e-05/0.8607, allocations: 19.98 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.553e-05/0.8608, allocations: 20 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008843/0.8617, allocations: 233.4 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.8617, allocations: 0 / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/0.8617, allocations: 4 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.8618, allocations: 3.953 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006843/0.8625, allocations: 129.7 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.8635, allocations: 0.563 MB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009134/0.8645, allocations: 198.5 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006336/0.8651, allocations: 128.7 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.8651, allocations: 4 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008532/0.866, allocations: 225.7 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.866, allocations: 4 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002167/0.8682, allocations: 489 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.8682, allocations: 63.39 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003282/0.8686, allocations: 312.5 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.987e-05/0.8686, allocations: 41.64 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.854e-05/0.8687, allocations: 101 kB / 1.028 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.517e-05/0.8688, allocations: 47.44 kB / 1.028 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.8688, allocations: 8 kB / 1.028 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.8689, allocations: 326.8 kB / 1.029 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.8692, allocations: 95.94 kB / 1.029 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.8694, allocations: 149.9 kB / 1.029 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/0.8696, allocations: 163.4 kB / 1.029 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.8696, allocations: 4 kB / 1.029 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007253/0.8704, allocations: 414.2 kB / 1.03 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.877e-05/0.8705, allocations: 79.39 kB / 1.03 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.8705, allocations: 8.188 kB / 1.03 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.8705, allocations: 3.984 kB / 1.03 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.8707, allocations: 23.92 kB / 1.03 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/0.8707, allocations: 7.984 kB / 1.03 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005399/0.8713, allocations: 63.81 kB / 1.03 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.608e-05/0.8714, allocations: 39.98 kB / 1.03 GB, free: 8.535 MB / 0.7794 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.0002125/0.8716, allocations: 192.3 kB / 1.03 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.31e-05/0.8716, allocations: 31.58 kB / 1.03 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.699e-05/0.8717, allocations: 30.36 kB / 1.03 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.8717, allocations: 4 kB / 1.03 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.8717, allocations: 0 / 1.03 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.8717, allocations: 3.938 kB / 1.03 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/0.8736, allocations: 0.7481 MB / 1.031 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.8736, allocations: 0 / 1.031 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.946e-05/0.8736, allocations: 11.92 kB / 1.031 GB, free: 7.453 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.8736, allocations: 0 / 1.031 GB, free: 7.453 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.325e-05/0.8737, allocations: 15.98 kB / 1.031 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.8737, allocations: 7.984 kB / 1.031 GB, free: 7.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.8737, allocations: 0 / 1.031 GB, free: 7.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001466/0.8752, allocations: 477.5 kB / 1.031 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002067/0.8754, allocations: 188.6 kB / 1.031 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.475e-05/0.8755, allocations: 23.98 kB / 1.031 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003937/0.8759, allocations: 35.97 kB / 1.031 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.964e-05/0.8759, allocations: 7.984 kB / 1.031 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.522e-05/0.876, allocations: 43.98 kB / 1.032 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002052/0.8762, allocations: 227 kB / 1.032 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8762, allocations: 0 / 1.032 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003353/0.8765, allocations: 55.94 kB / 1.032 GB, free: 6.359 MB / 0.7794 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.0001912/0.8767, allocations: 131.2 kB / 1.032 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001085/0.8778, allocations: 410.5 kB / 1.032 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.8778, allocations: 0 / 1.032 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006865/0.8785, allocations: 132.3 kB / 1.032 GB, free: 5.668 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.8789, allocations: 34.27 kB / 1.032 GB, free: 5.637 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.8804, allocations: 0.5754 MB / 1.033 GB, free: 5.023 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.8807, allocations: 0.7477 MB / 1.034 GB, free: 4.25 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.756e-05/0.8808, allocations: 23.36 kB / 1.034 GB, free: 4.227 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.8808, allocations: 4 kB / 1.034 GB, free: 4.223 MB / 0.7794 GB Notification: Performance of Templates: time 0.005401/0.8862, allocations: 3.167 MB / 1.037 GB, free: 1.078 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinusCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinusCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinusCalcHelperMain.o] Error 1