Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.Min,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001453, 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.001888/0.001888, 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.863/1.863, allocations: 205.1 MB / 222.6 MB, free: 4.797 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.986/1.986, 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.001514/0.001514, allocations: 61.98 kB / 0.6715 GB, free: 26.56 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3704, allocations: 114.6 MB / 0.7833 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002827/0.3733, allocations: 0.8283 MB / 0.7842 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.3745, allocations: 0.8681 MB / 0.785 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.795e-05/0.3745, allocations: 0 / 0.785 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.659e-05/0.3746, allocations: 7.922 kB / 0.785 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.96e-05/0.3747, allocations: 11.92 kB / 0.785 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001747/0.3749, allocations: 31.97 kB / 0.7851 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.375, allocations: 83.77 kB / 0.7851 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.3752, allocations: 23.97 kB / 0.7852 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.259e-05/0.3753, allocations: 31.92 kB / 0.7852 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.195e-05/0.3754, allocations: 51.81 kB / 0.7852 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.641e-05/0.3754, allocations: 4 kB / 0.7852 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.767e-05/0.3754, allocations: 4 kB / 0.7852 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.886e-05/0.3754, allocations: 15.92 kB / 0.7853 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.822e-05/0.3755, allocations: 35.78 kB / 0.7853 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.927e-05/0.3756, allocations: 59.88 kB / 0.7853 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3756, allocations: 0 / 0.7853 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3756, allocations: 0 / 0.7853 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.3757, allocations: 0 / 0.7853 GB, free: 11.92 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.0008594/0.3765, allocations: 403.4 kB / 0.7857 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.3766, allocations: 8.031 kB / 0.7857 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.82e-05/0.3767, allocations: 16.77 kB / 0.7858 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.3769, allocations: 176.2 kB / 0.7859 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.3769, allocations: 8.375 kB / 0.7859 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.377, allocations: 4.375 kB / 0.7859 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003393/0.3773, allocations: 102.2 kB / 0.786 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.3773, allocations: 192 / 0.786 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.3773, allocations: 11.94 kB / 0.786 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.3774, allocations: 0 / 0.786 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003581/0.3777, allocations: 95.89 kB / 0.7861 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005988/0.3783, allocations: 348.6 kB / 0.7865 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006433/0.379, allocations: 114.6 kB / 0.7866 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/0.3792, allocations: 56.8 kB / 0.7866 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.3792, allocations: 11.94 kB / 0.7866 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.3793, allocations: 30.56 kB / 0.7867 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 2.695e-06/0.3793, allocations: 0 / 0.7867 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000671/0.38, allocations: 181.5 kB / 0.7868 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.38, allocations: 55.41 kB / 0.7869 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.3801, allocations: 125.7 kB / 0.787 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.3802, allocations: 29.7 kB / 0.787 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.647e-05/0.3802, allocations: 96.06 kB / 0.7871 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.3803, allocations: 19.72 kB / 0.7872 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.042e-05/0.3803, allocations: 21.7 kB / 0.7872 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3805, allocations: 318.8 kB / 0.7875 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.3807, allocations: 51.95 kB / 0.7875 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.3808, allocations: 51.88 kB / 0.7876 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/0.3812, allocations: 88.78 kB / 0.7877 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.3812, allocations: 0 / 0.7877 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004075/0.3816, allocations: 145.5 kB / 0.7878 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3816, allocations: 4 kB / 0.7878 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.3817, allocations: 3.984 kB / 0.7878 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.3817, allocations: 0 / 0.7878 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.3819, allocations: 27.97 kB / 0.7878 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.3819, allocations: 3.938 kB / 0.7878 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.382, allocations: 19.98 kB / 0.7879 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.382, allocations: 0 / 0.7879 GB, free: 9.113 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,min1.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.0001122/0.3821, allocations: 121.8 kB / 0.788 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.3822, allocations: 7.906 kB / 0.788 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004735/0.3827, allocations: 149.9 kB / 0.7881 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.3827, allocations: 0 / 0.7881 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3827, allocations: 0 / 0.7881 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.3827, allocations: 4 kB / 0.7881 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.3829, allocations: 205.5 kB / 0.7883 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3829, allocations: 3.938 kB / 0.7883 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.3831, allocations: 27.91 kB / 0.7884 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3831, allocations: 3.938 kB / 0.7884 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.3831, allocations: 8 kB / 0.7884 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.3832, allocations: 3.984 kB / 0.7884 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3832, allocations: 4 kB / 0.7884 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004724/0.3836, allocations: 231.9 kB / 0.7886 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.621e-05/0.3837, allocations: 81.11 kB / 0.7887 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.3837, allocations: 0 / 0.7887 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.3839, allocations: 19.98 kB / 0.7887 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.33e-05/0.384, allocations: 15.97 kB / 0.7887 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-06/0.384, allocations: 4 kB / 0.7887 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.258e-05/0.3841, allocations: 95.27 kB / 0.7888 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3841, allocations: 0 / 0.7888 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002289/0.3843, allocations: 15.91 kB / 0.7888 GB, free: 8.031 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 (min1.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.0001564/0.3845, allocations: 111.1 kB / 0.7889 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004215/0.3849, allocations: 108 kB / 0.789 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3849, allocations: 0 / 0.789 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.3851, allocations: 59.89 kB / 0.7891 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.3854, allocations: 7.984 kB / 0.7891 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004966/0.386, allocations: 225.6 kB / 0.7893 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.3863, allocations: 0.6887 MB / 0.79 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.728e-05/0.3863, allocations: 19.42 kB / 0.79 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of SimCode: time 3.7e-07/0.3864, allocations: 4 kB / 0.79 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of Templates: time 0.003077/0.3894, allocations: 1.232 MB / 0.7912 GB, free: 5.527 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.MinCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MinCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MinCalcHelperMain.o] Error 1