Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.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.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 92.16 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.002088/0.002088, allocations: 182.6 kB / 16.92 MB, free: 6.926 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.937/1.937, allocations: 205.4 MB / 223.1 MB, free: 5.531 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.944/1.944, allocations: 292.7 MB / 0.5509 GB, free: 14.49 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.0005941/0.0005941, allocations: 17.06 kB / 0.675 GB, free: 25.7 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3581, allocations: 116.3 MB / 0.7886 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean): time 0.001705/0.3599, allocations: 1.11 MB / 0.7896 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006724/0.3606, allocations: 281.1 kB / 0.7899 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.461e-05/0.3607, allocations: 3.938 kB / 0.7899 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.3608, allocations: 3.938 kB / 0.7899 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001501/0.3609, allocations: 23.91 kB / 0.7899 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001589/0.3611, allocations: 23.98 kB / 0.79 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.3612, allocations: 55.83 kB / 0.79 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.3613, allocations: 8 kB / 0.79 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.3615, allocations: 23.86 kB / 0.79 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.3616, allocations: 27.91 kB / 0.7901 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.3616, allocations: 11.92 kB / 0.7901 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.342e-05/0.3617, allocations: 4 kB / 0.7901 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.801e-05/0.3617, allocations: 4 kB / 0.7901 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.715e-05/0.3618, allocations: 53.56 kB / 0.7901 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.654e-05/0.3619, allocations: 40.2 kB / 0.7902 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.3619, allocations: 0 / 0.7902 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3619, allocations: 0 / 0.7902 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.3619, allocations: 4 kB / 0.7902 GB, free: 9.906 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006183/0.3626, allocations: 388.9 kB / 0.7906 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.3626, allocations: 12.02 kB / 0.7906 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.3627, allocations: 12.94 kB / 0.7906 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.3629, allocations: 184.3 kB / 0.7908 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.3629, allocations: 4.312 kB / 0.7908 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.3629, allocations: 4.375 kB / 0.7908 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.3631, allocations: 70.23 kB / 0.7908 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.3632, allocations: 192 / 0.7908 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.3632, allocations: 3.938 kB / 0.7908 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.3632, allocations: 0 / 0.7908 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.3633, allocations: 51.97 kB / 0.7909 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004983/0.3638, allocations: 284.8 kB / 0.7912 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.364, allocations: 78.44 kB / 0.7912 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.3641, allocations: 60.89 kB / 0.7913 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.3641, allocations: 0 / 0.7913 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002334/0.3644, allocations: 125 kB / 0.7914 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.482e-06/0.3644, allocations: 4 kB / 0.7914 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0004484/0.3648, allocations: 203.4 kB / 0.7916 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.768e-05/0.3649, allocations: 106.8 kB / 0.7917 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.365, allocations: 117.8 kB / 0.7918 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.3651, allocations: 33.69 kB / 0.7918 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.515e-05/0.3651, allocations: 88.08 kB / 0.7919 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.3652, allocations: 23.72 kB / 0.792 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.3652, allocations: 25.7 kB / 0.792 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3654, allocations: 326.8 kB / 0.7923 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.772e-05/0.3655, allocations: 35.92 kB / 0.7923 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.3656, allocations: 114.7 kB / 0.7924 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002663/0.3659, allocations: 215.8 kB / 0.7926 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.3659, allocations: 3.938 kB / 0.7926 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003304/0.3662, allocations: 207.3 kB / 0.7928 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.052e-05/0.3663, allocations: 33.7 kB / 0.7929 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.3663, allocations: 4 kB / 0.7929 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.3663, allocations: 0 / 0.7929 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.3664, allocations: 27.92 kB / 0.7929 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.3664, allocations: 4 kB / 0.7929 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.763e-05/0.3665, allocations: 11.94 kB / 0.7929 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.3665, allocations: 8 kB / 0.7929 GB, free: 6.75 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 18 (movMea.iSample,$PRE.movMea.iSample,movMea.counter,$PRE.movMea.counter,movMea.ySample[4],$PRE.movMea.ySample[4],movMea.ySample[3],$PRE.movMea.ySample[3],movMea.ySample[2],$PRE.movMea.ySample[2],movMea.ySample[1],$PRE.movMea.ySample[1],movMea.index,$PRE.movMea.index,movMea.y,$PRE.movMea.y,movMea.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * 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.0001726/0.3667, allocations: 184.1 kB / 0.7931 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.965e-05/0.3668, allocations: 11.91 kB / 0.7931 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.591e-05/0.3668, allocations: 4.375 kB / 0.7931 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3668, allocations: 0 / 0.7931 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3668, allocations: 4 kB / 0.7931 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3668, allocations: 0 / 0.7931 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.367, allocations: 193.5 kB / 0.7933 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.367, allocations: 0 / 0.7933 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.961e-05/0.367, allocations: 8 kB / 0.7933 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3671, allocations: 0 / 0.7933 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.3671, allocations: 7.984 kB / 0.7933 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3671, allocations: 0 / 0.7933 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3671, allocations: 0 / 0.7933 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003371/0.3674, allocations: 230.6 kB / 0.7935 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.944e-05/0.3675, allocations: 85.02 kB / 0.7936 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/0.3675, allocations: 12 kB / 0.7936 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.035e-05/0.3676, allocations: 7.984 kB / 0.7936 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.3676, allocations: 0 / 0.7936 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.3677, allocations: 12 kB / 0.7937 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.409e-05/0.3677, allocations: 87.27 kB / 0.7937 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3677, allocations: 0 / 0.7937 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002219/0.368, allocations: 24 kB / 0.7938 GB, free: 5.789 MB / 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: 10 ($whenCondition1,movMea.y,movMea.sampleTrigger,movMea.iSample,movMea.counter,movMea.index,movMea.ySample[1],movMea.ySample[2],movMea.ySample[3],movMea.ySample[4]) * Number of discrete states: 9 (movMea.iSample,movMea.y,movMea.counter,movMea.ySample[4],movMea.ySample[3],movMea.ySample[2],movMea.ySample[1],movMea.index,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0001505/0.3681, allocations: 126.1 kB / 0.7939 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002966/0.3684, allocations: 171.2 kB / 0.794 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3684, allocations: 0 / 0.794 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.3686, allocations: 183.9 kB / 0.7942 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.3688, allocations: 22.88 kB / 0.7942 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004456/0.3693, allocations: 230.7 kB / 0.7945 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.3696, allocations: 0.6887 MB / 0.7951 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.349e-05/0.3697, allocations: 11.44 kB / 0.7951 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of SimCode: time 4.01e-07/0.3697, allocations: 7.938 kB / 0.7952 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of Templates: time 0.003013/0.3727, allocations: 1.087 MB / 0.7962 GB, free: 3.191 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.makefile make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.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.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMeanCalcHelperMain.o OMCppBuildings_8_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMeanCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMeanCalcHelperMain.o] Error 1