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.008623/0.008623, allocations: 100.1 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.002085/0.002085, allocations: 189 kB / 16.79 MB, free: 5.809 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.786/1.786, allocations: 205.1 MB / 222.6 MB, free: 4.953 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.895/1.895, allocations: 292.3 MB / 0.5491 GB, free: 13.68 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.001405/0.001405, allocations: 68.58 kB / 0.6715 GB, free: 26.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3424, allocations: 114.6 MB / 0.7834 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.004124/0.3466, allocations: 2.01 MB / 0.7853 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.348, allocations: 0.6827 MB / 0.786 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.865e-05/0.3482, allocations: 0 / 0.786 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.558e-05/0.3483, allocations: 15.8 kB / 0.786 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.3484, allocations: 39.7 kB / 0.786 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004752/0.3489, allocations: 123.8 kB / 0.7862 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002939/0.3492, allocations: 311.1 kB / 0.7865 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001917/0.3494, allocations: 52.36 kB / 0.7865 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.3496, allocations: 115.7 kB / 0.7866 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002053/0.3498, allocations: 139.4 kB / 0.7867 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.23e-05/0.3499, allocations: 20 kB / 0.7868 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.849e-05/0.3499, allocations: 16 kB / 0.7868 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.3501, allocations: 67.72 kB / 0.7868 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.3502, allocations: 123.4 kB / 0.787 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.3505, allocations: 211.8 kB / 0.7872 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3505, allocations: 0 / 0.7872 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3505, allocations: 4 kB / 0.7872 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.3505, allocations: 7.938 kB / 0.7872 GB, free: 10.04 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.001347/0.3519, allocations: 0.6198 MB / 0.7878 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.3519, allocations: 8.031 kB / 0.7878 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.457e-05/0.352, allocations: 32.66 kB / 0.7878 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.3522, allocations: 208.7 kB / 0.788 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002413/0.3524, allocations: 264.3 kB / 0.7883 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.296e-05/0.3525, allocations: 32.28 kB / 0.7883 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005239/0.353, allocations: 261.9 kB / 0.7886 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.3531, allocations: 4 kB / 0.7886 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.99e-05/0.3531, allocations: 4 kB / 0.7886 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.3531, allocations: 4 kB / 0.7886 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004289/0.3535, allocations: 180.5 kB / 0.7887 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.3547, allocations: 0.7814 MB / 0.7895 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005126/0.3552, allocations: 203.7 kB / 0.7897 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002703/0.3555, allocations: 126.5 kB / 0.7898 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.342e-05/0.3556, allocations: 15.92 kB / 0.7898 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006434/0.3562, allocations: 311.6 kB / 0.7901 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 1.964e-06/0.3562, allocations: 0 / 0.7901 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.001146/0.3574, allocations: 0.4887 MB / 0.7906 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.3575, allocations: 114.8 kB / 0.7907 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002207/0.3577, allocations: 172.6 kB / 0.7909 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.812e-05/0.3578, allocations: 45.69 kB / 0.7909 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.3579, allocations: 117.2 kB / 0.791 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.358, allocations: 150 kB / 0.7912 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.3582, allocations: 102.3 kB / 0.7913 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3584, allocations: 342.8 kB / 0.7916 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003106/0.3587, allocations: 149.2 kB / 0.7917 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003708/0.3591, allocations: 256.7 kB / 0.792 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006733/0.3598, allocations: 390.1 kB / 0.7924 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3598, allocations: 0 / 0.7924 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000852/0.3606, allocations: 497.3 kB / 0.7928 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.3607, allocations: 8 kB / 0.7928 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.3607, allocations: 4 kB / 0.7928 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.3607, allocations: 4 kB / 0.7928 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003868/0.3611, allocations: 99.83 kB / 0.7929 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.776e-05/0.3611, allocations: 11.92 kB / 0.793 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002834/0.3614, allocations: 59.59 kB / 0.793 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-05/0.3615, allocations: 20 kB / 0.793 GB, free: 3.621 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 (movingMean_1.mode,$PRE.movingMean_1.mode,$whenCondition5,movingMean_2.mode,$PRE.movingMean_2.mode,$whenCondition6,movingMean_3.mode,$PRE.movingMean_3.mode,$whenCondition7,movingMean_4.mode,$PRE.movingMean_4.mode,$whenCondition8,movingMean_5.mode,$PRE.movingMean_5.mode,$whenCondition9,movingMean_6.mode,$PRE.movingMean_6.mode,$whenCondition3,movingMean_7.mode,$PRE.movingMean_7.mode,$whenCondition4,movingMean_8.mode,$PRE.movingMean_8.mode,$whenCondition1,movingMean_9.mode,$PRE.movingMean_9.mode,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002201/0.3617, allocations: 159.9 kB / 0.7932 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.563e-05/0.3618, allocations: 35.64 kB / 0.7932 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.332e-05/0.3618, allocations: 29.88 kB / 0.7932 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.3619, allocations: 4 kB / 0.7932 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.396e-05/0.3619, allocations: 0 / 0.7932 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.3619, allocations: 7.984 kB / 0.7933 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004431/0.3623, allocations: 353.2 kB / 0.7936 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3624, allocations: 4 kB / 0.7936 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000402/0.3628, allocations: 75.89 kB / 0.7937 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.3628, allocations: 4 kB / 0.7937 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.536e-05/0.3628, allocations: 19.98 kB / 0.7937 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.3628, allocations: 0 / 0.7937 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3628, allocations: 0 / 0.7937 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.364, allocations: 0.5784 MB / 0.7943 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.446e-05/0.364, allocations: 116.6 kB / 0.7944 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.077e-05/0.3641, allocations: 7.984 kB / 0.7944 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.3643, allocations: 27.97 kB / 0.7944 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.3644, allocations: 43.94 kB / 0.7944 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.3645, allocations: 16 kB / 0.7945 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001079/0.3646, allocations: 133.1 kB / 0.7946 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3646, allocations: 0 / 0.7946 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003733/0.365, allocations: 76 kB / 0.7947 GB, free: 1.852 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 (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.000237/0.3652, allocations: 119.2 kB / 0.7948 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000758/0.366, allocations: 394.5 kB / 0.7952 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.366, allocations: 0 / 0.7952 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003764/0.3664, allocations: 178 kB / 0.7953 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.3668, allocations: 59.16 kB / 0.7954 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.3681, allocations: 0.7176 MB / 0.7961 GB, free: 368 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.3684, allocations: 0.7649 MB / 0.7968 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.3686, allocations: 35.42 kB / 0.7969 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of SimCode: time 2.61e-07/0.3686, allocations: 3.938 kB / 0.7969 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of Templates: time 0.006661/0.3753, allocations: 3.968 MB / 0.8007 GB, free: 11.58 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++ -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.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