Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008338/0.0008336, allocations: 99.59 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.0009093/0.0009094, allocations: 174 kB / 16.58 MB, free: 6.422 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.558/1.558, allocations: 223.2 MB / 240.6 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.747/2.747, allocations: 436.7 MB / 0.7113 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003561/0.0003564, allocations: 12 kB / 0.8717 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8074/0.8078, allocations: 153.7 MB / 1.022 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001022/0.8089, allocations: 434.2 kB / 1.022 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009315/0.8098, allocations: 0.7885 MB / 1.023 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.123e-05/0.8099, allocations: 11.94 kB / 1.023 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2e-05/0.8099, allocations: 3.938 kB / 1.023 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.972e-05/0.81, allocations: 3.984 kB / 1.023 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.919e-05/0.8101, allocations: 11.92 kB / 1.023 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.84e-05/0.8101, allocations: 35.92 kB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.8103, allocations: 7.984 kB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.504e-05/0.8103, allocations: 15.92 kB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.777e-05/0.8104, allocations: 19.92 kB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.8104, allocations: 4 kB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.16e-05/0.8104, allocations: 4 kB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.8105, allocations: 4 kB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.918e-05/0.8105, allocations: 29.64 kB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.847e-05/0.8106, allocations: 31.92 kB / 1.023 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.8106, allocations: 0 / 1.023 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.685e-06/0.8106, allocations: 3.938 kB / 1.023 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.8106, allocations: 0 / 1.023 GB, free: 15.77 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005734/0.8112, allocations: 373.2 kB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.8113, allocations: 11.98 kB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.293e-05/0.8113, allocations: 7.906 kB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.8114, allocations: 163.1 kB / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.8115, allocations: 4 kB / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.8115, allocations: 0 / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002611/0.8117, allocations: 89.59 kB / 1.024 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.8118, allocations: 0 / 1.024 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.8118, allocations: 0 / 1.024 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.8118, allocations: 0 / 1.024 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002706/0.8121, allocations: 91.86 kB / 1.024 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004059/0.8125, allocations: 276.8 kB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.8127, allocations: 54.55 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.8128, allocations: 56.91 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.8129, allocations: 4 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.8129, allocations: 34.5 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.8129, allocations: 0 / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005182/0.8134, allocations: 157.6 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.8135, allocations: 51.41 kB / 1.024 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.8136, allocations: 109.8 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.8136, allocations: 29.64 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.977e-05/0.8137, allocations: 88.12 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.8137, allocations: 15.75 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.8137, allocations: 4 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.8139, allocations: 314.8 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.814, allocations: 43.95 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.8142, allocations: 47.91 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.8143, allocations: 39.95 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.8143, allocations: 7.953 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003021/0.8146, allocations: 117.6 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.8146, allocations: 4 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.8147, allocations: 4 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.8147, allocations: 336 / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.8148, allocations: 15.98 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.8148, allocations: 4 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.575e-05/0.8149, allocations: 23.98 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.8149, allocations: 0 / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.025e-05/0.815, allocations: 113.8 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.036e-05/0.8151, allocations: 15.84 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/0.8151, allocations: 7.906 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.8151, allocations: 3.938 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.8151, allocations: 0 / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.8151, allocations: 3.938 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.8153, allocations: 165.7 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.8153, allocations: 3.984 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.279e-05/0.8154, allocations: 23.94 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.8154, allocations: 0 / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.8154, allocations: 8 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.8154, allocations: 0 / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.8154, allocations: 0 / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003551/0.8158, allocations: 211.5 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.475e-05/0.8159, allocations: 85 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.8159, allocations: 3.953 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.816, allocations: 19.98 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.816, allocations: 4 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-06/0.8161, allocations: 3.984 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.932e-05/0.8161, allocations: 87.22 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.244e-06/0.8161, allocations: 4 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002157/0.8163, allocations: 11.94 kB / 1.026 GB, free: 12.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001766/0.8165, allocations: 95.25 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003173/0.8169, allocations: 91.92 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.8169, allocations: 0 / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.817, allocations: 51.95 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.8173, allocations: 4 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003416/0.8177, allocations: 154.3 kB / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.818, allocations: 0.6887 MB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.8181, allocations: 7.438 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.8181, allocations: 0 / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of Templates: time 0.002574/0.8206, allocations: 0.7292 MB / 1.028 GB, free: 10.61 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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.AverageCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AverageCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AverageCalcHelperMain.o] Error 1