Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.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.Controls.OBC.CDL.Continuous.Sources.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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008753/0.0008753, allocations: 101.7 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.001167/0.001167, allocations: 177.6 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.554/1.554, allocations: 223.2 MB / 240.6 MB, free: 5.445 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.662/2.662, allocations: 390.4 MB / 0.6662 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003676, allocations: 16 kB / 0.8155 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8292/0.8296, allocations: 142.3 MB / 0.9544 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.002182/0.8319, allocations: 1.355 MB / 0.9558 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.8331, allocations: 473.3 kB / 0.9562 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.724e-05/0.8332, allocations: 1.031 kB / 0.9562 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.8333, allocations: 7.922 kB / 0.9562 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001523/0.8335, allocations: 28.16 kB / 0.9563 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007026/0.8342, allocations: 214.8 kB / 0.9565 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003939/0.8346, allocations: 324.2 kB / 0.9568 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001792/0.8348, allocations: 29.73 kB / 0.9568 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000452/0.8352, allocations: 228 kB / 0.957 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002358/0.8355, allocations: 143.3 kB / 0.9572 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.093e-05/0.8356, allocations: 10.31 kB / 0.9572 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.166e-05/0.8356, allocations: 9.969 kB / 0.9572 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.8357, allocations: 84.86 kB / 0.9573 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.717e-05/0.8358, allocations: 75.33 kB / 0.9573 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.8361, allocations: 328.3 kB / 0.9576 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.8361, allocations: 0 / 0.9576 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.344e-06/0.8362, allocations: 4 kB / 0.9576 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.8362, allocations: 0 / 0.9576 GB, free: 5.852 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009039/0.8371, allocations: 0.69 MB / 0.9583 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.8371, allocations: 10.22 kB / 0.9583 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.995e-05/0.8372, allocations: 38.64 kB / 0.9584 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.8375, allocations: 274.5 kB / 0.9586 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.253e-05/0.8376, allocations: 13.75 kB / 0.9586 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.016e-05/0.8377, allocations: 28.73 kB / 0.9587 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008675/0.8385, allocations: 240.1 kB / 0.9589 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.8386, allocations: 0 / 0.9589 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.8386, allocations: 1.844 kB / 0.9589 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.8386, allocations: 5.875 kB / 0.9589 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000688/0.8393, allocations: 116 kB / 0.959 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000988/0.8403, allocations: 0.5685 MB / 0.9596 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008914/0.8412, allocations: 200.6 kB / 0.9598 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006431/0.8419, allocations: 127 kB / 0.9599 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.8419, allocations: 2.75 kB / 0.9599 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008108/0.8427, allocations: 222.3 kB / 0.9601 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.803e-06/0.8427, allocations: 0 / 0.9601 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002331/0.8451, allocations: 0.4887 MB / 0.9606 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.8451, allocations: 60.41 kB / 0.9606 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000308/0.8454, allocations: 312.7 kB / 0.9609 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.264e-05/0.8455, allocations: 39.91 kB / 0.961 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.453e-05/0.8455, allocations: 103 kB / 0.9611 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.8456, allocations: 38.03 kB / 0.9611 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/0.8456, allocations: 11.44 kB / 0.9611 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.748e-05/0.8457, allocations: 326.4 kB / 0.9614 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/0.8459, allocations: 91.72 kB / 0.9615 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.8461, allocations: 146 kB / 0.9616 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.8463, allocations: 172.8 kB / 0.9618 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.8463, allocations: 0.875 kB / 0.9618 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006664/0.847, allocations: 412.3 kB / 0.9622 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.796e-05/0.8471, allocations: 81.44 kB / 0.9623 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.8471, allocations: 2.5 kB / 0.9623 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.8471, allocations: 14.52 kB / 0.9623 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.8473, allocations: 22.77 kB / 0.9623 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.8473, allocations: 2.156 kB / 0.9623 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004487/0.8478, allocations: 64.52 kB / 0.9624 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.641e-05/0.8479, allocations: 42.2 kB / 0.9624 GB, free: 2.246 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.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.0002121/0.8481, allocations: 195.7 kB / 0.9626 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.997e-05/0.8481, allocations: 23.53 kB / 0.9626 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.319e-05/0.8482, allocations: 33.52 kB / 0.9627 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.8482, allocations: 1.469 kB / 0.9627 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.8482, allocations: 3.953 kB / 0.9627 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.8482, allocations: 1.406 kB / 0.9627 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/0.8501, allocations: 0.7559 MB / 0.9634 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.8501, allocations: 3.938 kB / 0.9634 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.29e-05/0.8501, allocations: 7.969 kB / 0.9634 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.788e-06/0.8502, allocations: 3.953 kB / 0.9634 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.131e-05/0.8502, allocations: 17.44 kB / 0.9634 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.8502, allocations: 0 / 0.9634 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.8502, allocations: 3.781 kB / 0.9634 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/0.8517, allocations: 478.2 kB / 0.9639 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001801/0.8519, allocations: 188.2 kB / 0.9641 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.195e-05/0.852, allocations: 19.55 kB / 0.9641 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004046/0.8524, allocations: 36.61 kB / 0.9641 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.8524, allocations: 8.156 kB / 0.9641 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.434e-05/0.8525, allocations: 46.34 kB / 0.9642 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002087/0.8527, allocations: 226.8 kB / 0.9644 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8527, allocations: 0.9688 kB / 0.9644 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003669/0.8531, allocations: 56.17 kB / 0.9645 GB, free: 0.8398 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.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.0001693/0.8533, allocations: 121.5 kB / 0.9646 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001045/0.8543, allocations: 414.3 kB / 0.965 GB, free: 496 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.8543, allocations: 0 / 0.965 GB, free: 496 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007326/0.8551, allocations: 138.8 kB / 0.9651 GB, free: 444 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.8555, allocations: 28.84 kB / 0.9651 GB, free: 428 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.8569, allocations: 0.581 MB / 0.9657 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.8573, allocations: 0.7473 MB / 0.9664 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.229e-05/0.8574, allocations: 18.62 kB / 0.9664 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of SimCode: time 3.3e-07/0.8574, allocations: 0 / 0.9664 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of Templates: time 0.006162/0.8635, allocations: 3.186 MB / 0.9696 GB, free: 13.63 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlusCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlusCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlusCalcHelperMain.o] Error 1