Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, 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.001423/0.001423, allocations: 193.9 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.911/1.911, allocations: 205.1 MB / 222.6 MB, free: 4.992 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.3 MB / 0.5491 GB, free: 13.68 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.00139/0.00139, allocations: 71.64 kB / 0.6715 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3332, allocations: 114.5 MB / 0.7833 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002061/0.3353, allocations: 0.7582 MB / 0.7841 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009593/0.3363, allocations: 0.8371 MB / 0.7849 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.132e-05/0.3363, allocations: 0 / 0.7849 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.912e-05/0.3364, allocations: 7.938 kB / 0.7849 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.388e-05/0.3365, allocations: 3.938 kB / 0.7849 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001423/0.3366, allocations: 19.98 kB / 0.7849 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.351e-05/0.3367, allocations: 43.91 kB / 0.785 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.3368, allocations: 15.98 kB / 0.785 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.208e-05/0.3369, allocations: 23.86 kB / 0.785 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.433e-05/0.337, allocations: 15.92 kB / 0.785 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.337, allocations: 4 kB / 0.785 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.489e-05/0.337, allocations: 4 kB / 0.785 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.48e-05/0.337, allocations: 11.97 kB / 0.785 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.357e-05/0.3371, allocations: 23.86 kB / 0.7851 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.48e-05/0.3372, allocations: 35.94 kB / 0.7851 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3372, allocations: 3.938 kB / 0.7851 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.01e-07/0.3372, allocations: 0 / 0.7851 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.3372, allocations: 0 / 0.7851 GB, free: 12.2 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.0005494/0.3377, allocations: 355.6 kB / 0.7854 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.3378, allocations: 8.031 kB / 0.7855 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.3378, allocations: 4.938 kB / 0.7855 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.338, allocations: 168.2 kB / 0.7856 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.338, allocations: 12.38 kB / 0.7856 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.338, allocations: 384 / 0.7856 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.3382, allocations: 82.11 kB / 0.7857 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.3382, allocations: 192 / 0.7857 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.3383, allocations: 3.938 kB / 0.7857 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.3383, allocations: 0 / 0.7857 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002058/0.3385, allocations: 47.95 kB / 0.7858 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/0.3389, allocations: 292.8 kB / 0.786 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.3392, allocations: 66.47 kB / 0.7861 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.3393, allocations: 36.91 kB / 0.7861 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.3393, allocations: 0 / 0.7861 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.3393, allocations: 34.56 kB / 0.7862 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.3393, allocations: 0 / 0.7862 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0004054/0.3397, allocations: 105.5 kB / 0.7863 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.3398, allocations: 55.41 kB / 0.7863 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.072e-05/0.3399, allocations: 113.8 kB / 0.7864 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.3399, allocations: 29.7 kB / 0.7865 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.864e-05/0.3399, allocations: 84.14 kB / 0.7865 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.34, allocations: 11.81 kB / 0.7865 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/0.34, allocations: 21.7 kB / 0.7866 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.3401, allocations: 310.8 kB / 0.7869 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.951e-05/0.3402, allocations: 23.97 kB / 0.7869 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.008e-05/0.3403, allocations: 28.16 kB / 0.7869 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.3405, allocations: 60.84 kB / 0.787 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3405, allocations: 0 / 0.787 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002336/0.3408, allocations: 77.64 kB / 0.787 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.3408, allocations: 8 kB / 0.7871 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.361e-06/0.3408, allocations: 0 / 0.7871 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.3408, allocations: 3.938 kB / 0.7871 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.341, allocations: 11.98 kB / 0.7871 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.341, allocations: 4 kB / 0.7871 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.809e-05/0.3411, allocations: 11.98 kB / 0.7871 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.3411, allocations: 4 kB / 0.7871 GB, free: 9.938 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 8.293e-05/0.3412, allocations: 114.4 kB / 0.7872 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/0.3412, allocations: 11.89 kB / 0.7872 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.019e-05/0.3412, allocations: 11.84 kB / 0.7872 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3412, allocations: 0 / 0.7872 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.3412, allocations: 0 / 0.7872 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3413, allocations: 4 kB / 0.7872 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.3414, allocations: 181.6 kB / 0.7874 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3415, allocations: 3.938 kB / 0.7874 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.956e-05/0.3415, allocations: 15.98 kB / 0.7874 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3416, allocations: 0 / 0.7874 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.3416, allocations: 4 kB / 0.7874 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3416, allocations: 0 / 0.7874 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3416, allocations: 4 kB / 0.7874 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.3419, allocations: 187.4 kB / 0.7876 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.291e-05/0.3419, allocations: 81.02 kB / 0.7877 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.3419, allocations: 0 / 0.7877 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.342, allocations: 7.984 kB / 0.7877 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.863e-05/0.3421, allocations: 11.98 kB / 0.7877 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.3421, allocations: 4 kB / 0.7877 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.235e-05/0.3422, allocations: 83.27 kB / 0.7878 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3422, allocations: 0 / 0.7878 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002171/0.3424, allocations: 16 kB / 0.7878 GB, free: 9.109 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: 2 (intGreThr.y,reaToInt.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): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001218/0.3425, allocations: 95.25 kB / 0.7879 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002421/0.3428, allocations: 59.88 kB / 0.7879 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3428, allocations: 0 / 0.7879 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.3429, allocations: 27.98 kB / 0.788 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.3432, allocations: 15.92 kB / 0.788 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003831/0.3436, allocations: 161 kB / 0.7881 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.3439, allocations: 0.6809 MB / 0.7888 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.478e-05/0.3439, allocations: 15.42 kB / 0.7888 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of SimCode: time 6.21e-07/0.3439, allocations: 0 / 0.7888 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of Templates: time 0.002059/0.346, allocations: 0.8172 MB / 0.7896 GB, free: 7.18 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.Integers.Validation.GreaterThresholdCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThresholdCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThresholdCalcHelperMain.o] Error 1