Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.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.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008343/0.0008343, allocations: 100.5 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.0009876/0.0009879, allocations: 176 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.979/1.979, allocations: 205.4 MB / 222.8 MB, free: 5.637 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.915/1.915, allocations: 292.7 MB / 0.5505 GB, free: 14.57 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.0005237/0.0005238, allocations: 14.34 kB / 0.6743 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3001, allocations: 116.3 MB / 0.7879 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.003154/0.3034, allocations: 1.172 MB / 0.7891 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.3048, allocations: 0.5604 MB / 0.7896 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.269e-05/0.3049, allocations: 0 / 0.7896 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.647e-05/0.3049, allocations: 3.938 kB / 0.7896 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.979e-05/0.305, allocations: 11.92 kB / 0.7896 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003275/0.3053, allocations: 35.97 kB / 0.7897 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.208e-05/0.3055, allocations: 31.84 kB / 0.7897 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.3056, allocations: 7.938 kB / 0.7897 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.3057, allocations: 15.92 kB / 0.7897 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.283e-05/0.3058, allocations: 4 kB / 0.7897 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.3058, allocations: 0 / 0.7897 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.306, allocations: 51.95 kB / 0.7898 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/0.306, allocations: 7.922 kB / 0.7898 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.095e-05/0.306, allocations: 25.7 kB / 0.7898 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.3062, allocations: 43.94 kB / 0.7898 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.3062, allocations: 0 / 0.7898 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.455e-06/0.3062, allocations: 4 kB / 0.7898 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.3062, allocations: 4 kB / 0.7899 GB, free: 9.98 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.0005775/0.3068, allocations: 339.5 kB / 0.7902 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.166e-05/0.3069, allocations: 8.031 kB / 0.7902 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.205e-05/0.3069, allocations: 7.906 kB / 0.7902 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.3072, allocations: 178.9 kB / 0.7904 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.3072, allocations: 4 kB / 0.7904 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.3072, allocations: 4 kB / 0.7904 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.3074, allocations: 49.62 kB / 0.7904 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.3074, allocations: 0 / 0.7904 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.3075, allocations: 0 / 0.7904 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.3075, allocations: 4 kB / 0.7904 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.3076, allocations: 19.98 kB / 0.7904 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000464/0.3081, allocations: 256.9 kB / 0.7907 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.3082, allocations: 38.5 kB / 0.7907 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.14e-05/0.3083, allocations: 16.92 kB / 0.7907 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001063/0.3094, allocations: 497.4 kB / 0.7912 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.3094, allocations: 34.56 kB / 0.7912 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 5.019e-06/0.3094, allocations: 0 / 0.7912 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.000337/0.3098, allocations: 73.61 kB / 0.7913 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.3098, allocations: 51.41 kB / 0.7914 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.31, allocations: 113.9 kB / 0.7915 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.31, allocations: 29.7 kB / 0.7915 GB, free: 8 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.261e-05/0.3101, allocations: 88.05 kB / 0.7916 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.3101, allocations: 0 / 0.7916 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/0.3101, allocations: 7.938 kB / 0.7916 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002624/0.3104, allocations: 322.8 kB / 0.7919 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.356e-05/0.3105, allocations: 8 kB / 0.7919 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.94e-05/0.3105, allocations: 19.98 kB / 0.7919 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.368e-05/0.3106, allocations: 8 kB / 0.7919 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3106, allocations: 0 / 0.7919 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001685/0.3108, allocations: 65.58 kB / 0.792 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.3108, allocations: 4 kB / 0.792 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.3108, allocations: 0 / 0.792 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.3108, allocations: 0 / 0.792 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.855e-05/0.3109, allocations: 12.09 kB / 0.792 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/0.311, allocations: 0 / 0.792 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.32e-05/0.311, allocations: 4 kB / 0.792 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.311, allocations: 7.938 kB / 0.792 GB, free: 7.445 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: 0 () * 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 0.0001033/0.3111, allocations: 109.8 kB / 0.7921 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.3112, allocations: 4 kB / 0.7921 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.3114, allocations: 77.19 kB / 0.7922 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3114, allocations: 0 / 0.7922 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3114, allocations: 0 / 0.7922 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3114, allocations: 0 / 0.7922 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.3117, allocations: 165.5 kB / 0.7924 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.3117, allocations: 3.984 kB / 0.7924 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.073e-05/0.3118, allocations: 7.938 kB / 0.7924 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3118, allocations: 0 / 0.7924 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.3118, allocations: 0 / 0.7924 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3118, allocations: 0 / 0.7924 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3118, allocations: 8.031 kB / 0.7924 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.312, allocations: 159.4 kB / 0.7925 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.298e-05/0.3121, allocations: 77.11 kB / 0.7926 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.3121, allocations: 0 / 0.7926 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.197e-05/0.3122, allocations: 7.938 kB / 0.7926 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.3123, allocations: 8.016 kB / 0.7926 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.3123, allocations: 4 kB / 0.7926 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.318e-05/0.3124, allocations: 83.28 kB / 0.7927 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3124, allocations: 0 / 0.7927 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000412/0.3128, allocations: 15.98 kB / 0.7927 GB, free: 6.625 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: 0 () * 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.0002319/0.313, allocations: 115.2 kB / 0.7928 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001709/0.3132, allocations: 31.98 kB / 0.7929 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.3132, allocations: 0 / 0.7929 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.471e-05/0.3133, allocations: 15.92 kB / 0.7929 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.3137, allocations: 7.953 kB / 0.7929 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003989/0.3141, allocations: 166.4 kB / 0.793 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004793/0.3146, allocations: 0.677 MB / 0.7937 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.146e-05/0.3146, allocations: 15.42 kB / 0.7937 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.3146, allocations: 0 / 0.7937 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of Templates: time 0.002987/0.3176, allocations: 0.8073 MB / 0.7945 GB, free: 4.727 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.makefile make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.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.Utilities.Math.Examples.SmoothLimitCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Math.Examples.SmoothLimitCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Utilities.Math.Examples.SmoothLimitCalcHelperMain.o] Error 1