Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01044/0.01044, allocations: 99.8 kB / 15.87 MB, free: 5.867 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.001923/0.001923, allocations: 189.6 kB / 16.79 MB, free: 5.809 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.87/1.87, allocations: 205.1 MB / 222.7 MB, free: 4.711 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.82/1.82, 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.001389/0.001389, allocations: 66.2 kB / 0.6715 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.3001, allocations: 114.5 MB / 0.7833 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.003021/0.3032, allocations: 1.495 MB / 0.7848 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000894/0.3041, allocations: 0.5094 MB / 0.7853 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.596e-05/0.3041, allocations: 0 / 0.7853 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.025e-05/0.3042, allocations: 4 kB / 0.7853 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.21e-05/0.3043, allocations: 3.938 kB / 0.7853 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001756/0.3044, allocations: 11.98 kB / 0.7853 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.222e-05/0.3045, allocations: 31.86 kB / 0.7853 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.577e-05/0.3046, allocations: 8 kB / 0.7853 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.586e-05/0.3047, allocations: 8 kB / 0.7853 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.875e-05/0.3047, allocations: 11.91 kB / 0.7854 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.3048, allocations: 4 kB / 0.7854 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.739e-05/0.3048, allocations: 23.92 kB / 0.7854 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.282e-05/0.3049, allocations: 3.984 kB / 0.7854 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.825e-05/0.3049, allocations: 11.94 kB / 0.7854 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.305, allocations: 23.97 kB / 0.7854 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.305, allocations: 0 / 0.7854 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.342e-06/0.305, allocations: 0 / 0.7854 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.305, allocations: 0 / 0.7854 GB, free: 11.84 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.0005054/0.3055, allocations: 343.7 kB / 0.7858 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.3056, allocations: 12.03 kB / 0.7858 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.3056, allocations: 0.9375 kB / 0.7858 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.3058, allocations: 168.3 kB / 0.7859 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.118e-06/0.3058, allocations: 4.375 kB / 0.7859 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.3058, allocations: 384 / 0.7859 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.306, allocations: 53.98 kB / 0.786 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.306, allocations: 11.88 kB / 0.786 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.306, allocations: 0 / 0.786 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.306, allocations: 0 / 0.786 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.3062, allocations: 35.95 kB / 0.786 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003674/0.3066, allocations: 248.9 kB / 0.7863 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.3067, allocations: 38.56 kB / 0.7863 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.683e-05/0.3068, allocations: 24.91 kB / 0.7863 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001307/0.3069, allocations: 85.09 kB / 0.7864 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.181e-05/0.307, allocations: 34.5 kB / 0.7864 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.307, allocations: 0 / 0.7864 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003551/0.3073, allocations: 85.64 kB / 0.7865 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.3074, allocations: 51.41 kB / 0.7866 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.953e-05/0.3075, allocations: 101.9 kB / 0.7867 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.3075, allocations: 25.7 kB / 0.7867 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.689e-05/0.3076, allocations: 84.12 kB / 0.7868 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.3076, allocations: 11.84 kB / 0.7868 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.3076, allocations: 13.72 kB / 0.7868 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.3078, allocations: 315 kB / 0.7871 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.2e-05/0.3079, allocations: 19.92 kB / 0.7871 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.209e-05/0.3079, allocations: 23.91 kB / 0.7871 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.3081, allocations: 44.77 kB / 0.7872 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3081, allocations: 0 / 0.7872 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001869/0.3083, allocations: 65.72 kB / 0.7872 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.3083, allocations: 8 kB / 0.7873 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3083, allocations: 0 / 0.7873 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.3084, allocations: 0 / 0.7873 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.008e-05/0.3085, allocations: 7.984 kB / 0.7873 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.3085, allocations: 4 kB / 0.7873 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.329e-05/0.3085, allocations: 0 / 0.7873 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.3085, allocations: 4 kB / 0.7873 GB, free: 9.707 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.197e-05/0.3086, allocations: 125.7 kB / 0.7874 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/0.3087, allocations: 4.156 kB / 0.7874 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/0.3089, allocations: 68.78 kB / 0.7875 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.3089, allocations: 0 / 0.7875 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.3089, allocations: 4 kB / 0.7875 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3089, allocations: 3.938 kB / 0.7875 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.3091, allocations: 161.6 kB / 0.7876 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.3091, allocations: 8.016 kB / 0.7876 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.366e-05/0.3092, allocations: 4 kB / 0.7876 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3092, allocations: 0 / 0.7876 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.3092, allocations: 11.98 kB / 0.7876 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3092, allocations: 0 / 0.7876 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3092, allocations: 0 / 0.7876 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/0.3095, allocations: 167.4 kB / 0.7878 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.211e-05/0.3095, allocations: 81.09 kB / 0.7879 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.3096, allocations: 0 / 0.7879 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.182e-05/0.3096, allocations: 8 kB / 0.7879 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.3097, allocations: 3.984 kB / 0.7879 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.3097, allocations: 4 kB / 0.7879 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.146e-05/0.3097, allocations: 79.28 kB / 0.788 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3097, allocations: 0 / 0.788 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002174/0.31, allocations: 4 kB / 0.788 GB, free: 8.883 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 (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.0001708/0.3101, allocations: 111.3 kB / 0.7881 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002018/0.3104, allocations: 35.95 kB / 0.7881 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3104, allocations: 0 / 0.7881 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.926e-05/0.3104, allocations: 19.92 kB / 0.7881 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.3108, allocations: 19.14 kB / 0.7881 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003056/0.3111, allocations: 148.8 kB / 0.7883 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.3114, allocations: 0.6731 MB / 0.7889 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.599e-05/0.3114, allocations: 11.44 kB / 0.789 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of SimCode: time 3.2e-07/0.3114, allocations: 0 / 0.789 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of Templates: time 0.002273/0.3137, allocations: 0.6287 MB / 0.7896 GB, free: 7.172 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.Utilities.Math.Examples.SmoothHeavisideCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Math.Examples.SmoothHeavisideCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Utilities.Math.Examples.SmoothHeavisideCalcHelperMain.o] Error 1