Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.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.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001033, 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.0009567/0.0009567, allocations: 181.1 kB / 16.92 MB, free: 6.918 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.903/1.903, allocations: 205.4 MB / 223.1 MB, free: 5.523 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.943/1.943, allocations: 292.7 MB / 0.5509 GB, free: 14.44 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.0005585/0.0005585, allocations: 23.41 kB / 0.675 GB, free: 25.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3083, allocations: 116.3 MB / 0.7886 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001145/0.3095, allocations: 0.4902 MB / 0.789 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001831/0.3113, allocations: 1.146 MB / 0.7902 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.4e-05/0.3114, allocations: 0 / 0.7902 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.446e-05/0.3115, allocations: 4 kB / 0.7902 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.3116, allocations: 7.875 kB / 0.7902 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005502/0.3121, allocations: 123.2 kB / 0.7903 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.3123, allocations: 123.7 kB / 0.7904 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.3124, allocations: 12 kB / 0.7904 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.3126, allocations: 47.91 kB / 0.7905 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.3127, allocations: 39.88 kB / 0.7905 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.3127, allocations: 4 kB / 0.7905 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.18e-05/0.3128, allocations: 19.98 kB / 0.7905 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.68e-05/0.3129, allocations: 15.92 kB / 0.7905 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.779e-05/0.313, allocations: 61.55 kB / 0.7906 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.3131, allocations: 80.08 kB / 0.7907 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.3131, allocations: 4 kB / 0.7907 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.465e-06/0.3131, allocations: 0 / 0.7907 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.3131, allocations: 0 / 0.7907 GB, free: 9.379 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007174/0.3139, allocations: 424.8 kB / 0.7911 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.3139, allocations: 12.03 kB / 0.7911 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.252e-05/0.314, allocations: 12.84 kB / 0.7911 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.3141, allocations: 168.3 kB / 0.7913 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.408e-05/0.3142, allocations: 12.38 kB / 0.7913 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.045e-05/0.3142, allocations: 4.375 kB / 0.7913 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003152/0.3146, allocations: 90.14 kB / 0.7914 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.3146, allocations: 192 / 0.7914 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.3146, allocations: 7.922 kB / 0.7914 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.3146, allocations: 4 kB / 0.7914 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000335/0.3149, allocations: 95.92 kB / 0.7915 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005259/0.3155, allocations: 332.6 kB / 0.7918 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.3157, allocations: 66.53 kB / 0.7918 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/0.3159, allocations: 52.92 kB / 0.7919 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.3159, allocations: 0 / 0.7919 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003309/0.3162, allocations: 115.3 kB / 0.792 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.472e-06/0.3163, allocations: 0 / 0.792 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0006669/0.3169, allocations: 193.5 kB / 0.7922 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.317, allocations: 55.41 kB / 0.7922 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.3171, allocations: 129.1 kB / 0.7924 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.3171, allocations: 25.7 kB / 0.7924 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.363e-05/0.3172, allocations: 92.05 kB / 0.7925 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.3173, allocations: 23.73 kB / 0.7925 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.08e-05/0.3173, allocations: 17.72 kB / 0.7925 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3175, allocations: 322.8 kB / 0.7928 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.3177, allocations: 71.95 kB / 0.7929 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/0.3179, allocations: 94.45 kB / 0.793 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004561/0.3184, allocations: 160.2 kB / 0.7931 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3184, allocations: 0 / 0.7931 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005995/0.319, allocations: 235.3 kB / 0.7934 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.738e-05/0.3191, allocations: 37.69 kB / 0.7934 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3191, allocations: 4.062 kB / 0.7934 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.3191, allocations: 4 kB / 0.7934 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.3193, allocations: 23.92 kB / 0.7934 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.3193, allocations: 0 / 0.7934 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000287/0.3196, allocations: 63.84 kB / 0.7935 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.3196, allocations: 11.94 kB / 0.7935 GB, free: 6.211 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: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0001094/0.3197, allocations: 122.5 kB / 0.7936 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.809e-05/0.3198, allocations: 7.906 kB / 0.7936 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.828e-05/0.3198, allocations: 12.36 kB / 0.7936 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3198, allocations: 4 kB / 0.7936 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3198, allocations: 0 / 0.7936 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.3198, allocations: 4 kB / 0.7936 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.32, allocations: 181.6 kB / 0.7938 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.32, allocations: 96 / 0.7938 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.3201, allocations: 27.91 kB / 0.7938 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.3202, allocations: 320 / 0.7938 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.3202, allocations: 3.938 kB / 0.7938 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.3202, allocations: 8 kB / 0.7939 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3202, allocations: 0 / 0.7939 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004494/0.3206, allocations: 176.9 kB / 0.794 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.641e-05/0.3207, allocations: 81.11 kB / 0.7941 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.3207, allocations: 0 / 0.7941 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.147e-05/0.3208, allocations: 15.98 kB / 0.7941 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.3209, allocations: 11.98 kB / 0.7941 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.3209, allocations: 0 / 0.7941 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.508e-05/0.321, allocations: 99.27 kB / 0.7942 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.321, allocations: 0 / 0.7942 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002417/0.3212, allocations: 24 kB / 0.7942 GB, free: 5.352 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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.0001907/0.3214, allocations: 107.2 kB / 0.7943 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005438/0.322, allocations: 207.2 kB / 0.7945 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.322, allocations: 0 / 0.7945 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.3222, allocations: 64.02 kB / 0.7946 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.3224, allocations: 19.92 kB / 0.7946 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004501/0.3229, allocations: 220.2 kB / 0.7948 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.3232, allocations: 0.6848 MB / 0.7955 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.691e-05/0.3233, allocations: 11.44 kB / 0.7955 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of SimCode: time 3.91e-07/0.3233, allocations: 0 / 0.7955 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of Templates: time 0.003541/0.3268, allocations: 1.291 MB / 0.7968 GB, free: 2.691 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.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.Logical.Validation.SwitchCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.SwitchCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.SwitchCalcHelperMain.o] Error 1