Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.000928/0.0009282, allocations: 91.92 kB / 16.02 MB, free: 80 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.001457/0.001458, allocations: 176.8 kB / 16.92 MB, free: 6.652 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.922/1.922, allocations: 205.4 MB / 223.1 MB, free: 5.457 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.832/1.832, 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.0005769/0.0005772, allocations: 15.22 kB / 0.675 GB, free: 25.74 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3213, allocations: 116.3 MB / 0.7886 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001373/0.3227, allocations: 413.6 kB / 0.7889 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00235/0.3251, allocations: 1.22 MB / 0.7901 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.646e-05/0.3251, allocations: 0 / 0.7901 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.348e-05/0.3252, allocations: 0 / 0.7901 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.287e-05/0.3253, allocations: 7.938 kB / 0.7901 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000885/0.3262, allocations: 206.4 kB / 0.7903 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000294/0.3265, allocations: 155.8 kB / 0.7905 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.3266, allocations: 7.984 kB / 0.7905 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.3268, allocations: 63.83 kB / 0.7906 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001749/0.327, allocations: 51.86 kB / 0.7906 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.573e-05/0.3271, allocations: 8 kB / 0.7906 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.3272, allocations: 23.98 kB / 0.7906 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.295e-05/0.3272, allocations: 11.94 kB / 0.7907 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.3274, allocations: 77.52 kB / 0.7907 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.3276, allocations: 116 kB / 0.7908 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3276, allocations: 0 / 0.7908 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3277, allocations: 0 / 0.7908 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.3277, allocations: 0 / 0.7908 GB, free: 9.207 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007088/0.3284, allocations: 410.8 kB / 0.7912 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.3285, allocations: 8.031 kB / 0.7912 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.161e-05/0.3285, allocations: 8.938 kB / 0.7912 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.3287, allocations: 172.3 kB / 0.7914 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.117e-05/0.3288, allocations: 8.375 kB / 0.7914 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.852e-05/0.3289, allocations: 16.3 kB / 0.7914 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.3291, allocations: 46.25 kB / 0.7915 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.3291, allocations: 3.938 kB / 0.7915 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.3291, allocations: 3.984 kB / 0.7915 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.3291, allocations: 3.938 kB / 0.7915 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.244e-05/0.3292, allocations: 16 kB / 0.7915 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008512/0.3301, allocations: 360.7 kB / 0.7918 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.3302, allocations: 38.52 kB / 0.7919 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.118e-05/0.3303, allocations: 16.94 kB / 0.7919 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.3303, allocations: 0 / 0.7919 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003049/0.3306, allocations: 91.27 kB / 0.792 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 2.374e-06/0.3307, allocations: 4 kB / 0.792 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0004655/0.3311, allocations: 125.5 kB / 0.7921 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.844e-05/0.3312, allocations: 63.28 kB / 0.7922 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.3314, allocations: 117.8 kB / 0.7923 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.837e-05/0.3315, allocations: 33.69 kB / 0.7923 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.44e-05/0.3316, allocations: 92.36 kB / 0.7924 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.869e-05/0.3316, allocations: 19.72 kB / 0.7924 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.376e-05/0.3317, allocations: 25.7 kB / 0.7924 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.3319, allocations: 330.8 kB / 0.7928 GB, free: 7 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.332, allocations: 59.97 kB / 0.7928 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.3322, allocations: 106.4 kB / 0.7929 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/0.3325, allocations: 181.3 kB / 0.7931 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3325, allocations: 0 / 0.7931 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005024/0.333, allocations: 280.9 kB / 0.7934 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.565e-05/0.3331, allocations: 71.39 kB / 0.7934 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.3331, allocations: 160 / 0.7934 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.3331, allocations: 8 kB / 0.7934 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.975e-05/0.3332, allocations: 8 kB / 0.7934 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.3332, allocations: 3.938 kB / 0.7934 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004289/0.3336, allocations: 86.3 kB / 0.7935 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.83e-05/0.3337, allocations: 16 kB / 0.7935 GB, free: 6.113 MB / 0.6075 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 (onCounter.y,$PRE.onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,reset.y,$PRE.reset.y,$whenCondition2,booPul.y,$PRE.booPul.y,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001576/0.3339, allocations: 128.6 kB / 0.7937 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/0.3339, allocations: 7.906 kB / 0.7937 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.987e-05/0.3339, allocations: 12.45 kB / 0.7937 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.334, allocations: 4 kB / 0.7937 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.334, allocations: 7.938 kB / 0.7937 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.334, allocations: 0 / 0.7937 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003788/0.3344, allocations: 362.4 kB / 0.794 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3344, allocations: 0 / 0.794 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.12e-05/0.3344, allocations: 3.938 kB / 0.794 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3344, allocations: 0 / 0.794 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.3344, allocations: 4 kB / 0.7941 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3344, allocations: 3.938 kB / 0.7941 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3344, allocations: 4 kB / 0.7941 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.3347, allocations: 203.3 kB / 0.7943 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.352e-05/0.3348, allocations: 85.02 kB / 0.7943 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.3348, allocations: 0 / 0.7943 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.639e-05/0.3349, allocations: 4 kB / 0.7943 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.739e-05/0.3349, allocations: 7.984 kB / 0.7943 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/0.335, allocations: 7.938 kB / 0.7944 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.777e-05/0.3351, allocations: 95.31 kB / 0.7944 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3351, allocations: 4 kB / 0.7944 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002912/0.3354, allocations: 32 kB / 0.7945 GB, free: 5.059 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: 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 (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.0002331/0.3356, allocations: 103.2 kB / 0.7946 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000404/0.336, allocations: 258.6 kB / 0.7948 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.336, allocations: 0 / 0.7948 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.323e-05/0.3361, allocations: 35.98 kB / 0.7949 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.3364, allocations: 20.61 kB / 0.7949 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004389/0.3369, allocations: 216.7 kB / 0.7951 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.3372, allocations: 0.6888 MB / 0.7958 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.562e-05/0.3373, allocations: 19.42 kB / 0.7958 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of SimCode: time 5.91e-07/0.3373, allocations: 0 / 0.7958 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of Templates: time 0.003712/0.341, allocations: 1.467 MB / 0.7972 GB, free: 2.188 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.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.Controls.OBC.CDL.Integers.Validation.OnCounterCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounterCalcHelperMain.o] Error 1