Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.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.Controls.OBC.CDL.Reals.Validation.MovingAverage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sinInpNoDel.y|movAve1.y|movAve2.y|movAve3.y|movAve4.y|sinInp50sDel.y|movAve6.y|movAve7.y|sinInp100sDel.y|movAve8.y|movAve9.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sinInpNoDel.y|movAve1.y|movAve2.y|movAve3.y|movAve4.y|sinInp50sDel.y|movAve6.y|movAve7.y|sinInp100sDel.y|movAve8.y|movAve9.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009949/0.0009948, allocations: 102.9 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.001282/0.001282, allocations: 175.7 kB / 16.58 MB, free: 6.863 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.499/1.499, allocations: 223.2 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.839/2.839, allocations: 436.7 MB / 0.7113 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004345/0.0004348, allocations: 12 kB / 0.8717 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8236/0.8241, allocations: 153.7 MB / 1.022 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001367/0.8255, allocations: 0.7707 MB / 1.023 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001708/0.8273, allocations: 1.088 MB / 1.024 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.72e-05/0.8274, allocations: 4 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.767e-05/0.8274, allocations: 15.8 kB / 1.024 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.8276, allocations: 31.7 kB / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005262/0.8281, allocations: 119.8 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000344/0.8284, allocations: 291.1 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001967/0.8287, allocations: 52.3 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.8289, allocations: 107.7 kB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.8291, allocations: 135.5 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.095e-05/0.8291, allocations: 16 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.613e-05/0.8292, allocations: 16 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.065e-05/0.8292, allocations: 63.78 kB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.76e-05/0.8293, allocations: 65.58 kB / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002555/0.8296, allocations: 217.4 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/0.8296, allocations: 0 / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.757e-06/0.8296, allocations: 0 / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.8296, allocations: 0 / 1.025 GB, free: 14.16 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001299/0.8309, allocations: 0.6002 MB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.831, allocations: 15.92 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.8311, allocations: 43.64 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.8314, allocations: 195.5 kB / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003065/0.8317, allocations: 263.8 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.09e-05/0.8317, allocations: 35.86 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006236/0.8324, allocations: 265.7 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/0.8324, allocations: 4 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.527e-05/0.8325, allocations: 11.98 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.8325, allocations: 4 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004879/0.833, allocations: 183.9 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001623/0.8346, allocations: 0.7894 MB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005712/0.8352, allocations: 208.3 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002748/0.8355, allocations: 138.9 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.577e-05/0.8356, allocations: 8.188 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006622/0.8362, allocations: 319.4 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=48): time 2.374e-06/0.8362, allocations: 0 / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=48): time 0.001083/0.8373, allocations: 491.9 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.8374, allocations: 118.8 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.8377, allocations: 175.5 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.451e-05/0.8377, allocations: 37.7 kB / 1.028 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.8379, allocations: 125.2 kB / 1.029 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/0.838, allocations: 153.9 kB / 1.029 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/0.8381, allocations: 12 kB / 1.029 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002003/0.8383, allocations: 342.8 kB / 1.029 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003145/0.8386, allocations: 149.2 kB / 1.029 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003898/0.839, allocations: 256.8 kB / 1.029 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000348/0.8393, allocations: 171.9 kB / 1.03 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.8394, allocations: 0 / 1.03 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009415/0.8403, allocations: 497.2 kB / 1.03 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/0.8404, allocations: 9.719 kB / 1.03 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.8404, allocations: 4.062 kB / 1.03 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.976e-05/0.8404, allocations: 8 kB / 1.03 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004208/0.8408, allocations: 103.8 kB / 1.03 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.898e-05/0.8409, allocations: 8 kB / 1.03 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/0.8411, allocations: 71.61 kB / 1.03 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.8412, allocations: 20 kB / 1.03 GB, free: 8.031 MB / 0.7794 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 ($whenCondition5,$PRE.movAve1.mode,movAve1.mode,$whenCondition6,$PRE.movAve2.mode,movAve2.mode,$whenCondition7,$PRE.movAve3.mode,movAve3.mode,$whenCondition8,$PRE.movAve4.mode,movAve4.mode,$whenCondition9,$PRE.movAve5.mode,movAve5.mode,$whenCondition3,$PRE.movAve6.mode,movAve6.mode,$whenCondition4,$PRE.movAve7.mode,movAve7.mode,$whenCondition1,$PRE.movAve8.mode,movAve8.mode,$whenCondition2,$PRE.movAve9.mode,movAve9.mode) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002033/0.8414, allocations: 163.5 kB / 1.03 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.545e-05/0.8414, allocations: 27.72 kB / 1.03 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.298e-05/0.8415, allocations: 33.81 kB / 1.03 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.8415, allocations: 8 kB / 1.03 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.46e-05/0.8416, allocations: 0 / 1.03 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.8416, allocations: 3.984 kB / 1.03 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004297/0.842, allocations: 365 kB / 1.031 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.842, allocations: 0 / 1.031 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003656/0.8424, allocations: 71.91 kB / 1.031 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.8424, allocations: 3.938 kB / 1.031 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/0.8425, allocations: 27.92 kB / 1.031 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.8425, allocations: 0 / 1.031 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.8425, allocations: 4 kB / 1.031 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.8435, allocations: 0.594 MB / 1.032 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.041e-05/0.8436, allocations: 104.7 kB / 1.032 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.73e-05/0.8436, allocations: 11.98 kB / 1.032 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.8439, allocations: 43.97 kB / 1.032 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.844, allocations: 43.97 kB / 1.032 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/0.844, allocations: 12 kB / 1.032 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.917e-05/0.8441, allocations: 129.1 kB / 1.032 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8441, allocations: 0 / 1.032 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003235/0.8445, allocations: 87.94 kB / 1.032 GB, free: 6.223 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movAve1.mu,movAve2.mu,movAve3.mu,movAve4.mu,movAve5.mu,movAve6.mu,movAve7.mu,movAve8.mu,movAve9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movAve1.mode,movAve2.mode,movAve3.mode,movAve4.mode,movAve5.mode,$whenCondition4,$whenCondition3,movAve6.mode,movAve7.mode,$whenCondition2,$whenCondition1,movAve8.mode,movAve9.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 (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.0002054/0.8447, allocations: 115.2 kB / 1.032 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007155/0.8454, allocations: 388.3 kB / 1.032 GB, free: 5.719 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.8454, allocations: 0 / 1.032 GB, free: 5.719 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003756/0.8458, allocations: 191.7 kB / 1.033 GB, free: 5.531 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.8461, allocations: 50.97 kB / 1.033 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.8473, allocations: 0.7429 MB / 1.033 GB, free: 4.707 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.8477, allocations: 0.7647 MB / 1.034 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.8478, allocations: 31.44 kB / 1.034 GB, free: 3.887 MB / 0.7794 GB Notification: Performance of SimCode: time 7.71e-07/0.8478, allocations: 192 / 1.034 GB, free: 3.887 MB / 0.7794 GB Notification: Performance of Templates: time 0.006402/0.8542, allocations: 3.906 MB / 1.038 GB, free: 0 / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.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.Controls.OBC.CDL.Reals.Validation.MovingAverageCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverageCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverageCalcHelperMain.o] Error 1