Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001035, allocations: 99.36 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.001572/0.001572, allocations: 178.2 kB / 16.58 MB, free: 6.422 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.448/1.448, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.561/2.561, allocations: 390.4 MB / 0.6662 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003268/0.0003268, allocations: 8 kB / 0.8154 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8588/0.8591, allocations: 142.3 MB / 0.9544 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001403/0.8606, allocations: 1.19 MB / 0.9556 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008163/0.8614, allocations: 412.9 kB / 0.956 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.038e-05/0.8615, allocations: 0 / 0.956 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.8616, allocations: 9.297 kB / 0.956 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001219/0.8617, allocations: 22.86 kB / 0.956 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007236/0.8625, allocations: 218.2 kB / 0.9562 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003278/0.8628, allocations: 247.2 kB / 0.9564 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.852e-05/0.8629, allocations: 8.547 kB / 0.9564 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003979/0.8633, allocations: 225.7 kB / 0.9566 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002752/0.8636, allocations: 137.6 kB / 0.9568 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.118e-05/0.8636, allocations: 9.625 kB / 0.9568 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.529e-05/0.8637, allocations: 10.5 kB / 0.9568 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.8638, allocations: 87.67 kB / 0.9569 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.496e-05/0.8639, allocations: 70.89 kB / 0.9569 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002642/0.8642, allocations: 205.4 kB / 0.9571 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.8642, allocations: 1.188 kB / 0.9571 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.345e-06/0.8642, allocations: 0 / 0.9571 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.8642, allocations: 0 / 0.9571 GB, free: 6.332 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000871/0.8651, allocations: 0.6598 MB / 0.9578 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.8652, allocations: 13.42 kB / 0.9578 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.76e-05/0.8653, allocations: 33.91 kB / 0.9578 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.8655, allocations: 262.9 kB / 0.9581 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.432e-05/0.8656, allocations: 13.03 kB / 0.9581 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.291e-05/0.8656, allocations: 14.34 kB / 0.9581 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000834/0.8665, allocations: 211.8 kB / 0.9583 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.8665, allocations: 1.062 kB / 0.9583 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.8665, allocations: 5.031 kB / 0.9583 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.8665, allocations: 5.078 kB / 0.9583 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006453/0.8672, allocations: 105.6 kB / 0.9584 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003101/0.8675, allocations: 313.2 kB / 0.9587 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008797/0.8684, allocations: 190.3 kB / 0.9589 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006303/0.869, allocations: 122 kB / 0.959 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.8691, allocations: 5.516 kB / 0.959 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007843/0.8699, allocations: 216.3 kB / 0.9592 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.8699, allocations: 0 / 0.9592 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002149/0.872, allocations: 484.9 kB / 0.9597 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.8721, allocations: 67.83 kB / 0.9598 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.8724, allocations: 290.5 kB / 0.96 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/0.8724, allocations: 39.22 kB / 0.9601 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.767e-05/0.8725, allocations: 90.17 kB / 0.9602 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/0.8725, allocations: 45.72 kB / 0.9602 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.8726, allocations: 7.562 kB / 0.9602 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.715e-05/0.8726, allocations: 326 kB / 0.9605 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.8728, allocations: 88.22 kB / 0.9606 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.873, allocations: 130 kB / 0.9607 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/0.8733, allocations: 150.6 kB / 0.9609 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.8733, allocations: 1.156 kB / 0.9609 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00067/0.874, allocations: 391.4 kB / 0.9613 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.072e-05/0.874, allocations: 72.83 kB / 0.9613 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.8741, allocations: 4.891 kB / 0.9613 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.8741, allocations: 3.188 kB / 0.9613 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.8743, allocations: 26.95 kB / 0.9614 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.8743, allocations: 6.188 kB / 0.9614 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004329/0.8747, allocations: 60.61 kB / 0.9614 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.856e-05/0.8748, allocations: 42.64 kB / 0.9615 GB, free: 3.074 MB / 0.7169 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.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,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.0001615/0.875, allocations: 173.1 kB / 0.9616 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.344e-05/0.875, allocations: 31.92 kB / 0.9617 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.368e-05/0.8751, allocations: 32.27 kB / 0.9617 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.8751, allocations: 2.156 kB / 0.9617 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.8751, allocations: 0 / 0.9617 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.8751, allocations: 0.9688 kB / 0.9617 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001847/0.877, allocations: 0.7116 MB / 0.9624 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.877, allocations: 0 / 0.9624 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.528e-05/0.877, allocations: 15.98 kB / 0.9624 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.877, allocations: 1 kB / 0.9624 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/0.8771, allocations: 12.95 kB / 0.9624 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.8771, allocations: 5.109 kB / 0.9624 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.8771, allocations: 0 / 0.9624 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/0.8786, allocations: 468 kB / 0.9629 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.8787, allocations: 161.5 kB / 0.963 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.13e-05/0.8788, allocations: 9.719 kB / 0.963 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004057/0.8792, allocations: 33.47 kB / 0.9631 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.8793, allocations: 15.83 kB / 0.9631 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-05/0.8793, allocations: 41.47 kB / 0.9631 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001871/0.8795, allocations: 212.1 kB / 0.9633 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8795, allocations: 0 / 0.9633 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003228/0.8799, allocations: 50.75 kB / 0.9634 GB, free: 1.766 MB / 0.7169 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.0001216/0.88, allocations: 122.8 kB / 0.9635 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001037/0.881, allocations: 394.6 kB / 0.9639 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.881, allocations: 0 / 0.9639 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006744/0.8817, allocations: 124 kB / 0.964 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.8821, allocations: 27.92 kB / 0.964 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.8834, allocations: 0.5297 MB / 0.9645 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.8836, allocations: 0.7424 MB / 0.9652 GB, free: 252 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.4e-05/0.8837, allocations: 17.55 kB / 0.9653 GB, free: 240 kB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.8837, allocations: 5.312 kB / 0.9653 GB, free: 236 kB / 0.7169 GB Notification: Performance of Templates: time 0.005706/0.8894, allocations: 2.823 MB / 0.968 GB, free: 14.79 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile make -j1 -f Buildings_9_Buildings.Utilities.Time.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_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlusCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlusCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlusCalcHelperMain.o] Error 1