Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.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.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008144/0.0008143, allocations: 99.34 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.0009671/0.000967, allocations: 180.9 kB / 16.92 MB, free: 6.918 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.902/1.902, allocations: 205.4 MB / 223.1 MB, free: 5.754 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.834/1.834, allocations: 292.7 MB / 0.5509 GB, free: 14.46 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.0006829/0.0006831, allocations: 20.06 kB / 0.675 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.333, allocations: 116.3 MB / 0.7886 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.002508/0.3356, allocations: 1.664 MB / 0.7902 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.3368, allocations: 0.6788 MB / 0.7909 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.631e-05/0.3368, allocations: 0 / 0.7909 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.497e-05/0.3369, allocations: 11.86 kB / 0.7909 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001332/0.337, allocations: 31.7 kB / 0.7909 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000423/0.3375, allocations: 139.8 kB / 0.791 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003184/0.3378, allocations: 303.2 kB / 0.7913 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002803/0.3381, allocations: 40.38 kB / 0.7914 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.3383, allocations: 115.6 kB / 0.7915 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000246/0.3385, allocations: 139.4 kB / 0.7916 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.493e-05/0.3386, allocations: 16 kB / 0.7916 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.827e-05/0.3386, allocations: 16 kB / 0.7916 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.986e-05/0.3387, allocations: 63.78 kB / 0.7917 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.3388, allocations: 141.1 kB / 0.7918 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.3391, allocations: 203.7 kB / 0.792 GB, free: 8 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.3391, allocations: 0 / 0.792 GB, free: 8 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.856e-06/0.3391, allocations: 0 / 0.792 GB, free: 8 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.3391, allocations: 0 / 0.792 GB, free: 8 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001229/0.3403, allocations: 0.612 MB / 0.7926 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.3404, allocations: 8.031 kB / 0.7926 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.569e-05/0.3405, allocations: 32.66 kB / 0.7927 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.3407, allocations: 204.7 kB / 0.7928 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002641/0.3409, allocations: 268.3 kB / 0.7931 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-05/0.341, allocations: 28.28 kB / 0.7931 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005087/0.3415, allocations: 273.8 kB / 0.7934 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.3416, allocations: 4 kB / 0.7934 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.841e-05/0.3416, allocations: 4 kB / 0.7934 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.3416, allocations: 4 kB / 0.7934 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004711/0.3421, allocations: 192.5 kB / 0.7936 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.3433, allocations: 0.7852 MB / 0.7944 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005206/0.3438, allocations: 211.7 kB / 0.7946 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002729/0.3441, allocations: 134.5 kB / 0.7947 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.637e-05/0.3441, allocations: 11.98 kB / 0.7947 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006123/0.3448, allocations: 319.6 kB / 0.795 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 2.224e-06/0.3448, allocations: 0 / 0.795 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.001098/0.3459, allocations: 0.4968 MB / 0.7955 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.966e-05/0.346, allocations: 118.7 kB / 0.7956 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.3462, allocations: 181.4 kB / 0.7958 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.218e-05/0.3462, allocations: 37.7 kB / 0.7958 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.217e-05/0.3463, allocations: 121.2 kB / 0.7959 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/0.3465, allocations: 146 kB / 0.7961 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.745e-05/0.3465, allocations: 61.69 kB / 0.7961 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.3467, allocations: 342.8 kB / 0.7964 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003177/0.3471, allocations: 153.2 kB / 0.7966 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003966/0.3475, allocations: 264.8 kB / 0.7968 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000697/0.3482, allocations: 418 kB / 0.7972 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.3482, allocations: 0 / 0.7972 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008784/0.3491, allocations: 0.4891 MB / 0.7977 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.3491, allocations: 8 kB / 0.7977 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.3491, allocations: 4.094 kB / 0.7977 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/0.3491, allocations: 11.98 kB / 0.7977 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003715/0.3495, allocations: 95.83 kB / 0.7978 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.3495, allocations: 8 kB / 0.7978 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002908/0.3498, allocations: 75.59 kB / 0.7979 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.052e-05/0.3499, allocations: 23.98 kB / 0.7979 GB, free: 1.516 MB / 0.6075 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 (movingMean_1.mode,$PRE.movingMean_1.mode,$whenCondition5,movingMean_2.mode,$PRE.movingMean_2.mode,$whenCondition6,movingMean_3.mode,$PRE.movingMean_3.mode,$whenCondition7,movingMean_4.mode,$PRE.movingMean_4.mode,$whenCondition8,movingMean_5.mode,$PRE.movingMean_5.mode,$whenCondition9,movingMean_6.mode,$PRE.movingMean_6.mode,$whenCondition3,movingMean_7.mode,$PRE.movingMean_7.mode,$whenCondition4,movingMean_8.mode,$PRE.movingMean_8.mode,$whenCondition1,movingMean_9.mode,$PRE.movingMean_9.mode,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002146/0.3501, allocations: 159.9 kB / 0.7981 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.401e-05/0.3502, allocations: 27.66 kB / 0.7981 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.983e-05/0.3503, allocations: 33.86 kB / 0.7982 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.3503, allocations: 8 kB / 0.7982 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.555e-06/0.3503, allocations: 0 / 0.7982 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.3503, allocations: 0 / 0.7982 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003833/0.3507, allocations: 349.2 kB / 0.7985 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.3507, allocations: 4 kB / 0.7985 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003991/0.3511, allocations: 83.83 kB / 0.7986 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.3511, allocations: 0 / 0.7986 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.506e-05/0.3512, allocations: 23.92 kB / 0.7986 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3512, allocations: 0 / 0.7986 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.3512, allocations: 7.938 kB / 0.7986 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.3523, allocations: 0.5979 MB / 0.7992 GB, free: 156 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.471e-05/0.3524, allocations: 108.6 kB / 0.7993 GB, free: 28 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.103e-05/0.3525, allocations: 12 kB / 0.7993 GB, free: 16 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002731/0.3528, allocations: 44.03 kB / 0.7993 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.3529, allocations: 39.95 kB / 0.7994 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.187e-05/0.3529, allocations: 15.98 kB / 0.7994 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001072/0.3531, allocations: 128.3 kB / 0.7995 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3531, allocations: 0 / 0.7995 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000348/0.3534, allocations: 80 kB / 0.7996 GB, free: 15.71 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movingMean_1.mu,movingMean_2.mu,movingMean_3.mu,movingMean_4.mu,movingMean_5.mu,movingMean_6.mu,movingMean_7.mu,movingMean_8.mu,movingMean_9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movingMean_1.mode,movingMean_2.mode,movingMean_3.mode,movingMean_4.mode,movingMean_5.mode,$whenCondition4,$whenCondition3,movingMean_6.mode,movingMean_7.mode,$whenCondition2,$whenCondition1,movingMean_8.mode,movingMean_9.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 (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.0002582/0.3537, allocations: 123.2 kB / 0.7997 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009031/0.3546, allocations: 400.6 kB / 0.8001 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3546, allocations: 0 / 0.8001 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003948/0.355, allocations: 195.6 kB / 0.8003 GB, free: 15 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.3554, allocations: 40.09 kB / 0.8003 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.3567, allocations: 0.7501 MB / 0.8011 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004238/0.3571, allocations: 0.7686 MB / 0.8018 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.3573, allocations: 35.42 kB / 0.8018 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of SimCode: time 6.92e-07/0.3573, allocations: 0 / 0.8018 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of Templates: time 0.007061/0.3643, allocations: 3.938 MB / 0.8057 GB, free: 9.43 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.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.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStartCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStartCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStartCalcHelperMain.o] Error 1