Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean.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.Discrete.Examples.TriggeredMovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 99.83 kB / 15.71 MB, free: 452 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.0009459/0.000946, allocations: 174.5 kB / 16.58 MB, free: 6.422 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.865/1.865, allocations: 205.4 MB / 222.8 MB, free: 5.641 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.806/1.806, allocations: 292.7 MB / 0.5505 GB, free: 14.56 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.0005764/0.0005767, allocations: 19.2 kB / 0.6744 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3156, allocations: 116.3 MB / 0.7879 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean): time 0.001311/0.317, allocations: 0.5791 MB / 0.7885 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001847/0.3189, allocations: 1.29 MB / 0.7898 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.095e-05/0.319, allocations: 0 / 0.7898 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.817e-05/0.3191, allocations: 7.875 kB / 0.7898 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001613/0.3192, allocations: 31.83 kB / 0.7898 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006658/0.3199, allocations: 225.5 kB / 0.79 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002868/0.3202, allocations: 239.4 kB / 0.7902 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.3203, allocations: 21.11 kB / 0.7903 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.3205, allocations: 111.7 kB / 0.7904 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002646/0.3208, allocations: 103.7 kB / 0.7905 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.725e-05/0.3208, allocations: 12 kB / 0.7905 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.545e-05/0.3209, allocations: 24 kB / 0.7905 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.125e-05/0.321, allocations: 39.88 kB / 0.7905 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.877e-05/0.3211, allocations: 49.64 kB / 0.7906 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.3213, allocations: 191.7 kB / 0.7908 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3213, allocations: 0 / 0.7908 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.148e-06/0.3213, allocations: 4 kB / 0.7908 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.3213, allocations: 0 / 0.7908 GB, free: 8.984 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0009209/0.3223, allocations: 486.7 kB / 0.7912 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3223, allocations: 15.95 kB / 0.7913 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.345e-05/0.3224, allocations: 19.81 kB / 0.7913 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/0.3227, allocations: 234.7 kB / 0.7915 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.154e-05/0.3227, allocations: 12 kB / 0.7915 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.732e-05/0.3228, allocations: 23.98 kB / 0.7915 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003819/0.3232, allocations: 186.2 kB / 0.7917 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.3232, allocations: 0 / 0.7917 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.3232, allocations: 3.984 kB / 0.7917 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.3232, allocations: 4 kB / 0.7917 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002064/0.3235, allocations: 92.17 kB / 0.7918 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006637/0.3241, allocations: 472.8 kB / 0.7923 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/0.3244, allocations: 142.5 kB / 0.7924 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.3246, allocations: 99.44 kB / 0.7925 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.3246, allocations: 0 / 0.7925 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003332/0.325, allocations: 215.8 kB / 0.7927 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=28): time 1.513e-06/0.325, allocations: 0 / 0.7927 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of matching and sorting (n=28): time 0.0008243/0.3258, allocations: 463.5 kB / 0.7931 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.3259, allocations: 63.36 kB / 0.7932 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.326, allocations: 141.8 kB / 0.7933 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.078e-05/0.3261, allocations: 45.7 kB / 0.7934 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.108e-05/0.3261, allocations: 92.69 kB / 0.7935 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.396e-05/0.3262, allocations: 67.25 kB / 0.7935 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.3262, allocations: 11.98 kB / 0.7935 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.3264, allocations: 330.8 kB / 0.7939 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002869/0.3267, allocations: 152.7 kB / 0.794 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003136/0.327, allocations: 205.2 kB / 0.7942 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003549/0.3274, allocations: 224.4 kB / 0.7944 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3274, allocations: 0 / 0.7944 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008232/0.3282, allocations: 0.4898 MB / 0.7949 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.751e-05/0.3283, allocations: 67.39 kB / 0.7949 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.3283, allocations: 4 kB / 0.795 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.3283, allocations: 4 kB / 0.795 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.3286, allocations: 59.97 kB / 0.795 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.3286, allocations: 7.953 kB / 0.795 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003854/0.329, allocations: 98.59 kB / 0.7951 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-05/0.329, allocations: 23.98 kB / 0.7951 GB, free: 4.219 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 42 ($whenCondition5,$whenCondition6,$whenCondition4,$PRE.booPul1.y,booPul1.y,$whenCondition3,$PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2,triMovMea.y,$PRE.triMovMea.iSample,triMovMea.iSample,$PRE.triMovMea.counter,triMovMea.counter,triMovMea.index,$PRE.triMovMea.ySample[1],triMovMea.ySample[1],$PRE.triMovMea.ySample[2],triMovMea.ySample[2],$PRE.triMovMea.ySample[3],triMovMea.ySample[3],triMovMea1.y,$PRE.triMovMea1.iSample,triMovMea1.iSample,$PRE.triMovMea1.counter,triMovMea1.counter,triMovMea1.index,$PRE.triMovMea1.ySample[1],triMovMea1.ySample[1],triMovMea2.y,$PRE.triMovMea2.iSample,triMovMea2.iSample,$PRE.triMovMea2.counter,triMovMea2.counter,triMovMea2.index,$PRE.triMovMea2.ySample[1],triMovMea2.ySample[1],$PRE.triMovMea2.ySample[2],triMovMea2.ySample[2],$PRE.triMovMea2.ySample[3],triMovMea2.ySample[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 35 * Array equations: 2 * Algorithm blocks: 2 * 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.0001864/0.3292, allocations: 170.5 kB / 0.7953 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.3293, allocations: 11.91 kB / 0.7953 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.912e-05/0.3293, allocations: 13.86 kB / 0.7953 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3293, allocations: 8 kB / 0.7953 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.3293, allocations: 0 / 0.7953 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.3294, allocations: 3.953 kB / 0.7953 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008199/0.3302, allocations: 0.6545 MB / 0.796 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.3302, allocations: 0 / 0.796 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.38e-05/0.3302, allocations: 15.86 kB / 0.796 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3303, allocations: 4 kB / 0.796 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.3303, allocations: 15.98 kB / 0.796 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3303, allocations: 0 / 0.796 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3303, allocations: 3.953 kB / 0.796 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006179/0.3309, allocations: 455.8 kB / 0.7964 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.222e-05/0.331, allocations: 96.8 kB / 0.7965 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.11e-05/0.3311, allocations: 19.97 kB / 0.7966 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.3312, allocations: 12 kB / 0.7966 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.786e-05/0.3313, allocations: 19.92 kB / 0.7966 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.521e-05/0.3313, allocations: 23.98 kB / 0.7966 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.055e-05/0.3314, allocations: 95.27 kB / 0.7967 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3314, allocations: 0 / 0.7967 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003296/0.3317, allocations: 71.98 kB / 0.7968 GB, free: 2.441 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: 27 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triMovMea.y,triMovMea.iSample,triMovMea.counter,triMovMea.index,triMovMea.ySample[1],triMovMea.ySample[2],triMovMea.ySample[3],triMovMea1.y,triMovMea1.iSample,triMovMea1.counter,triMovMea1.index,triMovMea1.ySample[1],triMovMea2.y,triMovMea2.iSample,triMovMea2.counter,triMovMea2.index,triMovMea2.ySample[1],triMovMea2.ySample[2],triMovMea2.ySample[3],booPul1.y) * Number of discrete states: 13 (triMovMea2.iSample,triMovMea2.ySample[1],triMovMea2.ySample[2],triMovMea2.ySample[3],triMovMea2.counter,triMovMea.iSample,triMovMea.counter,triMovMea.ySample[1],triMovMea.ySample[2],triMovMea.ySample[3],triMovMea1.iSample,triMovMea1.counter,triMovMea1.ySample[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * 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.0002202/0.3319, allocations: 142.5 kB / 0.7969 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007046/0.3327, allocations: 450.5 kB / 0.7973 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3327, allocations: 0 / 0.7973 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002286/0.3329, allocations: 126.3 kB / 0.7975 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.3333, allocations: 36.22 kB / 0.7975 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006313/0.3339, allocations: 376.5 kB / 0.7979 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.3343, allocations: 0.7245 MB / 0.7986 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.125e-05/0.3343, allocations: 19.42 kB / 0.7986 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.3343, allocations: 0 / 0.7986 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of Templates: time 0.005389/0.3397, allocations: 3.029 MB / 0.8015 GB, free: 13.49 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMean.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.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMeanCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMeanCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMovingMeanCalcHelperMain.o] Error 1