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.0008817/0.0008817, allocations: 103 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.001391/0.001392, allocations: 177.4 kB / 16.58 MB, free: 6.402 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.914/1.914, allocations: 205.4 MB / 222.8 MB, free: 5.656 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.858/1.858, allocations: 292.7 MB / 0.5505 GB, free: 14.53 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.0005547/0.0005547, allocations: 20.25 kB / 0.6744 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2921, allocations: 116.3 MB / 0.7879 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean): time 0.002227/0.2944, allocations: 1.107 MB / 0.789 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007474/0.2952, allocations: 269.2 kB / 0.7893 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.264e-05/0.2953, allocations: 8 kB / 0.7893 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.2954, allocations: 3.938 kB / 0.7893 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001678/0.2956, allocations: 11.91 kB / 0.7893 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001747/0.2958, allocations: 23.98 kB / 0.7893 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.2959, allocations: 55.78 kB / 0.7894 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.969e-05/0.296, allocations: 4 kB / 0.7894 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.2961, allocations: 27.91 kB / 0.7894 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.2963, allocations: 27.91 kB / 0.7894 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.2963, allocations: 8 kB / 0.7894 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.246e-05/0.2963, allocations: 3.938 kB / 0.7894 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.817e-05/0.2964, allocations: 11.92 kB / 0.7894 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.01e-05/0.2964, allocations: 33.7 kB / 0.7895 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.2966, allocations: 44.19 kB / 0.7895 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.2966, allocations: 0 / 0.7895 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.555e-06/0.2966, allocations: 0 / 0.7895 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.2966, allocations: 0 / 0.7895 GB, free: 10.27 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.0006639/0.2973, allocations: 395.5 kB / 0.7899 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.851e-05/0.2973, allocations: 12.02 kB / 0.7899 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.244e-05/0.2974, allocations: 4 kB / 0.7899 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.2976, allocations: 190.8 kB / 0.7901 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.2976, allocations: 0 / 0.7901 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.2977, allocations: 4 kB / 0.7901 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.2979, allocations: 69.67 kB / 0.7902 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.2979, allocations: 0 / 0.7902 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.2979, allocations: 0 / 0.7902 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.2979, allocations: 4 kB / 0.7902 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.2981, allocations: 51.91 kB / 0.7902 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000538/0.2986, allocations: 288.8 kB / 0.7905 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.2988, allocations: 74.56 kB / 0.7906 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.2989, allocations: 56.89 kB / 0.7906 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.299, allocations: 7.984 kB / 0.7906 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002827/0.2992, allocations: 125.2 kB / 0.7907 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/0.2993, allocations: 0 / 0.7907 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0004761/0.2997, allocations: 203.6 kB / 0.7909 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.2999, allocations: 122.8 kB / 0.7911 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.3, allocations: 105.8 kB / 0.7912 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.3, allocations: 33.7 kB / 0.7912 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.937e-05/0.3001, allocations: 96.06 kB / 0.7913 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.3001, allocations: 19.72 kB / 0.7913 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.817e-06/0.3002, allocations: 4 kB / 0.7913 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.3003, allocations: 330.8 kB / 0.7916 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.719e-05/0.3004, allocations: 35.97 kB / 0.7917 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.3006, allocations: 112.5 kB / 0.7918 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.3007, allocations: 73.69 kB / 0.7918 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3008, allocations: 3.938 kB / 0.7918 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000365/0.3011, allocations: 211 kB / 0.792 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.115e-05/0.3012, allocations: 36.67 kB / 0.7921 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.3012, allocations: 4 kB / 0.7921 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.3012, allocations: 4.094 kB / 0.7921 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.3013, allocations: 32.2 kB / 0.7921 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.3014, allocations: 11.89 kB / 0.7921 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.184e-05/0.3014, allocations: 19.83 kB / 0.7921 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.3015, allocations: 12 kB / 0.7922 GB, free: 7.277 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 ($PRE.movMea.iSample,movMea.iSample,$PRE.movMea.counter,movMea.counter,$PRE.movMea.ySample[4],movMea.ySample[4],$PRE.movMea.ySample[3],movMea.ySample[3],$PRE.movMea.ySample[2],movMea.ySample[2],$PRE.movMea.ySample[1],movMea.ySample[1],$PRE.movMea.index,movMea.index,$PRE.movMea.y,movMea.y,$whenCondition1,movMea.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001684/0.3016, allocations: 168.9 kB / 0.7923 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.3017, allocations: 7.906 kB / 0.7923 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.266e-05/0.3017, allocations: 8.312 kB / 0.7923 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.3017, allocations: 4 kB / 0.7923 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.3017, allocations: 4 kB / 0.7923 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/0.3017, allocations: 3.953 kB / 0.7923 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.3019, allocations: 185.6 kB / 0.7925 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3019, allocations: 0 / 0.7925 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-05/0.302, allocations: 4 kB / 0.7925 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.302, allocations: 0 / 0.7925 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.302, allocations: 7.984 kB / 0.7925 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.302, allocations: 0 / 0.7925 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.302, allocations: 0 / 0.7925 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003455/0.3024, allocations: 242.5 kB / 0.7928 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.533e-05/0.3025, allocations: 85.02 kB / 0.7928 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.258e-05/0.3025, allocations: 11.98 kB / 0.7929 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.617e-05/0.3026, allocations: 4 kB / 0.7929 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.3026, allocations: 4 kB / 0.7929 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.3026, allocations: 7.984 kB / 0.7929 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.234e-05/0.3027, allocations: 91.22 kB / 0.793 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3027, allocations: 0 / 0.793 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002405/0.3029, allocations: 24 kB / 0.793 GB, free: 6.324 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 (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.000151/0.3031, allocations: 121.3 kB / 0.7931 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003072/0.3034, allocations: 175.3 kB / 0.7933 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3034, allocations: 3.938 kB / 0.7933 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.3036, allocations: 191.3 kB / 0.7934 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001955/0.3038, allocations: 8 kB / 0.7935 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004296/0.3043, allocations: 227.3 kB / 0.7937 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.3046, allocations: 0.6965 MB / 0.7944 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.102e-05/0.3046, allocations: 11.44 kB / 0.7944 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.3046, allocations: 0 / 0.7944 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of Templates: time 0.002719/0.3074, allocations: 1.083 MB / 0.7954 GB, free: 3.734 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++ 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.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