Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Examples.CalendarTime.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.Examples.CalendarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calendarTime2016.year|calendarTime2016.month|calendarTime2016.day|calendarTime2016.hour|calendarTime2016.minute",fileNamePrefix="Buildings_9_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calendarTime2016.year|calendarTime2016.month|calendarTime2016.day|calendarTime2016.hour|calendarTime2016.minute",fileNamePrefix="Buildings_9_Buildings.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 99.12 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.001302/0.001302, allocations: 178.1 kB / 16.58 MB, free: 6.879 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.491/1.491, allocations: 223.2 MB / 240.6 MB, free: 5.395 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.685/2.685, allocations: 390.5 MB / 0.6662 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003944/0.0003949, allocations: 11.94 kB / 0.8154 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8913/0.8917, allocations: 142.3 MB / 0.9544 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.001574/0.8933, allocations: 1.174 MB / 0.9555 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008869/0.8942, allocations: 420.6 kB / 0.9559 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.556e-05/0.8943, allocations: 0 / 0.9559 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.225e-05/0.8944, allocations: 9.391 kB / 0.956 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.8945, allocations: 19.22 kB / 0.956 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006469/0.8951, allocations: 215.5 kB / 0.9562 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003021/0.8954, allocations: 252.7 kB / 0.9564 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.728e-05/0.8955, allocations: 8.875 kB / 0.9564 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003941/0.8959, allocations: 221 kB / 0.9566 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002488/0.8962, allocations: 137.4 kB / 0.9568 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.524e-05/0.8962, allocations: 10.09 kB / 0.9568 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.269e-05/0.8963, allocations: 9.906 kB / 0.9568 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.8964, allocations: 84.19 kB / 0.9569 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.206e-05/0.8965, allocations: 70.3 kB / 0.9569 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.8968, allocations: 206.5 kB / 0.9571 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.8968, allocations: 0 / 0.9571 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.854e-06/0.8968, allocations: 3.938 kB / 0.9571 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.8968, allocations: 4 kB / 0.9571 GB, free: 6.18 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.0008546/0.8977, allocations: 0.6658 MB / 0.9578 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.8977, allocations: 8.625 kB / 0.9578 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.229e-05/0.8978, allocations: 30.47 kB / 0.9578 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.8981, allocations: 254.7 kB / 0.9581 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.576e-05/0.8982, allocations: 12.22 kB / 0.9581 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.207e-05/0.8982, allocations: 22.98 kB / 0.9581 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008375/0.8991, allocations: 207.8 kB / 0.9583 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.8991, allocations: 1.812 kB / 0.9583 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.284e-05/0.8991, allocations: 0 / 0.9583 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.8991, allocations: 5.203 kB / 0.9583 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006499/0.8998, allocations: 110.1 kB / 0.9584 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000327/0.9001, allocations: 317 kB / 0.9587 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009174/0.901, allocations: 185.1 kB / 0.9589 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000646/0.9017, allocations: 117.7 kB / 0.959 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.571e-05/0.9017, allocations: 10.72 kB / 0.959 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008054/0.9026, allocations: 219.3 kB / 0.9592 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.804e-06/0.9026, allocations: 0 / 0.9592 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002153/0.9047, allocations: 488.4 kB / 0.9597 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.9048, allocations: 63.33 kB / 0.9598 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003065/0.9051, allocations: 290.5 kB / 0.96 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.144e-05/0.9051, allocations: 42.84 kB / 0.9601 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.495e-05/0.9052, allocations: 90.11 kB / 0.9602 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.052e-05/0.9053, allocations: 37.73 kB / 0.9602 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.9053, allocations: 8.312 kB / 0.9602 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.677e-05/0.9054, allocations: 321.7 kB / 0.9605 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.9056, allocations: 88.66 kB / 0.9606 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.9058, allocations: 133.8 kB / 0.9607 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/0.906, allocations: 148.8 kB / 0.9609 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.906, allocations: 1.031 kB / 0.9609 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006742/0.9067, allocations: 399.8 kB / 0.9612 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.653e-05/0.9068, allocations: 80.16 kB / 0.9613 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.9068, allocations: 2.156 kB / 0.9613 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.9068, allocations: 3.25 kB / 0.9613 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.907, allocations: 25.8 kB / 0.9614 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.907, allocations: 3 kB / 0.9614 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000423/0.9074, allocations: 68.33 kB / 0.9614 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.996e-05/0.9075, allocations: 43.17 kB / 0.9615 GB, free: 2.918 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.calendarTime2016.firstHourSampling,calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.firstDaySampling,$whenCondition1,calendarTime2016.daySampleTrigger,$whenCondition2,calendarTime2016.hourSampleTrigger,$PRE.calendarTime2016.year,calendarTime2016.year,$PRE.calendarTime2016.month,calendarTime2016.month,$PRE.calendarTime2016.day,calendarTime2016.day,$PRE.calendarTime2016.hour,calendarTime2016.hour,$PRE.calendarTime2016.weekDay,calendarTime2016.weekDay,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.yearIndex,calendarTime2016.yearIndex,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.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.0001671/0.9077, allocations: 174.8 kB / 0.9616 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.431e-05/0.9077, allocations: 27.47 kB / 0.9617 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.552e-05/0.9078, allocations: 28.7 kB / 0.9617 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.9078, allocations: 1.188 kB / 0.9617 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.9078, allocations: 5.219 kB / 0.9617 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.9078, allocations: 4 kB / 0.9617 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/0.9097, allocations: 0.7079 MB / 0.9624 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.9097, allocations: 1.156 kB / 0.9624 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.435e-05/0.9098, allocations: 7.266 kB / 0.9624 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.9098, allocations: 1.031 kB / 0.9624 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.453e-05/0.9098, allocations: 21.19 kB / 0.9624 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.9098, allocations: 0 / 0.9624 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.9098, allocations: 4.969 kB / 0.9624 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001435/0.9113, allocations: 467.7 kB / 0.9629 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/0.9114, allocations: 156.9 kB / 0.963 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.214e-05/0.9115, allocations: 13.44 kB / 0.963 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003875/0.9119, allocations: 36.44 kB / 0.9631 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.9119, allocations: 8.109 kB / 0.9631 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-05/0.912, allocations: 45.91 kB / 0.9631 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001916/0.9122, allocations: 207.7 kB / 0.9633 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9122, allocations: 0 / 0.9633 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003144/0.9125, allocations: 50.25 kB / 0.9634 GB, free: 1.617 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 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.yearIndex,calendarTime2016.year,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.firstHourSampling,calendarTime2016.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.0001424/0.9127, allocations: 130.7 kB / 0.9635 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001036/0.9137, allocations: 392.4 kB / 0.9639 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.9137, allocations: 384 / 0.9639 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006407/0.9144, allocations: 124.6 kB / 0.964 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.9148, allocations: 32.53 kB / 0.964 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.9161, allocations: 0.5329 MB / 0.9645 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.9163, allocations: 0.7385 MB / 0.9652 GB, free: 88 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.765e-05/0.9163, allocations: 18.12 kB / 0.9653 GB, free: 76 kB / 0.7169 GB Notification: Performance of SimCode: time 2.7e-07/0.9163, allocations: 0 / 0.9653 GB, free: 76 kB / 0.7169 GB Notification: Performance of Templates: time 0.005789/0.9221, allocations: 2.851 MB / 0.968 GB, free: 14.61 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Examples.CalendarTime.makefile make -j1 -f Buildings_9_Buildings.Utilities.Time.Examples.CalendarTime.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.Examples.CalendarTimeCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.Time.Examples.CalendarTimeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Utilities.Time.Examples.CalendarTimeCalcHelperMain.o] Error 1