Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.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.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009721/0.0009718, 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.001296/0.001296, allocations: 176 kB / 16.58 MB, free: 6.859 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.524/1.524, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.839/2.839, allocations: 436.7 MB / 0.7113 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003962/0.0003968, allocations: 12 kB / 0.8717 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8965/0.8969, allocations: 153.7 MB / 1.022 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.0008822/0.8978, allocations: 416.6 kB / 1.022 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001455/0.8993, allocations: 1.171 MB / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.162e-05/0.8993, allocations: 4 kB / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.648e-05/0.8994, allocations: 0 / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.195e-05/0.8995, allocations: 15.84 kB / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005965/0.9001, allocations: 200.7 kB / 1.023 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.9002, allocations: 135.7 kB / 1.024 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.5e-05/0.9003, allocations: 15.98 kB / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.603e-05/0.9004, allocations: 55.89 kB / 1.024 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.9005, allocations: 51.86 kB / 1.024 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/0.9006, allocations: 8 kB / 1.024 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.349e-05/0.9006, allocations: 27.97 kB / 1.024 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.824e-05/0.9007, allocations: 7.938 kB / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.997e-05/0.9007, allocations: 37.7 kB / 1.024 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.9009, allocations: 107.7 kB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.9009, allocations: 0 / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.926e-06/0.9009, allocations: 0 / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.9009, allocations: 0 / 1.024 GB, free: 14.84 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.0004607/0.9014, allocations: 416.5 kB / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.9015, allocations: 11.98 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.291e-05/0.9015, allocations: 12 kB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.9016, allocations: 174.9 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.9017, allocations: 4 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.967e-05/0.9017, allocations: 15.98 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.9018, allocations: 49.64 kB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.9019, allocations: 0 / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.9019, allocations: 3.984 kB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.9019, allocations: 8 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.581e-05/0.9019, allocations: 8 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005209/0.9025, allocations: 360.7 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.438e-05/0.9026, allocations: 34.58 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.062e-05/0.9026, allocations: 24.88 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.666e-06/0.9026, allocations: 4 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.9028, allocations: 95.2 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 3.587e-06/0.9028, allocations: 0 / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0002762/0.9031, allocations: 125.5 kB / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.9031, allocations: 55.39 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.9033, allocations: 121.8 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.9033, allocations: 37.69 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.727e-05/0.9034, allocations: 92.38 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.9034, allocations: 19.75 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.88e-05/0.9034, allocations: 4 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.9036, allocations: 318.8 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.9037, allocations: 63.97 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.9039, allocations: 108.2 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.904, allocations: 123.3 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.9041, allocations: 4 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004161/0.9045, allocations: 276.8 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.296e-05/0.9045, allocations: 71.39 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.9046, allocations: 4.156 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.9046, allocations: 4 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.549e-05/0.9046, allocations: 4 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.9046, allocations: 3.938 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003462/0.905, allocations: 83.92 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.905, allocations: 12 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.onCounter.y,onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$PRE.reset.y,reset.y,$whenCondition1,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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.0001171/0.9052, allocations: 133.8 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.393e-05/0.9052, allocations: 7.906 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.542e-05/0.9052, allocations: 8.375 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.9052, allocations: 8 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.9052, allocations: 384 / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.9052, allocations: 0 / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003415/0.9056, allocations: 370.3 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.9056, allocations: 4 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.016e-05/0.9056, allocations: 3.938 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.9056, allocations: 0 / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.9056, allocations: 3.938 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.9056, allocations: 4 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.9056, allocations: 4 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.9058, allocations: 203.3 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.863e-05/0.9059, allocations: 77.11 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.9059, allocations: 4 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.888e-05/0.906, allocations: 0 / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.906, allocations: 11.98 kB / 1.027 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.906, allocations: 4 kB / 1.027 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.08e-05/0.9061, allocations: 95.27 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9061, allocations: 0 / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002737/0.9064, allocations: 32 kB / 1.027 GB, free: 10.79 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: 9 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,onCounter.y,booPul.y,reset.y) * Number of discrete states: 1 (onCounter.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001562/0.9066, allocations: 103.2 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003419/0.9069, allocations: 254.6 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.9069, allocations: 0 / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.922e-05/0.907, allocations: 36.3 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.9073, allocations: 24.31 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003545/0.9076, allocations: 213 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.9079, allocations: 0.7005 MB / 1.029 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.049e-05/0.908, allocations: 11.44 kB / 1.029 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of SimCode: time 1.703e-06/0.908, allocations: 0 / 1.029 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of Templates: time 0.003171/0.9111, allocations: 1.474 MB / 1.03 GB, free: 7.918 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.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.Integers.Validation.OnCounterCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounterCalcHelperMain.o] Error 1