Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage") translateModel(Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000968/0.0009679, 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.001177/0.001177, allocations: 172.8 kB / 16.58 MB, free: 6.398 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.47/1.47, allocations: 223.2 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.697/2.697, allocations: 390.5 MB / 0.6662 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003951/0.0003957, allocations: 12 kB / 0.8155 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8474/0.8478, allocations: 142.3 MB / 0.9544 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage): time 0.001139/0.849, allocations: 0.7685 MB / 0.9552 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.8502, allocations: 1.089 MB / 0.9563 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.621e-05/0.8503, allocations: 2.5 kB / 0.9563 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.071e-05/0.8503, allocations: 11.81 kB / 0.9563 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.686e-05/0.8504, allocations: 39.77 kB / 0.9563 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000358/0.8508, allocations: 115.4 kB / 0.9564 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002945/0.8511, allocations: 293.9 kB / 0.9567 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.8513, allocations: 39.48 kB / 0.9567 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.8514, allocations: 113.8 kB / 0.9568 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.8516, allocations: 126.3 kB / 0.957 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.265e-05/0.8517, allocations: 14.69 kB / 0.957 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.184e-05/0.8517, allocations: 14.84 kB / 0.957 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.648e-05/0.8518, allocations: 64.34 kB / 0.9571 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.782e-05/0.8519, allocations: 66.45 kB / 0.9571 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.8521, allocations: 221.5 kB / 0.9573 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.8521, allocations: 0 / 0.9573 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8521, allocations: 1.438 kB / 0.9573 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.8521, allocations: 0 / 0.9573 GB, free: 5.863 MB / 0.7169 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.001053/0.8531, allocations: 0.612 MB / 0.9579 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.8532, allocations: 9.125 kB / 0.9579 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.284e-05/0.8533, allocations: 32.77 kB / 0.958 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.8534, allocations: 194.6 kB / 0.9582 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001565/0.8536, allocations: 261.5 kB / 0.9584 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.434e-05/0.8536, allocations: 34.47 kB / 0.9584 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004525/0.8541, allocations: 264.5 kB / 0.9587 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.8541, allocations: 5.719 kB / 0.9587 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.724e-05/0.8542, allocations: 11.59 kB / 0.9587 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.8542, allocations: 3.594 kB / 0.9587 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004011/0.8546, allocations: 192.9 kB / 0.9589 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009435/0.8555, allocations: 0.7851 MB / 0.9597 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004467/0.856, allocations: 213.9 kB / 0.9599 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002328/0.8562, allocations: 141.7 kB / 0.96 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.547e-05/0.8563, allocations: 14.22 kB / 0.96 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005102/0.8568, allocations: 309.4 kB / 0.9603 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=48): time 1.633e-06/0.8568, allocations: 0 / 0.9603 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of matching and sorting (n=48): time 0.0009641/0.8578, allocations: 496.4 kB / 0.9608 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.8578, allocations: 115.2 kB / 0.9609 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.858, allocations: 175.3 kB / 0.9611 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.858, allocations: 41.91 kB / 0.9611 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.45e-05/0.8581, allocations: 123.8 kB / 0.9612 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.706e-05/0.8582, allocations: 145.2 kB / 0.9614 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.503e-05/0.8582, allocations: 10.81 kB / 0.9614 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.595e-05/0.8583, allocations: 345 kB / 0.9617 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003162/0.8586, allocations: 152.5 kB / 0.9618 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003848/0.859, allocations: 258.5 kB / 0.9621 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003283/0.8594, allocations: 176 kB / 0.9623 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.8594, allocations: 4.953 kB / 0.9623 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008506/0.8602, allocations: 497.2 kB / 0.9627 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.8603, allocations: 10.41 kB / 0.9627 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.8603, allocations: 7.094 kB / 0.9627 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.991e-05/0.8603, allocations: 6.031 kB / 0.9628 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003889/0.8607, allocations: 104.8 kB / 0.9629 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.8607, allocations: 5.469 kB / 0.9629 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00027/0.861, allocations: 68.31 kB / 0.9629 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.695e-05/0.8611, allocations: 23.64 kB / 0.9629 GB, free: 1.574 MB / 0.7169 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.0001536/0.8612, allocations: 156.3 kB / 0.9631 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.018e-05/0.8613, allocations: 28.42 kB / 0.9631 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.12e-05/0.8613, allocations: 34.67 kB / 0.9632 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.8614, allocations: 10.16 kB / 0.9632 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/0.8614, allocations: 4 kB / 0.9632 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.8614, allocations: 1.031 kB / 0.9632 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003244/0.8617, allocations: 357.4 kB / 0.9635 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.8617, allocations: 1.125 kB / 0.9635 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003804/0.8621, allocations: 77.5 kB / 0.9636 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.8621, allocations: 3.156 kB / 0.9636 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.408e-05/0.8622, allocations: 16.61 kB / 0.9636 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.8622, allocations: 6.5 kB / 0.9636 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.8622, allocations: 1.188 kB / 0.9636 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.8632, allocations: 0.595 MB / 0.9642 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.36e-05/0.8633, allocations: 108.4 kB / 0.9643 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.015e-05/0.8633, allocations: 12.39 kB / 0.9643 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.8636, allocations: 50.14 kB / 0.9644 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.8637, allocations: 36.7 kB / 0.9644 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/0.8637, allocations: 18.67 kB / 0.9644 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.954e-05/0.8638, allocations: 121.1 kB / 0.9645 GB, free: 420 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8638, allocations: 0 / 0.9645 GB, free: 420 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000345/0.8642, allocations: 82.22 kB / 0.9646 GB, free: 400 kB / 0.7169 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.0002139/0.8644, allocations: 129 kB / 0.9647 GB, free: 292 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007919/0.8652, allocations: 385.8 kB / 0.9651 GB, free: 144 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.8652, allocations: 4 kB / 0.9651 GB, free: 140 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003782/0.8656, allocations: 186.9 kB / 0.9653 GB, free: 64 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.8659, allocations: 38.33 kB / 0.9653 GB, free: 44 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.8673, allocations: 0.7404 MB / 0.966 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004518/0.8678, allocations: 0.7628 MB / 0.9668 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.8679, allocations: 34.3 kB / 0.9668 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of SimCode: time 1.563e-06/0.8679, allocations: 0 / 0.9668 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of Templates: time 0.01033/0.8783, allocations: 3.91 MB / 0.9706 GB, free: 12.71 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverage.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverageCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverageCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingAverageCalcHelperMain.o] Error 1