Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009015/0.0009015, allocations: 99.59 kB / 15.71 MB, free: 452 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.001328/0.001328, allocations: 175.7 kB / 16.58 MB, free: 6.422 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.742/1.742, allocations: 205.4 MB / 222.7 MB, free: 5.648 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.911/1.911, allocations: 292.7 MB / 0.5505 GB, free: 14.55 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.0005051/0.0005051, allocations: 12.66 kB / 0.6744 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.2998, allocations: 116.3 MB / 0.7879 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.0009639/0.3008, allocations: 357.6 kB / 0.7883 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.3018, allocations: 0.8127 MB / 0.7891 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.932e-05/0.3019, allocations: 0 / 0.7891 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.776e-05/0.3019, allocations: 3.938 kB / 0.7891 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.938e-05/0.302, allocations: 0 / 0.7891 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001584/0.3022, allocations: 15.98 kB / 0.7891 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.633e-05/0.3023, allocations: 23.92 kB / 0.7891 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.3024, allocations: 8 kB / 0.7891 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.371e-05/0.3024, allocations: 11.97 kB / 0.7891 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.376e-05/0.3025, allocations: 15.92 kB / 0.7891 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.3026, allocations: 0 / 0.7891 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.162e-05/0.3026, allocations: 0 / 0.7891 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.3026, allocations: 0 / 0.7891 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.883e-05/0.3026, allocations: 29.7 kB / 0.7892 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.861e-05/0.3027, allocations: 15.97 kB / 0.7892 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.3027, allocations: 0 / 0.7892 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.205e-06/0.3027, allocations: 0 / 0.7892 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.3028, allocations: 7.938 kB / 0.7892 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005737/0.3033, allocations: 339.5 kB / 0.7895 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.3034, allocations: 8.031 kB / 0.7895 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.3034, allocations: 8 kB / 0.7895 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.3036, allocations: 167 kB / 0.7897 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.3036, allocations: 4 kB / 0.7897 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-06/0.3036, allocations: 3.938 kB / 0.7897 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.3038, allocations: 61.67 kB / 0.7898 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.3038, allocations: 0 / 0.7898 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.3038, allocations: 0 / 0.7898 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.3039, allocations: 0 / 0.7898 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.304, allocations: 47.95 kB / 0.7898 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003891/0.3044, allocations: 268.8 kB / 0.7901 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.3046, allocations: 38.56 kB / 0.7901 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.652e-05/0.3047, allocations: 32.89 kB / 0.7901 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.3047, allocations: 4 kB / 0.7901 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.3048, allocations: 34.55 kB / 0.7902 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.3048, allocations: 4 kB / 0.7902 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003813/0.3052, allocations: 101.6 kB / 0.7903 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/0.3052, allocations: 55.41 kB / 0.7903 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.907e-05/0.3053, allocations: 105.8 kB / 0.7904 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.3053, allocations: 29.83 kB / 0.7905 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.544e-05/0.3054, allocations: 80.14 kB / 0.7905 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/0.3054, allocations: 0 / 0.7905 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/0.3054, allocations: 0 / 0.7905 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.3056, allocations: 322.8 kB / 0.7908 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.299e-05/0.3057, allocations: 19.97 kB / 0.7909 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.516e-05/0.3057, allocations: 27.98 kB / 0.7909 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.265e-05/0.3058, allocations: 19.98 kB / 0.7909 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3058, allocations: 0 / 0.7909 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002022/0.306, allocations: 89.56 kB / 0.791 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3061, allocations: 4 kB / 0.791 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3061, allocations: 4 kB / 0.791 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.3061, allocations: 0 / 0.791 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.3062, allocations: 11.98 kB / 0.791 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.3062, allocations: 0 / 0.791 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.58e-05/0.3063, allocations: 16.02 kB / 0.791 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.3063, allocations: 0 / 0.791 GB, free: 8.547 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: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.351e-05/0.3064, allocations: 109.8 kB / 0.7911 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.3064, allocations: 4 kB / 0.7911 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.425e-05/0.3064, allocations: 11.11 kB / 0.7911 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.3065, allocations: 0 / 0.7911 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.3065, allocations: 3.938 kB / 0.7911 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3065, allocations: 0 / 0.7911 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.3066, allocations: 157.6 kB / 0.7913 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3066, allocations: 4 kB / 0.7913 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.605e-05/0.3067, allocations: 15.98 kB / 0.7913 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3067, allocations: 0 / 0.7913 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.3067, allocations: 0 / 0.7913 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3067, allocations: 0 / 0.7913 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3068, allocations: 0 / 0.7913 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.307, allocations: 187.4 kB / 0.7915 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.233e-05/0.3071, allocations: 77.11 kB / 0.7916 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.3071, allocations: 0 / 0.7916 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.907e-05/0.3072, allocations: 15.92 kB / 0.7916 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.063e-05/0.3072, allocations: 8.031 kB / 0.7916 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.3072, allocations: 4 kB / 0.7916 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.751e-05/0.3073, allocations: 79.27 kB / 0.7917 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3073, allocations: 0 / 0.7917 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002117/0.3075, allocations: 4 kB / 0.7917 GB, free: 7.781 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: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001219/0.3076, allocations: 103.2 kB / 0.7918 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002285/0.3079, allocations: 55.95 kB / 0.7918 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3079, allocations: 3.938 kB / 0.7918 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.739e-05/0.308, allocations: 23.98 kB / 0.7918 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.3083, allocations: 12.02 kB / 0.7919 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003995/0.3087, allocations: 138.6 kB / 0.792 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/0.3091, allocations: 0.6809 MB / 0.7927 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.981e-05/0.3091, allocations: 7.438 kB / 0.7927 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.3092, allocations: 3.938 kB / 0.7927 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of Templates: time 0.002227/0.3114, allocations: 0.5896 MB / 0.7932 GB, free: 6.102 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToIntegerCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToIntegerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToIntegerCalcHelperMain.o] Error 1