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.00147/0.00147, 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.002247/0.002247, allocations: 193.2 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 1.661/1.661, allocations: 205.1 MB / 222.6 MB, free: 5.027 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.888/1.888, allocations: 292.3 MB / 0.5491 GB, free: 13.64 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.001695/0.001695, allocations: 65.3 kB / 0.6715 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3487, allocations: 114.5 MB / 0.7833 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002639/0.3514, allocations: 0.8212 MB / 0.7841 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001776/0.3532, allocations: 1.165 MB / 0.7853 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.689e-05/0.3532, allocations: 0 / 0.7853 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.86e-05/0.3533, allocations: 3.938 kB / 0.7853 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.307e-05/0.3534, allocations: 11.92 kB / 0.7853 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004799/0.3539, allocations: 114.9 kB / 0.7854 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.3541, allocations: 123.7 kB / 0.7855 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.3542, allocations: 12 kB / 0.7855 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.3543, allocations: 51.83 kB / 0.7856 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.3544, allocations: 39.88 kB / 0.7856 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.993e-05/0.3545, allocations: 11.94 kB / 0.7856 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.624e-05/0.3545, allocations: 19.98 kB / 0.7857 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.728e-05/0.3546, allocations: 7.984 kB / 0.7857 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.99e-05/0.3547, allocations: 43.86 kB / 0.7857 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.3549, allocations: 80.09 kB / 0.7858 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/0.3549, allocations: 0 / 0.7858 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.967e-06/0.3549, allocations: 0 / 0.7858 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.3549, allocations: 7.938 kB / 0.7858 GB, free: 11.47 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.000845/0.3558, allocations: 420.9 kB / 0.7862 GB, free: 11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.3558, allocations: 12.03 kB / 0.7862 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.366e-05/0.3559, allocations: 8.844 kB / 0.7862 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.3561, allocations: 187.1 kB / 0.7864 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.3561, allocations: 4.375 kB / 0.7864 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.966e-05/0.3561, allocations: 12.31 kB / 0.7864 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/0.3564, allocations: 82.19 kB / 0.7865 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.3564, allocations: 192 / 0.7865 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.3565, allocations: 7.938 kB / 0.7865 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.3565, allocations: 0 / 0.7865 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003149/0.3568, allocations: 75.92 kB / 0.7866 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005519/0.3574, allocations: 324.7 kB / 0.7869 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.3576, allocations: 58.47 kB / 0.7869 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.3578, allocations: 52.84 kB / 0.787 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.3578, allocations: 0 / 0.787 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003527/0.3581, allocations: 87.36 kB / 0.7871 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.3582, allocations: 0 / 0.7871 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0006217/0.3588, allocations: 169.4 kB / 0.7872 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.3588, allocations: 55.41 kB / 0.7873 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.359, allocations: 122.1 kB / 0.7874 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.359, allocations: 25.7 kB / 0.7874 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.627e-05/0.3591, allocations: 96.12 kB / 0.7875 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.3592, allocations: 19.75 kB / 0.7875 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.849e-05/0.3592, allocations: 29.7 kB / 0.7876 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.3594, allocations: 322.8 kB / 0.7879 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.3596, allocations: 59.95 kB / 0.7879 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002285/0.3599, allocations: 82.52 kB / 0.788 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003743/0.3603, allocations: 152.2 kB / 0.7881 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3603, allocations: 0 / 0.7881 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005466/0.3608, allocations: 207.1 kB / 0.7883 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.597e-05/0.3609, allocations: 41.69 kB / 0.7884 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.3609, allocations: 0 / 0.7884 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.3609, allocations: 0 / 0.7884 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.3611, allocations: 15.98 kB / 0.7884 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.3611, allocations: 3.938 kB / 0.7884 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002405/0.3614, allocations: 44 kB / 0.7884 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.894e-05/0.3614, allocations: 8 kB / 0.7884 GB, free: 8.473 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.0001256/0.3615, allocations: 125.7 kB / 0.7886 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.406e-05/0.3616, allocations: 3.906 kB / 0.7886 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.817e-05/0.3616, allocations: 16.36 kB / 0.7886 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.3616, allocations: 0 / 0.7886 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3616, allocations: 4 kB / 0.7886 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3616, allocations: 0 / 0.7886 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.3618, allocations: 177.6 kB / 0.7888 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.3618, allocations: 0 / 0.7888 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.3619, allocations: 24.28 kB / 0.7888 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.362, allocations: 0 / 0.7888 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.362, allocations: 4 kB / 0.7888 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.517e-05/0.362, allocations: 4 kB / 0.7888 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.362, allocations: 96 / 0.7888 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003786/0.3624, allocations: 160.8 kB / 0.7889 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.368e-05/0.3625, allocations: 81.02 kB / 0.789 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.3625, allocations: 0 / 0.789 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.37e-05/0.3626, allocations: 15.98 kB / 0.789 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.281e-05/0.3626, allocations: 7.984 kB / 0.789 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.3627, allocations: 4 kB / 0.789 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.369e-05/0.3627, allocations: 99.27 kB / 0.7891 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3628, allocations: 0 / 0.7891 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002424/0.363, allocations: 24 kB / 0.7892 GB, free: 7.641 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.0002404/0.3632, allocations: 107.2 kB / 0.7893 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005364/0.3638, allocations: 191.2 kB / 0.7895 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.3638, allocations: 0 / 0.7895 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.364, allocations: 47.97 kB / 0.7895 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.3643, allocations: 17.89 kB / 0.7895 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005163/0.3648, allocations: 212.7 kB / 0.7897 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004469/0.3653, allocations: 0.6926 MB / 0.7904 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.277e-05/0.3653, allocations: 11.44 kB / 0.7904 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.3653, allocations: 0 / 0.7904 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of Templates: time 0.003594/0.3689, allocations: 1.303 MB / 0.7917 GB, free: 5.004 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