Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 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.CalendarTimeMonths,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.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,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.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007591/0.0007591, 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.0009077/0.0009078, allocations: 176.4 kB / 16.58 MB, free: 6.402 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.435/1.435, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.735/2.735, allocations: 436.7 MB / 0.7113 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.000384, allocations: 8 kB / 0.8717 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.736/0.7364, allocations: 153.7 MB / 1.022 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.001784/0.7382, allocations: 1.364 MB / 1.023 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008783/0.7391, allocations: 467.1 kB / 1.024 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.21e-05/0.7392, allocations: 0 / 1.024 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.455e-05/0.7393, allocations: 7.922 kB / 1.024 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.7394, allocations: 23.84 kB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005893/0.74, allocations: 226.8 kB / 1.024 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003249/0.7403, allocations: 319.5 kB / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.594e-05/0.7404, allocations: 25.09 kB / 1.024 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003394/0.7408, allocations: 235.5 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002214/0.741, allocations: 143.7 kB / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.602e-05/0.741, allocations: 8 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.806e-05/0.7411, allocations: 16 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.7412, allocations: 83.77 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.075e-05/0.7413, allocations: 81.52 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003011/0.7416, allocations: 325.2 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.7416, allocations: 3.938 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.754e-06/0.7416, allocations: 0 / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.7416, allocations: 0 / 1.025 GB, free: 13.86 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.000903/0.7425, allocations: 0.6798 MB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.7426, allocations: 12.03 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.102e-05/0.7427, allocations: 39.61 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00033/0.743, allocations: 275.1 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.574e-05/0.7431, allocations: 16 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.854e-05/0.7432, allocations: 23.98 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008799/0.744, allocations: 238.9 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.7441, allocations: 0 / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.7441, allocations: 0 / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.7441, allocations: 7.953 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006747/0.7448, allocations: 119.9 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.7459, allocations: 0.5668 MB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000924/0.7468, allocations: 198.5 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00067/0.7475, allocations: 124.8 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.7475, allocations: 4 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008835/0.7484, allocations: 227.2 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.974e-06/0.7484, allocations: 0 / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002193/0.7506, allocations: 496.9 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.7507, allocations: 63.41 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003169/0.751, allocations: 316.5 kB / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.364e-05/0.7511, allocations: 33.7 kB / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.589e-05/0.7512, allocations: 109 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/0.7512, allocations: 39.44 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.91e-05/0.7513, allocations: 8 kB / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.7514, allocations: 330.8 kB / 1.029 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.7516, allocations: 91.94 kB / 1.029 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/0.7518, allocations: 153.9 kB / 1.029 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/0.7521, allocations: 169 kB / 1.029 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.7521, allocations: 0 / 1.029 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000658/0.7527, allocations: 415.4 kB / 1.03 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.752e-05/0.7528, allocations: 83.38 kB / 1.03 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.7529, allocations: 0 / 1.03 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.7529, allocations: 7.984 kB / 1.03 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.753, allocations: 19.92 kB / 1.03 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.753, allocations: 4 kB / 1.03 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004306/0.7535, allocations: 67.98 kB / 1.03 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.618e-05/0.7536, allocations: 47.92 kB / 1.03 GB, free: 8.633 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.000201/0.7538, allocations: 184.3 kB / 1.03 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.7538, allocations: 35.56 kB / 1.03 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.292e-05/0.7539, allocations: 26.36 kB / 1.03 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.7539, allocations: 8 kB / 1.03 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.7539, allocations: 0 / 1.03 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.7539, allocations: 0 / 1.03 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/0.7558, allocations: 0.7481 MB / 1.031 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.7558, allocations: 0 / 1.031 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.656e-05/0.7558, allocations: 8 kB / 1.031 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.7559, allocations: 0 / 1.031 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.172e-05/0.7559, allocations: 23.97 kB / 1.031 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.7559, allocations: 0 / 1.031 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.7559, allocations: 0 / 1.031 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/0.7574, allocations: 482.8 kB / 1.031 GB, free: 7.051 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002097/0.7576, allocations: 192.6 kB / 1.031 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.914e-05/0.7577, allocations: 12 kB / 1.031 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000396/0.7581, allocations: 35.97 kB / 1.031 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.7582, allocations: 11.98 kB / 1.031 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.268e-05/0.7582, allocations: 43.97 kB / 1.032 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002104/0.7584, allocations: 227 kB / 1.032 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7584, allocations: 0 / 1.032 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003346/0.7588, allocations: 55.92 kB / 1.032 GB, free: 6.465 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.000168/0.759, allocations: 127.2 kB / 1.032 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001057/0.76, allocations: 416.8 kB / 1.032 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.76, allocations: 0 / 1.032 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006718/0.7607, allocations: 131.8 kB / 1.032 GB, free: 5.773 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.7611, allocations: 38.39 kB / 1.032 GB, free: 5.738 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.7624, allocations: 0.5715 MB / 1.033 GB, free: 5.129 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.7627, allocations: 0.7516 MB / 1.034 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.332e-05/0.7627, allocations: 19.44 kB / 1.034 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.7628, allocations: 0 / 1.034 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of Templates: time 0.004854/0.7676, allocations: 3.169 MB / 1.037 GB, free: 1.184 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsCalcHelperMain.o] Error 1