Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01177/0.01177, allocations: 101.1 kB / 15.88 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00343/0.003431, allocations: 195.4 kB / 16.79 MB, free: 6.254 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.902/1.902, allocations: 205.1 MB / 222.6 MB, free: 4.621 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.816/1.816, allocations: 292.3 MB / 0.5491 GB, free: 13.67 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.001399/0.001399, allocations: 63.61 kB / 0.6715 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3298, 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.Max): time 0.003119/0.333, allocations: 0.8359 MB / 0.7841 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001316/0.3344, allocations: 0.876 MB / 0.785 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.828e-05/0.3344, allocations: 0 / 0.785 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.109e-05/0.3345, allocations: 0 / 0.785 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.3347, allocations: 7.938 kB / 0.785 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002145/0.3349, allocations: 31.97 kB / 0.785 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.335, allocations: 83.75 kB / 0.7851 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.3352, allocations: 27.98 kB / 0.7851 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.3353, allocations: 31.91 kB / 0.7852 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.3354, allocations: 47.75 kB / 0.7852 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.628e-05/0.3355, allocations: 4 kB / 0.7852 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.913e-05/0.3355, allocations: 8 kB / 0.7852 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.67e-05/0.3355, allocations: 15.92 kB / 0.7853 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.415e-05/0.3356, allocations: 35.78 kB / 0.7853 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.3357, allocations: 63.86 kB / 0.7853 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3357, allocations: 0 / 0.7853 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3358, allocations: 0 / 0.7853 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.3358, allocations: 4 kB / 0.7853 GB, free: 11.93 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007886/0.3366, allocations: 395.4 kB / 0.7857 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.3366, allocations: 12.03 kB / 0.7857 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.698e-05/0.3367, allocations: 8.844 kB / 0.7857 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.3369, allocations: 184.2 kB / 0.7859 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.3369, allocations: 384 / 0.7859 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.337, allocations: 8.375 kB / 0.7859 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003715/0.3373, allocations: 121.2 kB / 0.786 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.3374, allocations: 192 / 0.786 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/0.3374, allocations: 7.922 kB / 0.7861 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.3374, allocations: 7.938 kB / 0.7861 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003888/0.3378, allocations: 91.91 kB / 0.7861 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000723/0.3385, allocations: 340.7 kB / 0.7865 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007117/0.3393, allocations: 126.5 kB / 0.7866 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.3395, allocations: 52.81 kB / 0.7866 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.593e-05/0.3395, allocations: 3.984 kB / 0.7866 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.985e-05/0.3396, allocations: 34.56 kB / 0.7867 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.3396, allocations: 0 / 0.7867 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0007034/0.3403, allocations: 185.5 kB / 0.7869 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.959e-05/0.3404, allocations: 51.41 kB / 0.7869 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.3405, allocations: 121.8 kB / 0.787 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.3405, allocations: 25.7 kB / 0.787 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.109e-05/0.3406, allocations: 96.06 kB / 0.7871 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.3407, allocations: 19.72 kB / 0.7872 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.325e-05/0.3407, allocations: 25.7 kB / 0.7872 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.3409, allocations: 326.8 kB / 0.7875 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.3411, allocations: 43.95 kB / 0.7875 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.3413, allocations: 47.94 kB / 0.7876 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003423/0.3417, allocations: 96.78 kB / 0.7877 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3417, allocations: 4 kB / 0.7877 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004207/0.3421, allocations: 137.4 kB / 0.7878 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.3421, allocations: 10.03 kB / 0.7878 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3421, allocations: 0 / 0.7878 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.3422, allocations: 0 / 0.7878 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.3424, allocations: 27.97 kB / 0.7878 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.3424, allocations: 0.5469 kB / 0.7878 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.3425, allocations: 19.91 kB / 0.7879 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.3426, allocations: 0 / 0.7879 GB, free: 9.133 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: 3 (reaToInt1.y,reaToInt.y,max1.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): 7 * 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 0.000158/0.3427, allocations: 117.8 kB / 0.788 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.911e-05/0.3428, allocations: 7.906 kB / 0.788 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005284/0.3433, allocations: 165.8 kB / 0.7881 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.3433, allocations: 4 kB / 0.7881 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.3433, allocations: 0 / 0.7881 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3434, allocations: 0 / 0.7881 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.3436, allocations: 197.5 kB / 0.7883 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.3436, allocations: 7.984 kB / 0.7883 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.3438, allocations: 27.97 kB / 0.7884 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.3438, allocations: 0 / 0.7884 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.3438, allocations: 0 / 0.7884 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.3438, allocations: 4 kB / 0.7884 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3438, allocations: 0 / 0.7884 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005209/0.3444, allocations: 243.2 kB / 0.7886 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.365e-05/0.3444, allocations: 85.05 kB / 0.7887 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.3445, allocations: 0 / 0.7887 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.3446, allocations: 11.98 kB / 0.7887 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.27e-05/0.3447, allocations: 23.97 kB / 0.7887 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.3447, allocations: 3.984 kB / 0.7887 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.782e-05/0.3448, allocations: 95.27 kB / 0.7888 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3448, allocations: 0 / 0.7888 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000236/0.3451, allocations: 15.91 kB / 0.7888 GB, free: 8.043 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 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001939/0.3453, allocations: 107.2 kB / 0.7889 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004553/0.3457, allocations: 103.8 kB / 0.789 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3458, allocations: 0 / 0.789 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000196/0.346, allocations: 67.94 kB / 0.7891 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.3464, allocations: 8 kB / 0.7891 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005937/0.347, allocations: 217.6 kB / 0.7893 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.3474, allocations: 0.6965 MB / 0.79 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.207e-05/0.3475, allocations: 15.42 kB / 0.79 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of SimCode: time 1.904e-06/0.3475, allocations: 0 / 0.79 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of Templates: time 0.003584/0.3511, allocations: 1.222 MB / 0.7912 GB, free: 5.555 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.MaxCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MaxCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MaxCalcHelperMain.o] Error 1