Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|act1.y|act2.y|act3.y|reqCou.nInc",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|act1.y|act2.y|act3.y|reqCou.nInc",fileNamePrefix="Buildings_latest_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.001072/0.001072, allocations: 99.2 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.001355/0.001355, allocations: 175.3 kB / 16.58 MB, free: 6.418 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.385/1.385, 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.851/2.851, allocations: 436.7 MB / 0.7113 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005539/0.0005541, allocations: 8 kB / 0.8717 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8885/0.889, allocations: 153.7 MB / 1.022 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.00188/0.891, allocations: 1.223 MB / 1.023 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000719/0.8917, allocations: 427.3 kB / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.142e-05/0.8918, allocations: 4 kB / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.374e-05/0.8918, allocations: 3.938 kB / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.577e-05/0.8919, allocations: 11.86 kB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001548/0.8921, allocations: 23.97 kB / 1.023 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.623e-05/0.8922, allocations: 71.77 kB / 1.023 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.105e-05/0.8923, allocations: 20.17 kB / 1.023 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.468e-05/0.8924, allocations: 31.86 kB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.513e-05/0.8924, allocations: 31.89 kB / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.8925, allocations: 7.984 kB / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.586e-05/0.8925, allocations: 4 kB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.717e-05/0.8925, allocations: 3.938 kB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.174e-05/0.8926, allocations: 45.58 kB / 1.024 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.7e-05/0.8927, allocations: 49.88 kB / 1.024 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.8927, allocations: 4 kB / 1.024 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.332e-06/0.8927, allocations: 0 / 1.024 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.026e-06/0.8927, allocations: 0 / 1.024 GB, free: 15.19 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005987/0.8933, allocations: 438.4 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.8934, allocations: 15.98 kB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.959e-05/0.8934, allocations: 4 kB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.8936, allocations: 190.9 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.8937, allocations: 0 / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.8937, allocations: 12 kB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.894, allocations: 97.53 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.894, allocations: 4 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.894, allocations: 3.984 kB / 1.024 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.894, allocations: 4 kB / 1.024 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002644/0.8943, allocations: 83.94 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006308/0.8949, allocations: 356.5 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.8952, allocations: 94.52 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.8954, allocations: 60.94 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.8954, allocations: 0 / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000397/0.8958, allocations: 111.3 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 4.989e-06/0.8958, allocations: 96 / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0007747/0.8966, allocations: 235.1 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.8967, allocations: 89.09 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003197/0.897, allocations: 132.6 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.897, allocations: 29.7 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.8971, allocations: 96.05 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.8972, allocations: 23.73 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.912e-06/0.8972, allocations: 0 / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.8974, allocations: 322.8 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.8975, allocations: 51.95 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.8977, allocations: 71.83 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.8979, allocations: 99.38 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.8979, allocations: 0 / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004431/0.8984, allocations: 228.9 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.323e-05/0.8984, allocations: 59.41 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.8984, allocations: 0 / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.958e-06/0.8985, allocations: 4 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.8986, allocations: 19.98 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.8986, allocations: 3.984 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.8987, allocations: 19.98 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.8988, allocations: 4 kB / 1.026 GB, free: 12 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: 6 ($whenCondition1,reqCou.nInc,$PRE.act1.T_start,act1.T_start,$PRE.act1.count,act1.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002211/0.899, allocations: 151.5 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.912e-05/0.899, allocations: 19.89 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.597e-05/0.8991, allocations: 8.719 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.8991, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.8991, allocations: 4 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.8991, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006097/0.8997, allocations: 452 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-06/0.8997, allocations: 0 / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.8998, allocations: 19.98 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.8998, allocations: 0 / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.8999, allocations: 3.938 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.8999, allocations: 0 / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.8999, allocations: 7.984 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004298/0.9003, allocations: 285.4 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.134e-05/0.9004, allocations: 89.03 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.9004, allocations: 4 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.9005, allocations: 15.98 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.9007, allocations: 23.97 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.9007, allocations: 4.281 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.673e-05/0.9008, allocations: 103.2 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.9008, allocations: 0 / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002296/0.901, allocations: 27.84 kB / 1.028 GB, free: 10.68 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: 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 (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.0001375/0.9012, allocations: 99.25 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004318/0.9016, allocations: 250.7 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.9016, allocations: 0 / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001975/0.9018, allocations: 115.4 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.9021, allocations: 16.34 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005012/0.9026, allocations: 242.7 kB / 1.028 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005/0.9031, allocations: 0.6926 MB / 1.029 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.29e-05/0.9032, allocations: 15.42 kB / 1.029 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.9032, allocations: 0 / 1.029 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of Templates: time 0.002939/0.9061, allocations: 1.247 MB / 1.03 GB, free: 7.934 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounterCalcHelperMain.o OMCppBuildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounterCalcHelperMain.o] Error 1