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.001128/0.001127, allocations: 101.3 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.002161/0.002161, allocations: 174.2 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.847/1.847, allocations: 205.4 MB / 222.8 MB, free: 5.656 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.862/1.862, allocations: 292.7 MB / 0.5505 GB, free: 14.56 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.0005506/0.0005508, allocations: 18.31 kB / 0.6744 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2619, allocations: 116.3 MB / 0.7879 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.0008915/0.2628, allocations: 493.2 kB / 0.7884 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009302/0.2638, allocations: 0.8566 MB / 0.7892 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.942e-05/0.2638, allocations: 0 / 0.7892 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.729e-05/0.2638, allocations: 0 / 0.7892 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.856e-05/0.2639, allocations: 11.91 kB / 0.7893 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001578/0.2641, allocations: 35.91 kB / 0.7893 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.2642, allocations: 67.84 kB / 0.7894 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.2644, allocations: 31.89 kB / 0.7894 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.265e-05/0.2644, allocations: 27.92 kB / 0.7894 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.467e-05/0.2645, allocations: 43.81 kB / 0.7895 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.2646, allocations: 4 kB / 0.7895 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.405e-05/0.2646, allocations: 0 / 0.7895 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.205e-05/0.2646, allocations: 15.92 kB / 0.7895 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.007e-05/0.2647, allocations: 33.7 kB / 0.7895 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.2648, allocations: 67.78 kB / 0.7896 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2648, allocations: 0 / 0.7896 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2648, allocations: 4 kB / 0.7896 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.2648, allocations: 0 / 0.7896 GB, free: 10.26 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.0007147/0.2655, allocations: 383.3 kB / 0.7899 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.2656, allocations: 12.03 kB / 0.7899 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.154e-05/0.2656, allocations: 7.906 kB / 0.79 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.2658, allocations: 178.9 kB / 0.7901 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.2659, allocations: 7.984 kB / 0.7901 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.2659, allocations: 4 kB / 0.7901 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003962/0.2663, allocations: 120.7 kB / 0.7903 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.2663, allocations: 0 / 0.7903 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.2663, allocations: 8 kB / 0.7903 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.2663, allocations: 3.938 kB / 0.7903 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003718/0.2667, allocations: 115.9 kB / 0.7904 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000559/0.2673, allocations: 340.7 kB / 0.7907 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005831/0.2679, allocations: 134.5 kB / 0.7908 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001875/0.2681, allocations: 68.81 kB / 0.7909 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.2681, allocations: 0 / 0.7909 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.2681, allocations: 30.56 kB / 0.7909 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.2681, allocations: 0 / 0.7909 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006478/0.2688, allocations: 221.4 kB / 0.7911 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.2688, allocations: 51.41 kB / 0.7912 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.927e-05/0.269, allocations: 125.7 kB / 0.7913 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.269, allocations: 29.7 kB / 0.7913 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.926e-05/0.269, allocations: 92.12 kB / 0.7914 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.2691, allocations: 31.58 kB / 0.7914 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.614e-06/0.2691, allocations: 0 / 0.7914 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.2692, allocations: 322.8 kB / 0.7918 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.2694, allocations: 55.95 kB / 0.7918 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.2696, allocations: 55.95 kB / 0.7919 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.2698, allocations: 55.95 kB / 0.7919 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2698, allocations: 0 / 0.7919 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000416/0.2702, allocations: 153.5 kB / 0.7921 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.2702, allocations: 14.8 kB / 0.7921 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.2703, allocations: 4.547 kB / 0.7921 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.2703, allocations: 3.953 kB / 0.7921 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.2705, allocations: 31.91 kB / 0.7921 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.2705, allocations: 0 / 0.7921 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.2706, allocations: 15.98 kB / 0.7921 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.2706, allocations: 12 kB / 0.7921 GB, free: 7.414 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 (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 initialization (7): * Single equations (assignments): 7 * 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 0.0001054/0.2707, allocations: 114.5 kB / 0.7923 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.421e-05/0.2708, allocations: 11.89 kB / 0.7923 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004864/0.2713, allocations: 181.9 kB / 0.7924 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.2713, allocations: 0 / 0.7924 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.2713, allocations: 7.938 kB / 0.7924 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2713, allocations: 0 / 0.7924 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.2715, allocations: 201.5 kB / 0.7926 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.2715, allocations: 0 / 0.7926 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.2717, allocations: 31.97 kB / 0.7927 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.2717, allocations: 0 / 0.7927 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.2717, allocations: 4 kB / 0.7927 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2717, allocations: 0 / 0.7927 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2717, allocations: 0 / 0.7927 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004624/0.2722, allocations: 263.3 kB / 0.7929 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.108e-05/0.2723, allocations: 89.03 kB / 0.793 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.2723, allocations: 0 / 0.793 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.2724, allocations: 15.98 kB / 0.793 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.244e-05/0.2725, allocations: 27.91 kB / 0.793 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/0.2725, allocations: 4 kB / 0.7931 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.59e-05/0.2726, allocations: 95.22 kB / 0.7931 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2726, allocations: 0 / 0.7931 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004208/0.273, allocations: 19.91 kB / 0.7932 GB, free: 6.27 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 (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.0001451/0.2732, allocations: 99.25 kB / 0.7933 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006979/0.2739, allocations: 127.9 kB / 0.7934 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2739, allocations: 4 kB / 0.7934 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003118/0.2742, allocations: 67.89 kB / 0.7934 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000507/0.2748, allocations: 11.94 kB / 0.7935 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006224/0.2754, allocations: 211 kB / 0.7937 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.2758, allocations: 0.6965 MB / 0.7943 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.514e-05/0.2759, allocations: 15.42 kB / 0.7944 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of SimCode: time 3.91e-07/0.2759, allocations: 0 / 0.7944 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of Templates: time 0.004487/0.2804, allocations: 1.222 MB / 0.7955 GB, free: 3.758 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++ 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.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