Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001547/0.001546, allocations: 96.14 kB / 15.87 MB, free: 16 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.001783/0.001783, allocations: 198.4 kB / 16.79 MB, free: 6.828 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.728/1.728, allocations: 205.1 MB / 222.6 MB, free: 5 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.858/1.858, allocations: 292.3 MB / 0.5491 GB, free: 13.69 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.00159/0.00159, allocations: 67.84 kB / 0.6715 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3072, allocations: 114.6 MB / 0.7833 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.003086/0.3103, allocations: 1.577 MB / 0.7849 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000889/0.3112, allocations: 0.4958 MB / 0.7854 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.652e-05/0.3113, allocations: 0 / 0.7854 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.3114, allocations: 7.922 kB / 0.7854 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.924e-05/0.3115, allocations: 3.938 kB / 0.7854 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.3117, allocations: 27.97 kB / 0.7854 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.3118, allocations: 75.77 kB / 0.7855 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.3119, allocations: 20.17 kB / 0.7855 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.3121, allocations: 43.78 kB / 0.7855 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.087e-05/0.3122, allocations: 31.89 kB / 0.7856 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.3122, allocations: 7.938 kB / 0.7856 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.98e-05/0.3122, allocations: 4 kB / 0.7856 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.663e-05/0.3123, allocations: 8 kB / 0.7856 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.289e-05/0.3123, allocations: 35.8 kB / 0.7856 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.3124, allocations: 52.12 kB / 0.7857 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3124, allocations: 0 / 0.7857 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.21e-07/0.3125, allocations: 0 / 0.7857 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.3125, allocations: 4 kB / 0.7857 GB, free: 11.6 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007149/0.3132, allocations: 442.6 kB / 0.7861 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.3132, allocations: 12.03 kB / 0.7861 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.806e-05/0.3133, allocations: 8.844 kB / 0.7861 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.3135, allocations: 188.2 kB / 0.7863 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.3135, allocations: 4.375 kB / 0.7863 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.3135, allocations: 16.31 kB / 0.7863 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003173/0.3139, allocations: 97.69 kB / 0.7864 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.3139, allocations: 0 / 0.7864 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.3139, allocations: 0 / 0.7864 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.3139, allocations: 4 kB / 0.7864 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002931/0.3142, allocations: 71.92 kB / 0.7865 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006067/0.3148, allocations: 344.5 kB / 0.7868 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003057/0.3152, allocations: 78.52 kB / 0.7869 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.3153, allocations: 56.94 kB / 0.7869 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.3154, allocations: 0 / 0.7869 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003057/0.3157, allocations: 111.4 kB / 0.787 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.522e-06/0.3157, allocations: 0 / 0.787 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006189/0.3163, allocations: 207.2 kB / 0.7872 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.3164, allocations: 85.11 kB / 0.7873 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.3165, allocations: 130 kB / 0.7874 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.3165, allocations: 29.7 kB / 0.7875 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.412e-05/0.3166, allocations: 100 kB / 0.7876 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.3166, allocations: 15.8 kB / 0.7876 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.506e-05/0.3167, allocations: 33.7 kB / 0.7876 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.3168, allocations: 330.8 kB / 0.7879 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.317, allocations: 47.91 kB / 0.788 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.3172, allocations: 51.95 kB / 0.788 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003179/0.3175, allocations: 158.1 kB / 0.7882 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3175, allocations: 7.938 kB / 0.7882 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004249/0.3179, allocations: 212.9 kB / 0.7884 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.475e-05/0.318, allocations: 63.39 kB / 0.7884 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.318, allocations: 0 / 0.7884 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.318, allocations: 4 kB / 0.7885 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.3182, allocations: 15.97 kB / 0.7885 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.3182, allocations: 0 / 0.7885 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.3183, allocations: 23.92 kB / 0.7885 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.3183, allocations: 7.938 kB / 0.7885 GB, free: 8.41 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (act1.count,$PRE.act1.count,act1.T_start,$PRE.act1.T_start,reqCou.nInc,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001226/0.3185, allocations: 152.1 kB / 0.7886 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.943e-05/0.3185, allocations: 11.91 kB / 0.7887 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.151e-05/0.3185, allocations: 8.719 kB / 0.7887 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3185, allocations: 0 / 0.7887 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3185, allocations: 0 / 0.7887 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/0.3186, allocations: 3.984 kB / 0.7887 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005794/0.3191, allocations: 440 kB / 0.7891 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3192, allocations: 0 / 0.7891 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.697e-05/0.3193, allocations: 11.98 kB / 0.7891 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.3193, allocations: 0 / 0.7891 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.3193, allocations: 7.938 kB / 0.7891 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.3193, allocations: 8.266 kB / 0.7891 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3193, allocations: 0 / 0.7891 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004379/0.3197, allocations: 269.2 kB / 0.7894 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.517e-05/0.3198, allocations: 85.02 kB / 0.7895 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.3198, allocations: 0 / 0.7895 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.32, allocations: 19.91 kB / 0.7895 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.3201, allocations: 23.98 kB / 0.7895 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.3201, allocations: 3.984 kB / 0.7895 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.988e-05/0.3202, allocations: 106.2 kB / 0.7896 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3202, allocations: 4 kB / 0.7896 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002302/0.3204, allocations: 16 kB / 0.7896 GB, free: 7.145 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: 4 ($whenCondition1,reqCou.nInc,act1.T_start,act1.count) * Number of discrete states: 2 (act1.count,reqCou.nInc) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0001426/0.3206, allocations: 99.25 kB / 0.7897 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004424/0.321, allocations: 222.7 kB / 0.7899 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.321, allocations: 4.281 kB / 0.7899 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000209/0.3213, allocations: 107.4 kB / 0.79 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.3215, allocations: 19.88 kB / 0.7901 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005721/0.3221, allocations: 254.3 kB / 0.7903 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.3225, allocations: 0.6965 MB / 0.791 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.811e-05/0.3225, allocations: 11.44 kB / 0.791 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of SimCode: time 1.994e-06/0.3225, allocations: 0 / 0.791 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of Templates: time 0.002981/0.3255, allocations: 1.258 MB / 0.7922 GB, free: 4.398 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounterCalcHelperMain.o OMCppBuildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounterCalcHelperMain.o] Error 1