Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01274/0.01274, allocations: 100.8 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003636/0.003636, allocations: 192.7 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.704/2.704, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004101/0.004101, allocations: 290.5 kB / 290.9 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 2.037/2.037, allocations: 169.2 MB / 0.4984 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003101/0.0031, allocations: 94.08 kB / 0.5951 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4073, allocations: 86.99 MB / 0.6801 GB, free: 1.168 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.00534/0.4127, allocations: 1.541 MB / 0.6816 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.4146, allocations: 448.4 kB / 0.682 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.506e-05/0.4147, allocations: 4 kB / 0.682 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001761/0.415, allocations: 3.938 kB / 0.682 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000184/0.4152, allocations: 24.22 kB / 0.682 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.4164, allocations: 230.2 kB / 0.6823 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006693/0.4171, allocations: 295.9 kB / 0.6825 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.4172, allocations: 11.98 kB / 0.6826 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005081/0.4177, allocations: 218.3 kB / 0.6828 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003678/0.4181, allocations: 127.6 kB / 0.6829 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.4182, allocations: 12 kB / 0.6829 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.512e-05/0.4183, allocations: 11.94 kB / 0.6829 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002166/0.4186, allocations: 79.78 kB / 0.683 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002891/0.4189, allocations: 119.4 kB / 0.6831 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004543/0.4194, allocations: 215.8 kB / 0.6833 GB, free: 13.87 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/0.4194, allocations: 0 / 0.6833 GB, free: 13.87 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4194, allocations: 0 / 0.6833 GB, free: 13.87 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.4194, allocations: 4 kB / 0.6833 GB, free: 13.86 MB / 494.1 MB 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.00226/0.4217, allocations: 0.7344 MB / 0.684 GB, free: 13.04 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.717e-05/0.4218, allocations: 8.031 kB / 0.684 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/0.422, allocations: 43.62 kB / 0.6841 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007721/0.4228, allocations: 262.2 kB / 0.6843 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.64e-05/0.4228, allocations: 12 kB / 0.6843 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.423, allocations: 23.97 kB / 0.6844 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.4244, allocations: 205.4 kB / 0.6846 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.4244, allocations: 0 / 0.6846 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.296e-05/0.4245, allocations: 3.938 kB / 0.6846 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.4245, allocations: 8 kB / 0.6846 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.4256, allocations: 99.91 kB / 0.6847 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009503/0.4265, allocations: 317.3 kB / 0.685 GB, free: 11.99 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/0.4281, allocations: 170.5 kB / 0.6851 GB, free: 11.81 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/0.4292, allocations: 108.8 kB / 0.6852 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.048e-05/0.4292, allocations: 4 kB / 0.6852 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001548/0.4308, allocations: 217.1 kB / 0.6854 GB, free: 11.48 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 4.588e-06/0.4308, allocations: 0 / 0.6854 GB, free: 11.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.00401/0.4348, allocations: 445 kB / 0.6859 GB, free: 11.04 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.88e-05/0.435, allocations: 59.41 kB / 0.6859 GB, free: 10.96 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005561/0.4355, allocations: 294.9 kB / 0.6862 GB, free: 10.67 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001238/0.4357, allocations: 37.7 kB / 0.6862 GB, free: 10.62 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.4358, allocations: 89.14 kB / 0.6863 GB, free: 10.54 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.4359, allocations: 47.44 kB / 0.6864 GB, free: 10.49 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002584/0.4362, allocations: 97.48 kB / 0.6865 GB, free: 10.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002081/0.4364, allocations: 322.8 kB / 0.6868 GB, free: 10.06 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003212/0.4367, allocations: 87.88 kB / 0.6869 GB, free: 9.977 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003732/0.4371, allocations: 139 kB / 0.687 GB, free: 9.82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005549/0.4377, allocations: 238.5 kB / 0.6872 GB, free: 9.555 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.4377, allocations: 0 / 0.6872 GB, free: 9.555 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001149/0.4389, allocations: 394.6 kB / 0.6876 GB, free: 9.152 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001158/0.439, allocations: 75.38 kB / 0.6877 GB, free: 9.066 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.439, allocations: 4 kB / 0.6877 GB, free: 9.062 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.4391, allocations: 0 / 0.6877 GB, free: 9.062 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002951/0.4394, allocations: 27.92 kB / 0.6877 GB, free: 9.035 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/0.4394, allocations: 4 kB / 0.6877 GB, free: 9.031 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007212/0.4401, allocations: 67.83 kB / 0.6878 GB, free: 8.965 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.4402, allocations: 39.98 kB / 0.6878 GB, free: 8.926 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004664/0.4407, allocations: 168.6 kB / 0.688 GB, free: 8.754 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.322e-05/0.4408, allocations: 23.72 kB / 0.688 GB, free: 8.73 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.4409, allocations: 30.3 kB / 0.688 GB, free: 8.695 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.441, allocations: 0 / 0.688 GB, free: 8.695 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/0.441, allocations: 0 / 0.688 GB, free: 8.695 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.537e-06/0.441, allocations: 7.938 kB / 0.688 GB, free: 8.688 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003545/0.4446, allocations: 0.6913 MB / 0.6887 GB, free: 7.941 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/0.4446, allocations: 3.938 kB / 0.6887 GB, free: 7.938 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.69e-05/0.4447, allocations: 8 kB / 0.6887 GB, free: 7.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-05/0.4447, allocations: 11.88 kB / 0.6887 GB, free: 7.918 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.273e-05/0.4448, allocations: 15.97 kB / 0.6887 GB, free: 7.902 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.007e-05/0.4448, allocations: 4 kB / 0.6887 GB, free: 7.898 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.4448, allocations: 3.938 kB / 0.6887 GB, free: 7.895 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004075/0.4489, allocations: 443 kB / 0.6892 GB, free: 7.445 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004847/0.4494, allocations: 160.7 kB / 0.6893 GB, free: 7.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.4496, allocations: 11.94 kB / 0.6893 GB, free: 7.258 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007908/0.4504, allocations: 35.95 kB / 0.6894 GB, free: 7.223 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.495e-05/0.4505, allocations: 4 kB / 0.6894 GB, free: 7.219 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/0.4506, allocations: 43.97 kB / 0.6894 GB, free: 7.176 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004386/0.451, allocations: 217.9 kB / 0.6896 GB, free: 6.965 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.4511, allocations: 3.938 kB / 0.6896 GB, free: 6.961 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008327/0.4519, allocations: 44 kB / 0.6897 GB, free: 6.918 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003193/0.4522, allocations: 111.2 kB / 0.6898 GB, free: 6.797 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002126/0.4544, allocations: 388.3 kB / 0.6901 GB, free: 6.395 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.4544, allocations: 0 / 0.6901 GB, free: 6.395 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001227/0.4556, allocations: 111.9 kB / 0.6902 GB, free: 6.285 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007191/0.4564, allocations: 26.34 kB / 0.6903 GB, free: 6.262 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002962/0.4594, allocations: 0.5378 MB / 0.6908 GB, free: 5.695 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001235/0.4606, allocations: 0.7443 MB / 0.6915 GB, free: 4.926 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.92e-05/0.4607, allocations: 15.44 kB / 0.6915 GB, free: 4.91 MB / 494.1 MB Notification: Performance of SimCode: time 2.234e-06/0.4608, allocations: 0 / 0.6915 GB, free: 4.91 MB / 494.1 MB Notification: Performance of Templates: time 0.01363/0.4744, allocations: 2.826 MB / 0.6943 GB, free: 2.105 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsCalcHelperMain.o] Error 1