Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|movMea.u|movMea.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|movMea.u|movMea.y",fileNamePrefix="Buildings_latest_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.001088/0.001088, 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.001553/0.001553, allocations: 177.1 kB / 16.58 MB, free: 6.859 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.752/2.752, allocations: 436.7 MB / 0.7113 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003786/0.0003786, allocations: 12 kB / 0.8717 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9733/0.9737, allocations: 153.7 MB / 1.022 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean): time 0.001648/0.9754, allocations: 1.11 MB / 1.023 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0005427/0.9759, allocations: 267.2 kB / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.169e-05/0.976, allocations: 0 / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.523e-05/0.9761, allocations: 0 / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.9762, allocations: 15.92 kB / 1.023 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001406/0.9764, allocations: 27.91 kB / 1.023 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.588e-05/0.9765, allocations: 59.78 kB / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.184e-05/0.9766, allocations: 4 kB / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.443e-05/0.9767, allocations: 27.91 kB / 1.023 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.9768, allocations: 23.91 kB / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.9768, allocations: 4 kB / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.389e-05/0.9768, allocations: 0 / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.669e-05/0.9769, allocations: 11.98 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.727e-05/0.9769, allocations: 41.64 kB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.039e-05/0.977, allocations: 31.92 kB / 1.023 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/0.977, allocations: 7.984 kB / 1.023 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.562e-06/0.977, allocations: 0 / 1.023 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.977, allocations: 0 / 1.023 GB, free: 15.44 MB / 0.7794 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.000522/0.9776, allocations: 384.9 kB / 1.024 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.9776, allocations: 11.98 kB / 1.024 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.9777, allocations: 11.91 kB / 1.024 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.9778, allocations: 186.9 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.9779, allocations: 3.938 kB / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.9779, allocations: 4 kB / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.9781, allocations: 77.61 kB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.9781, allocations: 0 / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.9781, allocations: 4 kB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.9781, allocations: 0 / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.9782, allocations: 51.97 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004981/0.9787, allocations: 292.8 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.9789, allocations: 74.5 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.979, allocations: 68.88 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.979, allocations: 0 / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002267/0.9793, allocations: 117.1 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.663e-06/0.9793, allocations: 0 / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.000425/0.9797, allocations: 215.3 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.79e-05/0.9798, allocations: 114.8 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.562e-05/0.9799, allocations: 109.8 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.9799, allocations: 33.7 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.343e-05/0.98, allocations: 92.03 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.98, allocations: 19.75 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.107e-06/0.98, allocations: 4 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.9801, allocations: 322.8 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.715e-05/0.9802, allocations: 47.92 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.9804, allocations: 100.6 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.9805, allocations: 81.62 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.9805, allocations: 4 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003088/0.9808, allocations: 207 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.865e-05/0.9809, allocations: 31.89 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.9809, allocations: 4 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.9809, allocations: 4 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.981, allocations: 27.92 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.981, allocations: 4 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.04e-05/0.9811, allocations: 20.12 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.9811, allocations: 11.98 kB / 1.026 GB, free: 12.46 MB / 0.7794 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.0001567/0.9813, allocations: 175.4 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.664e-05/0.9813, allocations: 7.906 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.414e-05/0.9814, allocations: 8.375 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.9814, allocations: 96 / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.9814, allocations: 3.984 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.9814, allocations: 4 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.9815, allocations: 193.5 kB / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.9816, allocations: 0 / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.871e-05/0.9816, allocations: 4 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.9816, allocations: 4 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.9816, allocations: 3.984 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.9816, allocations: 0 / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.9817, allocations: 4 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003344/0.982, allocations: 234.9 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-05/0.9821, allocations: 92.89 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.9821, allocations: 11.98 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.641e-05/0.9822, allocations: 4 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.9822, allocations: 4 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.9822, allocations: 7.984 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.432e-05/0.9823, allocations: 83.28 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9823, allocations: 4 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002221/0.9825, allocations: 24 kB / 1.027 GB, free: 11.49 MB / 0.7794 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.0001669/0.9827, allocations: 113.9 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003037/0.983, allocations: 171.6 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.983, allocations: 4.188 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001841/0.9832, allocations: 191.4 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.9834, allocations: 15.89 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004057/0.9838, allocations: 218.8 kB / 1.027 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.9842, allocations: 0.6926 MB / 1.028 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.345e-05/0.9842, allocations: 15.44 kB / 1.028 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of SimCode: time 2.204e-06/0.9842, allocations: 0 / 1.028 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of Templates: time 0.002514/0.9867, allocations: 1.098 MB / 1.029 GB, free: 8.898 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMean.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMeanCalcHelperMain.o OMCppBuildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMeanCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Discrete.Examples.MovingMeanCalcHelperMain.o] Error 1