Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.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.IntegerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, 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.002027/0.002027, allocations: 194.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 1.747/1.747, allocations: 205.1 MB / 222.6 MB, free: 4.785 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.938/1.938, allocations: 292.3 MB / 0.5491 GB, free: 13.66 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.001432/0.001433, allocations: 66.11 kB / 0.6715 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3326, allocations: 114.5 MB / 0.7833 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch): time 0.002485/0.3352, allocations: 0.9001 MB / 0.7842 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001879/0.3371, allocations: 1.328 MB / 0.7855 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.979e-05/0.3371, allocations: 0 / 0.7855 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.537e-05/0.3372, allocations: 3.938 kB / 0.7855 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.3373, allocations: 19.84 kB / 0.7855 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008293/0.3381, allocations: 287.6 kB / 0.7858 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002658/0.3384, allocations: 263.5 kB / 0.7861 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.3386, allocations: 41.42 kB / 0.7861 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.3387, allocations: 103.8 kB / 0.7862 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.3389, allocations: 91.62 kB / 0.7863 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.985e-05/0.339, allocations: 16 kB / 0.7863 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.3391, allocations: 27.98 kB / 0.7863 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.059e-05/0.3391, allocations: 23.92 kB / 0.7864 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.3393, allocations: 87.67 kB / 0.7864 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.3395, allocations: 183.8 kB / 0.7866 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3395, allocations: 4 kB / 0.7866 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3395, allocations: 4 kB / 0.7866 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.3395, allocations: 0 / 0.7866 GB, free: 10.63 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007545/0.3403, allocations: 0.5236 MB / 0.7871 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.3404, allocations: 8.031 kB / 0.7871 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.841e-05/0.3404, allocations: 20.78 kB / 0.7872 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.3406, allocations: 188.6 kB / 0.7873 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.422e-05/0.3407, allocations: 12.38 kB / 0.7874 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.925e-05/0.3407, allocations: 24.36 kB / 0.7874 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.3409, allocations: 89.73 kB / 0.7875 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3409, allocations: 4 kB / 0.7875 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.341, allocations: 8 kB / 0.7875 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.341, allocations: 0 / 0.7875 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.3411, allocations: 58.66 kB / 0.7875 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007473/0.3418, allocations: 488.2 kB / 0.788 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.3421, allocations: 78.67 kB / 0.7881 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.524e-05/0.3422, allocations: 32.84 kB / 0.7881 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.3422, allocations: 0 / 0.7881 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002285/0.3424, allocations: 111.3 kB / 0.7882 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.3424, allocations: 0 / 0.7882 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.000391/0.3428, allocations: 172.3 kB / 0.7884 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.3429, allocations: 63.33 kB / 0.7884 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.3431, allocations: 166.3 kB / 0.7886 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.051e-05/0.3431, allocations: 37.7 kB / 0.7886 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.3433, allocations: 112 kB / 0.7887 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.3433, allocations: 23.66 kB / 0.7888 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/0.3435, allocations: 77.66 kB / 0.7888 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.3436, allocations: 322.8 kB / 0.7891 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002179/0.3439, allocations: 99.95 kB / 0.7892 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002563/0.3441, allocations: 148.9 kB / 0.7894 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003317/0.3445, allocations: 257.8 kB / 0.7896 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3445, allocations: 0 / 0.7896 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006687/0.3451, allocations: 402.2 kB / 0.79 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.012e-05/0.3452, allocations: 101.1 kB / 0.7901 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.3453, allocations: 8.188 kB / 0.7901 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.3453, allocations: 3.938 kB / 0.7901 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.007e-05/0.3454, allocations: 15.98 kB / 0.7901 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.3454, allocations: 4 kB / 0.7901 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005194/0.3459, allocations: 83.75 kB / 0.7902 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.182e-05/0.346, allocations: 19.98 kB / 0.7902 GB, free: 6.602 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: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booToInt1.y,booToInt.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,integerSwitch.y,integerSwitch.u3,integerSwitch.u1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 3 * 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.0001845/0.3462, allocations: 137.8 kB / 0.7904 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.3462, allocations: 11.91 kB / 0.7904 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.204e-05/0.3462, allocations: 16.78 kB / 0.7904 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.3463, allocations: 4 kB / 0.7904 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.3463, allocations: 0 / 0.7904 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.3463, allocations: 3.984 kB / 0.7904 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.3465, allocations: 221.5 kB / 0.7906 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3465, allocations: 0 / 0.7906 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.268e-05/0.3466, allocations: 12 kB / 0.7906 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.3466, allocations: 3.984 kB / 0.7906 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.3466, allocations: 15.86 kB / 0.7906 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3466, allocations: 0 / 0.7906 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3466, allocations: 4 kB / 0.7906 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.3469, allocations: 153 kB / 0.7908 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.773e-05/0.347, allocations: 92.86 kB / 0.7909 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.347, allocations: 3.938 kB / 0.7909 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.252e-05/0.347, allocations: 8 kB / 0.7909 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.3471, allocations: 11.92 kB / 0.7909 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.3471, allocations: 11.98 kB / 0.7909 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.989e-05/0.3472, allocations: 111.3 kB / 0.791 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3472, allocations: 3.938 kB / 0.791 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002875/0.3475, allocations: 51.98 kB / 0.7911 GB, free: 5.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: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0002355/0.3478, allocations: 112.9 kB / 0.7912 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006171/0.3484, allocations: 386 kB / 0.7915 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3484, allocations: 0 / 0.7915 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.3485, allocations: 59.91 kB / 0.7916 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.3489, allocations: 22.84 kB / 0.7916 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006145/0.3495, allocations: 294.8 kB / 0.7919 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.3499, allocations: 0.7126 MB / 0.7926 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.3499, allocations: 19.44 kB / 0.7926 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of SimCode: time 5.61e-07/0.3499, allocations: 0 / 0.7926 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of Templates: time 0.004689/0.3546, allocations: 2.261 MB / 0.7948 GB, free: 1.711 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.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.IntegerSwitchCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitchCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitchCalcHelperMain.o] Error 1