Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.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.Validation.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 102.6 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.001275/0.001275, allocations: 176.3 kB / 16.58 MB, free: 6.863 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.641/1.641, allocations: 205.4 MB / 222.8 MB, free: 5.891 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.902/1.902, allocations: 292.7 MB / 0.5505 GB, free: 14.55 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.0006428/0.0006429, allocations: 18.56 kB / 0.6744 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3293, allocations: 116.3 MB / 0.788 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.002465/0.3319, allocations: 1.618 MB / 0.7895 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.3331, allocations: 0.6557 MB / 0.7902 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.59e-05/0.3332, allocations: 4 kB / 0.7902 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.848e-05/0.3332, allocations: 7.875 kB / 0.7902 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001227/0.3334, allocations: 35.69 kB / 0.7902 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004073/0.3338, allocations: 123.7 kB / 0.7903 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003082/0.3341, allocations: 295.1 kB / 0.7906 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.3343, allocations: 36.38 kB / 0.7907 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.3345, allocations: 107.7 kB / 0.7908 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001911/0.3347, allocations: 135.5 kB / 0.7909 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.069e-05/0.3347, allocations: 20 kB / 0.7909 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.229e-05/0.3348, allocations: 16 kB / 0.7909 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.879e-05/0.3348, allocations: 55.81 kB / 0.791 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.04e-05/0.3349, allocations: 65.58 kB / 0.791 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.3351, allocations: 207.7 kB / 0.7912 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.3352, allocations: 0 / 0.7912 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.956e-06/0.3352, allocations: 0 / 0.7912 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.3352, allocations: 0 / 0.7912 GB, free: 8.535 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001194/0.3364, allocations: 0.6119 MB / 0.7918 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.3364, allocations: 16.03 kB / 0.7918 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.311e-05/0.3365, allocations: 31.7 kB / 0.7919 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.3367, allocations: 199.5 kB / 0.7921 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002499/0.337, allocations: 259.8 kB / 0.7923 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.604e-05/0.3371, allocations: 39.89 kB / 0.7924 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004937/0.3376, allocations: 257.8 kB / 0.7926 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.3376, allocations: 3.984 kB / 0.7926 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.044e-05/0.3376, allocations: 16 kB / 0.7926 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.3376, allocations: 4 kB / 0.7926 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004246/0.3381, allocations: 188.5 kB / 0.7928 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.3392, allocations: 0.7777 MB / 0.7936 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004783/0.3397, allocations: 208.3 kB / 0.7938 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002529/0.3399, allocations: 142.8 kB / 0.7939 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.469e-05/0.34, allocations: 8.172 kB / 0.7939 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005528/0.3406, allocations: 315.7 kB / 0.7942 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 3.467e-06/0.3406, allocations: 0 / 0.7942 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.00104/0.3416, allocations: 0.4926 MB / 0.7947 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.696e-05/0.3417, allocations: 118.8 kB / 0.7948 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.3419, allocations: 176.6 kB / 0.795 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.744e-05/0.3419, allocations: 41.7 kB / 0.795 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.632e-05/0.342, allocations: 117.2 kB / 0.7951 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.3422, allocations: 150 kB / 0.7953 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.268e-05/0.3422, allocations: 8 kB / 0.7953 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3423, allocations: 346.8 kB / 0.7956 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/0.3426, allocations: 149.2 kB / 0.7957 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003702/0.343, allocations: 264.7 kB / 0.796 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003097/0.3433, allocations: 167.9 kB / 0.7962 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.3434, allocations: 0 / 0.7962 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008029/0.3442, allocations: 0.4891 MB / 0.7966 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.3442, allocations: 11.95 kB / 0.7966 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.3442, allocations: 4 kB / 0.7966 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.3442, allocations: 4 kB / 0.7966 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003623/0.3446, allocations: 99.81 kB / 0.7967 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.3446, allocations: 11.94 kB / 0.7968 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002701/0.3449, allocations: 67.66 kB / 0.7968 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-05/0.3449, allocations: 20 kB / 0.7968 GB, free: 2.414 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition5,$PRE.movingMean_1.mode,movingMean_1.mode,$whenCondition6,$PRE.movingMean_2.mode,movingMean_2.mode,$whenCondition7,$PRE.movingMean_3.mode,movingMean_3.mode,$whenCondition8,$PRE.movingMean_4.mode,movingMean_4.mode,$whenCondition9,$PRE.movingMean_5.mode,movingMean_5.mode,$whenCondition3,$PRE.movingMean_6.mode,movingMean_6.mode,$whenCondition4,$PRE.movingMean_7.mode,movingMean_7.mode,$whenCondition1,$PRE.movingMean_8.mode,movingMean_8.mode,$whenCondition2,$PRE.movingMean_9.mode,movingMean_9.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * 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.000177/0.3451, allocations: 163.9 kB / 0.797 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.3452, allocations: 27.72 kB / 0.797 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.681e-05/0.3453, allocations: 37.83 kB / 0.7971 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.3453, allocations: 7.938 kB / 0.7971 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.497e-06/0.3453, allocations: 0 / 0.7971 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.3453, allocations: 3.984 kB / 0.7971 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003709/0.3457, allocations: 357.2 kB / 0.7974 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.3457, allocations: 4 kB / 0.7974 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003767/0.3461, allocations: 71.89 kB / 0.7975 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/0.3461, allocations: 4 kB / 0.7975 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/0.3461, allocations: 16 kB / 0.7975 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.3461, allocations: 7.953 kB / 0.7975 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3462, allocations: 64 / 0.7975 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.3472, allocations: 0.5979 MB / 0.7981 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.061e-05/0.3473, allocations: 108.7 kB / 0.7982 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.753e-05/0.3473, allocations: 8 kB / 0.7982 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.3475, allocations: 47.97 kB / 0.7983 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.897e-05/0.3476, allocations: 39.89 kB / 0.7983 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/0.3477, allocations: 16 kB / 0.7983 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.657e-05/0.3478, allocations: 129.1 kB / 0.7984 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3478, allocations: 0 / 0.7984 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003111/0.3481, allocations: 84 kB / 0.7985 GB, free: 0.6055 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movingMean_1.mu,movingMean_2.mu,movingMean_3.mu,movingMean_4.mu,movingMean_5.mu,movingMean_6.mu,movingMean_7.mu,movingMean_8.mu,movingMean_9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movingMean_1.mode,movingMean_2.mode,movingMean_3.mode,movingMean_4.mode,movingMean_5.mode,$whenCondition4,$whenCondition3,movingMean_6.mode,movingMean_7.mode,$whenCondition2,$whenCondition1,movingMean_8.mode,movingMean_9.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0001889/0.3483, allocations: 127.2 kB / 0.7986 GB, free: 484 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007319/0.349, allocations: 392.6 kB / 0.799 GB, free: 92 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.349, allocations: 0 / 0.799 GB, free: 92 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003548/0.3494, allocations: 179.8 kB / 0.7992 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.3498, allocations: 53.59 kB / 0.7992 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.3509, allocations: 0.7307 MB / 0.7999 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.3512, allocations: 0.7647 MB / 0.8007 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.3514, allocations: 31.44 kB / 0.8007 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.3514, allocations: 4 kB / 0.8007 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of Templates: time 0.006781/0.3581, allocations: 3.927 MB / 0.8046 GB, free: 10.36 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.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_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMeanCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMeanCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMeanCalcHelperMain.o] Error 1