Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.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_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 96.14 kB / 15.87 MB, free: 16 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.001487/0.001487, allocations: 191.2 kB / 16.79 MB, free: 6.812 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.775/1.775, allocations: 205.1 MB / 222.6 MB, free: 4.984 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.886/1.886, allocations: 292.3 MB / 0.5491 GB, free: 13.69 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.001404/0.001404, allocations: 64.11 kB / 0.6715 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3265, allocations: 114.5 MB / 0.7833 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.003711/0.3302, allocations: 2.029 MB / 0.7853 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.3315, allocations: 0.6866 MB / 0.786 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.552e-05/0.3316, allocations: 0 / 0.786 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.391e-05/0.3317, allocations: 7.875 kB / 0.786 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.3319, allocations: 39.69 kB / 0.786 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004426/0.3323, allocations: 131.8 kB / 0.7862 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003225/0.3327, allocations: 315.1 kB / 0.7865 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001805/0.3328, allocations: 44.38 kB / 0.7865 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002018/0.3331, allocations: 115.6 kB / 0.7866 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.3332, allocations: 135.4 kB / 0.7868 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.312e-05/0.3333, allocations: 27.98 kB / 0.7868 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.978e-05/0.3333, allocations: 16 kB / 0.7868 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.166e-05/0.3334, allocations: 63.8 kB / 0.7869 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.3335, allocations: 127.3 kB / 0.787 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.3338, allocations: 207.8 kB / 0.7872 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.3338, allocations: 0 / 0.7872 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3338, allocations: 0 / 0.7872 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.3338, allocations: 4 kB / 0.7872 GB, free: 10.06 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.001391/0.3352, allocations: 0.6198 MB / 0.7878 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.523e-05/0.3353, allocations: 8.031 kB / 0.7878 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.3354, allocations: 40.58 kB / 0.7878 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.3357, allocations: 196.8 kB / 0.788 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002967/0.336, allocations: 272.3 kB / 0.7883 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.02e-05/0.3361, allocations: 36.27 kB / 0.7883 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005572/0.3366, allocations: 257.8 kB / 0.7886 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.3367, allocations: 4 kB / 0.7886 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.837e-05/0.3367, allocations: 7.984 kB / 0.7886 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.3367, allocations: 8 kB / 0.7886 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004375/0.3372, allocations: 179.8 kB / 0.7887 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.3385, allocations: 0.7697 MB / 0.7895 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005512/0.339, allocations: 207.7 kB / 0.7897 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002701/0.3393, allocations: 134.5 kB / 0.7898 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.771e-05/0.3394, allocations: 7.938 kB / 0.7898 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006487/0.34, allocations: 323.5 kB / 0.7901 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 2.294e-06/0.34, allocations: 0 / 0.7901 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.001059/0.3411, allocations: 481 kB / 0.7906 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.194e-05/0.3412, allocations: 118.7 kB / 0.7907 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.3414, allocations: 177.4 kB / 0.7909 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/0.3414, allocations: 37.7 kB / 0.7909 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.518e-05/0.3415, allocations: 125.2 kB / 0.791 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.3417, allocations: 149.9 kB / 0.7912 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/0.3418, allocations: 102.3 kB / 0.7913 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.342, allocations: 346.7 kB / 0.7916 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003035/0.3423, allocations: 145.2 kB / 0.7917 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003659/0.3427, allocations: 256.8 kB / 0.792 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006604/0.3434, allocations: 402 kB / 0.7924 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3434, allocations: 0 / 0.7924 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008529/0.3443, allocations: 489.4 kB / 0.7928 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/0.3443, allocations: 8 kB / 0.7928 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.3443, allocations: 7.984 kB / 0.7929 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.851e-05/0.3443, allocations: 4 kB / 0.7929 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004121/0.3448, allocations: 99.83 kB / 0.793 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/0.3448, allocations: 4 kB / 0.793 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002904/0.3451, allocations: 59.59 kB / 0.793 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.57e-05/0.3451, allocations: 20 kB / 0.793 GB, free: 3.641 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.0001882/0.3453, allocations: 160 kB / 0.7932 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.254e-05/0.3454, allocations: 31.66 kB / 0.7932 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.574e-05/0.3455, allocations: 33.88 kB / 0.7933 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.3455, allocations: 7.984 kB / 0.7933 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.3455, allocations: 3.938 kB / 0.7933 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.3455, allocations: 4 kB / 0.7933 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003992/0.3459, allocations: 349.2 kB / 0.7936 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.346, allocations: 0 / 0.7936 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004111/0.3464, allocations: 79.83 kB / 0.7937 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.3464, allocations: 3.938 kB / 0.7937 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.826e-05/0.3464, allocations: 12 kB / 0.7937 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.3464, allocations: 0 / 0.7937 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.3465, allocations: 7.984 kB / 0.7937 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.3476, allocations: 0.5784 MB / 0.7943 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.014e-05/0.3477, allocations: 112.7 kB / 0.7944 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.571e-05/0.3477, allocations: 15.98 kB / 0.7944 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/0.348, allocations: 27.97 kB / 0.7944 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.3481, allocations: 44.12 kB / 0.7945 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.582e-05/0.3482, allocations: 20.05 kB / 0.7945 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001271/0.3483, allocations: 132.2 kB / 0.7946 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3483, allocations: 0 / 0.7946 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000345/0.3487, allocations: 76 kB / 0.7947 GB, free: 1.863 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.0002757/0.3489, allocations: 131.2 kB / 0.7948 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008431/0.3498, allocations: 382.6 kB / 0.7952 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3498, allocations: 0 / 0.7952 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003769/0.3502, allocations: 181.9 kB / 0.7953 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.3506, allocations: 43.91 kB / 0.7954 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.3519, allocations: 0.718 MB / 0.7961 GB, free: 384 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000423/0.3524, allocations: 0.7608 MB / 0.7968 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.3525, allocations: 39.42 kB / 0.7969 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of SimCode: time 3.868e-06/0.3526, allocations: 0 / 0.7969 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of Templates: time 0.007617/0.3602, allocations: 3.97 MB / 0.8007 GB, free: 11.6 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.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.MovingMean_nonZeroStartCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStartCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStartCalcHelperMain.o] Error 1