Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, 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.001955/0.001956, allocations: 195.1 kB / 16.79 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.033/2.033, allocations: 205.1 MB / 222.6 MB, free: 4.754 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.763/1.763, allocations: 292.3 MB / 0.5491 GB, free: 13.67 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.001372/0.001372, allocations: 61.38 kB / 0.6715 GB, free: 26.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3323, allocations: 114.5 MB / 0.7833 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002186/0.3346, allocations: 0.6766 MB / 0.784 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001791/0.3364, allocations: 1.118 MB / 0.7851 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.263e-05/0.3364, allocations: 0 / 0.7851 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.101e-05/0.3365, allocations: 3.938 kB / 0.7851 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.636e-05/0.3366, allocations: 7.922 kB / 0.7851 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005097/0.3371, allocations: 115.4 kB / 0.7852 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.3373, allocations: 71.89 kB / 0.7853 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.3374, allocations: 15.98 kB / 0.7853 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.582e-05/0.3375, allocations: 27.92 kB / 0.7853 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.3376, allocations: 27.89 kB / 0.7854 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.3376, allocations: 8 kB / 0.7854 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.136e-05/0.3377, allocations: 15.98 kB / 0.7854 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.969e-05/0.3377, allocations: 11.92 kB / 0.7854 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.94e-05/0.3378, allocations: 23.92 kB / 0.7854 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.338, allocations: 59.88 kB / 0.7855 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.338, allocations: 0 / 0.7855 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.615e-06/0.338, allocations: 3.938 kB / 0.7855 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.338, allocations: 0 / 0.7855 GB, free: 11.84 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007971/0.3388, allocations: 385.4 kB / 0.7858 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.109e-05/0.3389, allocations: 8.031 kB / 0.7858 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.589e-05/0.339, allocations: 8.844 kB / 0.7859 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.3392, allocations: 164.4 kB / 0.786 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/0.3393, allocations: 4.375 kB / 0.786 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.3393, allocations: 4.375 kB / 0.786 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.3394, allocations: 38.25 kB / 0.7861 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.3394, allocations: 4.125 kB / 0.7861 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.3395, allocations: 7.938 kB / 0.7861 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.3395, allocations: 0 / 0.7861 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.307e-05/0.3395, allocations: 15.98 kB / 0.7861 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005198/0.3401, allocations: 288.8 kB / 0.7864 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.234e-05/0.3401, allocations: 30.5 kB / 0.7864 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.205e-05/0.3402, allocations: 16.92 kB / 0.7864 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.3402, allocations: 4 kB / 0.7864 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002002/0.3404, allocations: 67.33 kB / 0.7865 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.3404, allocations: 0 / 0.7865 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002433/0.3407, allocations: 69.59 kB / 0.7865 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.282e-05/0.3407, allocations: 55.34 kB / 0.7866 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.3409, allocations: 113.8 kB / 0.7867 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.3409, allocations: 29.7 kB / 0.7867 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.149e-05/0.341, allocations: 96.06 kB / 0.7868 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.386e-05/0.341, allocations: 7.906 kB / 0.7868 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.738e-05/0.3411, allocations: 29.7 kB / 0.7869 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3412, allocations: 310.8 kB / 0.7872 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.707e-05/0.3413, allocations: 35.98 kB / 0.7872 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.3414, allocations: 54.55 kB / 0.7872 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.3416, allocations: 84.27 kB / 0.7873 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.3416, allocations: 11.88 kB / 0.7873 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002767/0.3419, allocations: 147.2 kB / 0.7875 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.2e-05/0.3419, allocations: 33.7 kB / 0.7875 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.3419, allocations: 0 / 0.7875 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.342, allocations: 0 / 0.7875 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.378e-05/0.342, allocations: 7.984 kB / 0.7875 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.342, allocations: 0 / 0.7875 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002214/0.3423, allocations: 32.03 kB / 0.7875 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.3423, allocations: 4 kB / 0.7875 GB, free: 9.441 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y,booToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.000122/0.3424, allocations: 126.4 kB / 0.7877 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.079e-05/0.3424, allocations: 3.984 kB / 0.7877 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.576e-05/0.3425, allocations: 7.906 kB / 0.7877 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3425, allocations: 0 / 0.7877 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.3425, allocations: 0 / 0.7877 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3425, allocations: 0 / 0.7877 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.3427, allocations: 173.6 kB / 0.7878 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3427, allocations: 0 / 0.7878 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.391e-05/0.3427, allocations: 0 / 0.7878 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3427, allocations: 240 / 0.7878 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.3427, allocations: 4 kB / 0.7878 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3427, allocations: 3.938 kB / 0.7878 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3427, allocations: 0 / 0.7878 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.3429, allocations: 88.95 kB / 0.7879 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.616e-05/0.3429, allocations: 85.16 kB / 0.788 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.343, allocations: 8 kB / 0.788 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.34e-05/0.343, allocations: 3.938 kB / 0.788 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/0.343, allocations: 4 kB / 0.788 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.343, allocations: 4 kB / 0.788 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.158e-05/0.3431, allocations: 83.27 kB / 0.7881 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3431, allocations: 0 / 0.7881 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002074/0.3433, allocations: 20 kB / 0.7881 GB, free: 8.734 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,$whenCondition2,booToInt.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001854/0.3435, allocations: 107.2 kB / 0.7882 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002281/0.3437, allocations: 127.3 kB / 0.7884 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3438, allocations: 0 / 0.7884 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.16e-05/0.3438, allocations: 12 kB / 0.7884 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.344, allocations: 11.92 kB / 0.7884 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003666/0.3444, allocations: 173.5 kB / 0.7885 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.3447, allocations: 0.677 MB / 0.7892 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.897e-05/0.3448, allocations: 11.44 kB / 0.7892 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of SimCode: time 1.91e-07/0.3448, allocations: 0 / 0.7892 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of Templates: time 0.002779/0.3476, allocations: 0.9273 MB / 0.7901 GB, free: 6.625 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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.Conversions.Validation.BooleanToIntegerCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToIntegerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToIntegerCalcHelperMain.o] Error 1