Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.00111/0.00111, allocations: 98.64 kB / 16.02 MB, free: 76 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.001642/0.001642, allocations: 182.2 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.918/1.918, allocations: 205.4 MB / 223.1 MB, free: 5.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.959/1.959, allocations: 292.7 MB / 0.5509 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006017/0.0006021, allocations: 15.38 kB / 0.675 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3155, allocations: 116.3 MB / 0.7886 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.002057/0.3176, allocations: 1.394 MB / 0.7899 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.3189, allocations: 0.4993 MB / 0.7904 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.036e-05/0.3189, allocations: 0 / 0.7904 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.987e-05/0.319, allocations: 3.938 kB / 0.7904 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001256/0.3192, allocations: 24.22 kB / 0.7904 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00068/0.3199, allocations: 267.2 kB / 0.7907 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000379/0.3203, allocations: 363.8 kB / 0.791 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.3204, allocations: 29.09 kB / 0.7911 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00031/0.3207, allocations: 234.2 kB / 0.7913 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002283/0.3209, allocations: 131.5 kB / 0.7914 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.956e-05/0.321, allocations: 12 kB / 0.7914 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.081e-05/0.3211, allocations: 12 kB / 0.7914 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.3212, allocations: 79.72 kB / 0.7915 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000187/0.3214, allocations: 165 kB / 0.7917 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003261/0.3217, allocations: 327.4 kB / 0.792 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3217, allocations: 0 / 0.792 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.765e-06/0.3217, allocations: 0 / 0.792 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.3217, allocations: 0 / 0.792 GB, free: 8.031 MB / 0.6075 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.001023/0.3228, allocations: 0.6875 MB / 0.7927 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.3228, allocations: 12.03 kB / 0.7927 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.3229, allocations: 35.62 kB / 0.7927 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003306/0.3233, allocations: 278.9 kB / 0.793 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.976e-05/0.3234, allocations: 23.98 kB / 0.793 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.388e-05/0.3234, allocations: 16 kB / 0.793 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009858/0.3244, allocations: 241.3 kB / 0.7932 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.3244, allocations: 0 / 0.7932 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.319e-05/0.3245, allocations: 8 kB / 0.7932 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.3245, allocations: 0 / 0.7932 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007734/0.3253, allocations: 123.9 kB / 0.7934 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.3264, allocations: 0.5705 MB / 0.7939 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.3275, allocations: 190.5 kB / 0.7941 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000736/0.3282, allocations: 128.7 kB / 0.7942 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.3282, allocations: 7.938 kB / 0.7942 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009114/0.3292, allocations: 231.1 kB / 0.7945 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.813e-06/0.3292, allocations: 4 kB / 0.7945 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002484/0.3317, allocations: 489 kB / 0.7949 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.3317, allocations: 63.39 kB / 0.795 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003375/0.3321, allocations: 320.4 kB / 0.7953 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.415e-05/0.3321, allocations: 41.7 kB / 0.7953 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.18e-05/0.3322, allocations: 101 kB / 0.7954 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.3323, allocations: 31.61 kB / 0.7955 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.045e-05/0.3324, allocations: 37.69 kB / 0.7955 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3325, allocations: 322.8 kB / 0.7958 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002046/0.3327, allocations: 91.95 kB / 0.7959 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.3329, allocations: 154.6 kB / 0.796 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003286/0.3333, allocations: 251.8 kB / 0.7963 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.3333, allocations: 7.938 kB / 0.7963 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006673/0.334, allocations: 424.6 kB / 0.7967 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.617e-05/0.3341, allocations: 75.39 kB / 0.7968 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3341, allocations: 0 / 0.7968 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.3341, allocations: 4 kB / 0.7968 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.3343, allocations: 32.11 kB / 0.7968 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.3343, allocations: 3.984 kB / 0.7968 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004781/0.3348, allocations: 55.88 kB / 0.7969 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.318e-05/0.3349, allocations: 39.98 kB / 0.7969 GB, free: 2.66 MB / 0.6075 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 (calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0002128/0.3351, allocations: 196.2 kB / 0.7971 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.345e-05/0.3351, allocations: 23.72 kB / 0.7971 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.684e-05/0.3352, allocations: 34.36 kB / 0.7971 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.3352, allocations: 0 / 0.7971 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.3352, allocations: 4 kB / 0.7971 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3352, allocations: 0 / 0.7971 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002089/0.3373, allocations: 0.7661 MB / 0.7979 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3373, allocations: 0 / 0.7979 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.426e-05/0.3374, allocations: 7.984 kB / 0.7979 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.3374, allocations: 0 / 0.7979 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.297e-05/0.3374, allocations: 15.98 kB / 0.7979 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3374, allocations: 3.984 kB / 0.7979 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3374, allocations: 0 / 0.7979 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/0.3391, allocations: 478.8 kB / 0.7984 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002054/0.3393, allocations: 196.6 kB / 0.7986 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.95e-05/0.3394, allocations: 19.98 kB / 0.7986 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000468/0.3399, allocations: 35.97 kB / 0.7986 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.3399, allocations: 7.984 kB / 0.7986 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-05/0.34, allocations: 43.98 kB / 0.7987 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002277/0.3402, allocations: 235 kB / 0.7989 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3402, allocations: 0 / 0.7989 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003188/0.3406, allocations: 52 kB / 0.7989 GB, free: 480 kB / 0.6075 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 (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.0001915/0.3408, allocations: 127.6 kB / 0.7991 GB, free: 340 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001184/0.342, allocations: 409.5 kB / 0.7994 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.342, allocations: 4 kB / 0.7994 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007626/0.3428, allocations: 132.2 kB / 0.7996 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.3432, allocations: 32.56 kB / 0.7996 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.3446, allocations: 0.6065 MB / 0.8002 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.345, allocations: 0.7555 MB / 0.8009 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.725e-05/0.345, allocations: 19.42 kB / 0.801 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of SimCode: time 2.9e-07/0.345, allocations: 0 / 0.801 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of Templates: time 0.005172/0.3502, allocations: 3.174 MB / 0.8041 GB, free: 11.15 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.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 OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlusCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlusCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlusCalcHelperMain.o] Error 1