Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008519/0.000852, allocations: 99.42 kB / 16.02 MB, free: 76 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.0009138/0.0009143, allocations: 181 kB / 16.92 MB, free: 6.918 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.866/1.866, allocations: 205.4 MB / 223.1 MB, free: 5.742 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.903/1.903, allocations: 292.7 MB / 0.5509 GB, free: 14.47 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.0005682/0.0005682, allocations: 18.94 kB / 0.675 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3622, allocations: 116.3 MB / 0.7885 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0009811/0.3633, allocations: 335.5 kB / 0.7889 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001702/0.365, allocations: 1.133 MB / 0.79 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.816e-05/0.365, allocations: 0 / 0.79 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.987e-05/0.365, allocations: 3.938 kB / 0.79 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002904/0.3653, allocations: 15.98 kB / 0.79 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.186e-06/0.3654, allocations: 0 / 0.79 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.827e-05/0.3654, allocations: 4 kB / 0.79 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.865e-05/0.3655, allocations: 7.984 kB / 0.79 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.789e-05/0.3655, allocations: 7.922 kB / 0.79 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.616e-05/0.3656, allocations: 3.938 kB / 0.79 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.3656, allocations: 0 / 0.79 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/0.3657, allocations: 19.98 kB / 0.79 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.474e-06/0.3657, allocations: 4 kB / 0.79 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.484e-05/0.3658, allocations: 25.7 kB / 0.7901 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.322e-05/0.3659, allocations: 11.97 kB / 0.7901 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3659, allocations: 0 / 0.7901 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.056e-06/0.3659, allocations: 0 / 0.7901 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.3659, allocations: 0 / 0.7901 GB, free: 9.973 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.000369/0.3663, allocations: 319.6 kB / 0.7904 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/0.3664, allocations: 12.02 kB / 0.7904 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/0.3664, allocations: 0.9375 kB / 0.7904 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.3665, allocations: 160.4 kB / 0.7905 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.3666, allocations: 12.31 kB / 0.7906 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.004e-05/0.3666, allocations: 384 / 0.7906 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.3667, allocations: 38 kB / 0.7906 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.3668, allocations: 3.906 kB / 0.7906 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.3668, allocations: 0 / 0.7906 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.3668, allocations: 4 kB / 0.7906 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.34e-05/0.3668, allocations: 8 kB / 0.7906 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002057/0.3671, allocations: 150 kB / 0.7907 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/0.3673, allocations: 34.66 kB / 0.7908 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.818e-05/0.3674, allocations: 16.84 kB / 0.7908 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001652/0.3675, allocations: 81.11 kB / 0.7909 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.3676, allocations: 38.5 kB / 0.7909 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3676, allocations: 0 / 0.7909 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.00417/0.3717, allocations: 0.5715 MB / 0.7915 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.3718, allocations: 51.41 kB / 0.7915 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.521e-05/0.3719, allocations: 93.8 kB / 0.7916 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.3719, allocations: 25.7 kB / 0.7916 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/0.372, allocations: 84.12 kB / 0.7917 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.829e-05/0.372, allocations: 15.81 kB / 0.7917 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.372, allocations: 9.719 kB / 0.7917 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3722, allocations: 318.8 kB / 0.792 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005778/0.3728, allocations: 83.89 kB / 0.7921 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005756/0.3734, allocations: 102.5 kB / 0.7922 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.3745, allocations: 190.5 kB / 0.7924 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3746, allocations: 3.984 kB / 0.7924 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001195/0.3758, allocations: 213.5 kB / 0.7926 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.3758, allocations: 4 kB / 0.7926 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.3758, allocations: 0 / 0.7926 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.3758, allocations: 4 kB / 0.7926 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003837/0.3762, allocations: 51.94 kB / 0.7927 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.3762, allocations: 3.984 kB / 0.7927 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003355/0.3766, allocations: 43.98 kB / 0.7927 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.3766, allocations: 4 kB / 0.7927 GB, free: 7.008 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.0001151/0.3767, allocations: 110.5 kB / 0.7928 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.985e-05/0.3768, allocations: 7.938 kB / 0.7928 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00137/0.3781, allocations: 241 kB / 0.7931 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3781, allocations: 3.938 kB / 0.7931 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.3782, allocations: 432 / 0.7931 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3782, allocations: 0 / 0.7931 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.3797, allocations: 454.5 kB / 0.7935 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3797, allocations: 0 / 0.7935 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003721/0.3801, allocations: 51.97 kB / 0.7935 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3801, allocations: 3.938 kB / 0.7935 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.3801, allocations: 3.984 kB / 0.7936 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3802, allocations: 0 / 0.7936 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3802, allocations: 0 / 0.7936 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.3814, allocations: 307.7 kB / 0.7938 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.882e-05/0.3815, allocations: 77.17 kB / 0.7939 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.3815, allocations: 8 kB / 0.7939 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003739/0.3819, allocations: 43.97 kB / 0.794 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.635e-05/0.3819, allocations: 0 / 0.794 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.3819, allocations: 4 kB / 0.794 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.54e-05/0.382, allocations: 79.31 kB / 0.794 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.41e-07/0.382, allocations: 0 / 0.794 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000253/0.3822, allocations: 8 kB / 0.7941 GB, free: 5.523 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 (5): * Single equations (assignments): 5 * 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.0002179/0.3824, allocations: 119.2 kB / 0.7942 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001242/0.3837, allocations: 183.8 kB / 0.7943 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3837, allocations: 3.938 kB / 0.7944 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005844/0.3843, allocations: 92.02 kB / 0.7944 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.3845, allocations: 8 kB / 0.7944 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.3857, allocations: 244.3 kB / 0.7947 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.386, allocations: 0.677 MB / 0.7953 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.473e-05/0.3861, allocations: 15.42 kB / 0.7954 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of SimCode: time 5.81e-07/0.3861, allocations: 4 kB / 0.7954 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of Templates: time 0.003042/0.3892, allocations: 1.08 MB / 0.7964 GB, free: 3.043 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivativesCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivativesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivativesCalcHelperMain.o] Error 1