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.0008846/0.0008846, allocations: 99.58 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.001114/0.001113, allocations: 181.9 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.861/1.861, allocations: 205.4 MB / 223.1 MB, free: 5.512 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.934/1.934, allocations: 292.7 MB / 0.5509 GB, free: 14.45 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.0005616/0.0005618, allocations: 21.64 kB / 0.675 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3472, allocations: 116.3 MB / 0.7886 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch): time 0.001243/0.3485, allocations: 0.5536 MB / 0.7891 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001931/0.3505, allocations: 1.324 MB / 0.7904 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.379e-05/0.3506, allocations: 0 / 0.7904 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.954e-05/0.3506, allocations: 7.922 kB / 0.7904 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.3507, allocations: 15.86 kB / 0.7904 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008926/0.3516, allocations: 296.9 kB / 0.7907 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003299/0.352, allocations: 263.5 kB / 0.7909 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.3521, allocations: 33.42 kB / 0.791 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.3523, allocations: 99.78 kB / 0.7911 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.3525, allocations: 83.64 kB / 0.7912 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.008e-05/0.3525, allocations: 16 kB / 0.7912 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.266e-05/0.3526, allocations: 27.98 kB / 0.7912 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.422e-05/0.3526, allocations: 15.92 kB / 0.7912 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.3528, allocations: 113.4 kB / 0.7913 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.353, allocations: 183.8 kB / 0.7915 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3531, allocations: 0 / 0.7915 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.744e-06/0.3531, allocations: 0 / 0.7915 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.141e-05/0.3531, allocations: 0 / 0.7915 GB, free: 8.516 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.0007476/0.3538, allocations: 484.3 kB / 0.792 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.3539, allocations: 12.03 kB / 0.792 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.354, allocations: 28.69 kB / 0.792 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.3542, allocations: 183.1 kB / 0.7922 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.304e-05/0.3543, allocations: 12.38 kB / 0.7922 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.256e-05/0.3543, allocations: 24.36 kB / 0.7922 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.3546, allocations: 93.73 kB / 0.7923 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.3546, allocations: 0 / 0.7923 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.3546, allocations: 4 kB / 0.7923 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.3546, allocations: 0 / 0.7923 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.3547, allocations: 55.91 kB / 0.7923 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008/0.3555, allocations: 496.2 kB / 0.7928 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/0.3558, allocations: 70.61 kB / 0.7929 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.876e-05/0.3559, allocations: 32.92 kB / 0.7929 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.3559, allocations: 0 / 0.7929 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001958/0.3561, allocations: 127.2 kB / 0.793 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.3561, allocations: 0 / 0.793 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0003984/0.3565, allocations: 168.6 kB / 0.7932 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.63e-05/0.3566, allocations: 55.34 kB / 0.7933 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.3567, allocations: 174.1 kB / 0.7934 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.87e-05/0.3568, allocations: 37.7 kB / 0.7935 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.163e-05/0.3569, allocations: 112 kB / 0.7936 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.3569, allocations: 31.56 kB / 0.7936 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.503e-05/0.357, allocations: 33.7 kB / 0.7936 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.3572, allocations: 322.8 kB / 0.7939 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/0.3574, allocations: 95.94 kB / 0.794 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.3576, allocations: 149.9 kB / 0.7942 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003617/0.358, allocations: 247 kB / 0.7944 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.358, allocations: 4 kB / 0.7944 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006458/0.3587, allocations: 401.4 kB / 0.7948 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.149e-05/0.3588, allocations: 105.1 kB / 0.7949 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.3588, allocations: 0 / 0.7949 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.237e-05/0.3588, allocations: 7.938 kB / 0.7949 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.76e-05/0.3589, allocations: 8 kB / 0.7949 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.3589, allocations: 4 kB / 0.7949 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005795/0.3595, allocations: 123.9 kB / 0.795 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.805e-05/0.3595, allocations: 15.98 kB / 0.795 GB, free: 4.543 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.000155/0.3597, allocations: 133.8 kB / 0.7952 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.3597, allocations: 19.8 kB / 0.7952 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.423e-05/0.3598, allocations: 20.78 kB / 0.7952 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3598, allocations: 0 / 0.7952 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.3598, allocations: 0 / 0.7952 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.3598, allocations: 4 kB / 0.7952 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.36, allocations: 213.6 kB / 0.7954 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.36, allocations: 0 / 0.7954 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.374e-05/0.3601, allocations: 12 kB / 0.7954 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.3601, allocations: 3.984 kB / 0.7954 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.3601, allocations: 7.938 kB / 0.7954 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3601, allocations: 3.938 kB / 0.7954 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3601, allocations: 0 / 0.7954 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.3604, allocations: 164.9 kB / 0.7956 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.895e-05/0.3604, allocations: 92.94 kB / 0.7957 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.3605, allocations: 11.94 kB / 0.7957 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.034e-05/0.3605, allocations: 0 / 0.7957 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.559e-05/0.3606, allocations: 11.98 kB / 0.7957 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.3606, allocations: 4 kB / 0.7957 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.113e-05/0.3607, allocations: 113 kB / 0.7958 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3607, allocations: 7.938 kB / 0.7958 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002688/0.361, allocations: 52 kB / 0.7959 GB, free: 3.586 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.000207/0.3612, allocations: 111.2 kB / 0.796 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006231/0.3618, allocations: 386 kB / 0.7964 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3618, allocations: 0 / 0.7964 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.356e-05/0.3619, allocations: 55.92 kB / 0.7964 GB, free: 3 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.3622, allocations: 28.34 kB / 0.7964 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005919/0.3628, allocations: 305.8 kB / 0.7967 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.3632, allocations: 0.7087 MB / 0.7974 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.865e-05/0.3633, allocations: 15.44 kB / 0.7974 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of SimCode: time 5.61e-07/0.3633, allocations: 0 / 0.7974 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of Templates: time 0.005008/0.3683, allocations: 2.254 MB / 0.7996 GB, free: 15.65 MB / 0.6231 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