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.0009691/0.0009691, allocations: 99.42 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.001669/0.001669, allocations: 185.8 kB / 16.92 MB, free: 6.688 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.767/1.767, allocations: 205.4 MB / 223.1 MB, free: 5.566 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.959/1.959, 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.0006579/0.0006577, allocations: 13.09 kB / 0.675 GB, free: 25.83 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3111, allocations: 116.3 MB / 0.7885 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.001977/0.3131, allocations: 1.243 MB / 0.7898 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009879/0.3141, allocations: 499.8 kB / 0.7902 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.966e-05/0.3142, allocations: 0 / 0.7902 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.3143, allocations: 3.984 kB / 0.7902 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.789e-05/0.3144, allocations: 11.81 kB / 0.7902 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.3146, allocations: 27.97 kB / 0.7903 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.3148, allocations: 75.77 kB / 0.7903 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.3149, allocations: 20.17 kB / 0.7904 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.315, allocations: 27.86 kB / 0.7904 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.907e-05/0.3152, allocations: 39.83 kB / 0.7904 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.158e-05/0.3152, allocations: 7.984 kB / 0.7904 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.435e-05/0.3152, allocations: 3.938 kB / 0.7904 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.779e-05/0.3153, allocations: 8 kB / 0.7904 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.423e-05/0.3154, allocations: 57.5 kB / 0.7905 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.3155, allocations: 56.11 kB / 0.7906 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3155, allocations: 0 / 0.7906 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.228e-06/0.3155, allocations: 4 kB / 0.7906 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.3155, allocations: 0 / 0.7906 GB, free: 9.48 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.0007448/0.3163, allocations: 430.7 kB / 0.791 GB, free: 9 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.3163, allocations: 12.03 kB / 0.791 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.827e-05/0.3164, allocations: 8.844 kB / 0.791 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.3166, allocations: 184.2 kB / 0.7912 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.3166, allocations: 12.36 kB / 0.7912 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.3167, allocations: 4.375 kB / 0.7912 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003054/0.317, allocations: 101.7 kB / 0.7913 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.317, allocations: 0 / 0.7913 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.317, allocations: 8 kB / 0.7913 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.317, allocations: 4 kB / 0.7913 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002901/0.3173, allocations: 83.92 kB / 0.7914 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006242/0.3179, allocations: 344.6 kB / 0.7917 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003059/0.3183, allocations: 102.5 kB / 0.7918 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/0.3185, allocations: 52.95 kB / 0.7918 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.3185, allocations: 4 kB / 0.7919 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003313/0.3188, allocations: 115.4 kB / 0.792 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.482e-06/0.3188, allocations: 4 kB / 0.792 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006579/0.3195, allocations: 235.2 kB / 0.7922 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.846e-05/0.3196, allocations: 85.09 kB / 0.7923 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.3197, allocations: 136.2 kB / 0.7924 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.3198, allocations: 29.69 kB / 0.7924 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.035e-05/0.3198, allocations: 99.98 kB / 0.7925 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.3199, allocations: 15.81 kB / 0.7925 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.3199, allocations: 17.7 kB / 0.7926 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.3201, allocations: 322.8 kB / 0.7929 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.3202, allocations: 59.97 kB / 0.7929 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.3204, allocations: 63.89 kB / 0.793 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000353/0.3208, allocations: 181.9 kB / 0.7932 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3208, allocations: 0 / 0.7932 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004424/0.3212, allocations: 228.9 kB / 0.7934 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.279e-05/0.3213, allocations: 59.39 kB / 0.7934 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3213, allocations: 0 / 0.7934 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.3213, allocations: 4 kB / 0.7934 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.3215, allocations: 15.98 kB / 0.7935 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3215, allocations: 0 / 0.7935 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.3216, allocations: 35.83 kB / 0.7935 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.3217, allocations: 7.938 kB / 0.7935 GB, free: 6.184 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.0002087/0.3219, allocations: 148.2 kB / 0.7936 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.3219, allocations: 11.91 kB / 0.7936 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.063e-05/0.3219, allocations: 16.66 kB / 0.7937 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.322, allocations: 0 / 0.7937 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.322, allocations: 0 / 0.7937 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.322, allocations: 8.266 kB / 0.7937 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006677/0.3227, allocations: 440.2 kB / 0.7941 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.3227, allocations: 7.984 kB / 0.7941 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.443e-05/0.3228, allocations: 23.92 kB / 0.7941 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3228, allocations: 0 / 0.7941 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.3228, allocations: 0 / 0.7941 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.3228, allocations: 7.875 kB / 0.7941 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.3228, allocations: 4 kB / 0.7941 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004655/0.3233, allocations: 289 kB / 0.7944 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.28e-05/0.3233, allocations: 85.02 kB / 0.7945 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.3234, allocations: 4 kB / 0.7945 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.3235, allocations: 27.91 kB / 0.7945 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.3237, allocations: 19.98 kB / 0.7945 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.3237, allocations: 3.984 kB / 0.7945 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.761e-05/0.3238, allocations: 106.4 kB / 0.7946 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3238, allocations: 0 / 0.7946 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002291/0.324, allocations: 20 kB / 0.7947 GB, free: 4.867 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.0001376/0.3241, allocations: 99.25 kB / 0.7948 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004864/0.3246, allocations: 238.7 kB / 0.795 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3246, allocations: 0 / 0.795 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002205/0.3249, allocations: 123.4 kB / 0.7951 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.3252, allocations: 4 kB / 0.7951 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005941/0.3258, allocations: 258.7 kB / 0.7954 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.3261, allocations: 0.6926 MB / 0.796 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.418e-05/0.3262, allocations: 11.44 kB / 0.796 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of SimCode: time 2.91e-07/0.3262, allocations: 0 / 0.796 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of Templates: time 0.002984/0.3292, allocations: 1.247 MB / 0.7973 GB, free: 2.117 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