Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001773/0.001773, allocations: 100.1 kB / 15.88 MB, free: 12 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.002287/0.002287, allocations: 196.7 kB / 16.79 MB, free: 6.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.66/2.66, allocations: 222.9 MB / 240.4 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003457/0.003457, allocations: 286.8 kB / 290.9 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 2.069/2.069, allocations: 169.2 MB / 0.4983 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004833/0.004833, allocations: 91.53 kB / 0.5952 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4187/0.4236, allocations: 86.99 MB / 0.6801 GB, free: 1.16 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.005684/0.4294, allocations: 0.6353 MB / 0.6807 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004584/0.434, allocations: 1.101 MB / 0.6818 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.849e-05/0.4341, allocations: 3.938 kB / 0.6818 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.364e-05/0.4342, allocations: 0 / 0.6818 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004788/0.4348, allocations: 19.97 kB / 0.6818 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.021e-06/0.4348, allocations: 0 / 0.6818 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.435, allocations: 11.88 kB / 0.6818 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.051e-05/0.4352, allocations: 4 kB / 0.6818 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.149e-05/0.4352, allocations: 0 / 0.6818 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.14e-05/0.4353, allocations: 4 kB / 0.6818 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.4353, allocations: 0 / 0.6818 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002551/0.4356, allocations: 19.97 kB / 0.6819 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.552e-05/0.4356, allocations: 7.984 kB / 0.6819 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.744e-05/0.4357, allocations: 7.875 kB / 0.6819 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.4359, allocations: 4 kB / 0.6819 GB, free: 15.33 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.343e-06/0.4359, allocations: 0 / 0.6819 GB, free: 15.33 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.601e-06/0.4359, allocations: 0 / 0.6819 GB, free: 15.33 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.4359, allocations: 0 / 0.6819 GB, free: 15.33 MB / 494.1 MB 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.0009122/0.4368, allocations: 319.6 kB / 0.6822 GB, free: 14.97 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001022/0.437, allocations: 12.03 kB / 0.6822 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.21e-05/0.4371, allocations: 8.938 kB / 0.6822 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.4374, allocations: 160.7 kB / 0.6824 GB, free: 14.76 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.4375, allocations: 384 / 0.6824 GB, free: 14.76 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.322e-05/0.4375, allocations: 4.375 kB / 0.6824 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.4378, allocations: 38 kB / 0.6824 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.4378, allocations: 0 / 0.6824 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.4378, allocations: 3.984 kB / 0.6824 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.4379, allocations: 4 kB / 0.6824 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.22e-05/0.438, allocations: 15.92 kB / 0.6824 GB, free: 14.69 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003946/0.4384, allocations: 149.6 kB / 0.6826 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003943/0.4388, allocations: 34.61 kB / 0.6826 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.703e-05/0.4388, allocations: 8.859 kB / 0.6826 GB, free: 14.44 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003027/0.4392, allocations: 85.19 kB / 0.6827 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.668e-05/0.4392, allocations: 42.5 kB / 0.6827 GB, free: 14.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.853e-06/0.4393, allocations: 0 / 0.6827 GB, free: 14.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.006908/0.4462, allocations: 0.5676 MB / 0.6833 GB, free: 13.71 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/0.4464, allocations: 55.34 kB / 0.6833 GB, free: 13.64 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.4466, allocations: 89.86 kB / 0.6834 GB, free: 13.55 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.041e-05/0.4467, allocations: 29.64 kB / 0.6834 GB, free: 13.51 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.4468, allocations: 84.14 kB / 0.6835 GB, free: 13.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.734e-05/0.4469, allocations: 19.8 kB / 0.6835 GB, free: 13.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.447, allocations: 21.7 kB / 0.6836 GB, free: 13.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003816/0.4475, allocations: 314.8 kB / 0.6839 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.4486, allocations: 79.95 kB / 0.6839 GB, free: 12.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009281/0.4495, allocations: 106.5 kB / 0.684 GB, free: 12.87 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001556/0.4511, allocations: 186.4 kB / 0.6842 GB, free: 12.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.4511, allocations: 0 / 0.6842 GB, free: 12.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001368/0.4525, allocations: 217.5 kB / 0.6844 GB, free: 12.46 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/0.4525, allocations: 14.12 kB / 0.6844 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.4526, allocations: 0 / 0.6844 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.4526, allocations: 0 / 0.6844 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005187/0.4531, allocations: 52 kB / 0.6845 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/0.4531, allocations: 0 / 0.6845 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004685/0.4536, allocations: 43.97 kB / 0.6845 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.4537, allocations: 0 / 0.6845 GB, free: 12.36 MB / 494.1 MB 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.0002144/0.4539, allocations: 119.2 kB / 0.6846 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.206e-05/0.4539, allocations: 3.938 kB / 0.6847 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001964/0.4559, allocations: 241 kB / 0.6849 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.4559, allocations: 4 kB / 0.6849 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.456, allocations: 0 / 0.6849 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.456, allocations: 3.984 kB / 0.6849 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002731/0.4587, allocations: 462.6 kB / 0.6853 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.4588, allocations: 3.938 kB / 0.6853 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005881/0.4594, allocations: 47.97 kB / 0.6854 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/0.4594, allocations: 0 / 0.6854 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.553e-05/0.4594, allocations: 8 kB / 0.6854 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.874e-06/0.4595, allocations: 0 / 0.6854 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.4595, allocations: 0 / 0.6854 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/0.4614, allocations: 303.4 kB / 0.6857 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-05/0.4615, allocations: 81.11 kB / 0.6858 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.125e-05/0.4615, allocations: 0 / 0.6858 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004975/0.462, allocations: 43.97 kB / 0.6858 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.03e-05/0.4621, allocations: 4.359 kB / 0.6858 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.4621, allocations: 0 / 0.6858 GB, free: 10.95 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.141e-05/0.4622, allocations: 79.28 kB / 0.6859 GB, free: 10.88 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.819e-06/0.4622, allocations: 4 kB / 0.6859 GB, free: 10.87 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004252/0.4627, allocations: 11.94 kB / 0.6859 GB, free: 10.86 MB / 494.1 MB 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.0004294/0.4631, allocations: 107.2 kB / 0.686 GB, free: 10.74 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001796/0.4649, allocations: 183.9 kB / 0.6862 GB, free: 10.56 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.4649, allocations: 0 / 0.6862 GB, free: 10.56 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007737/0.4657, allocations: 92.02 kB / 0.6863 GB, free: 10.47 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.4661, allocations: 5.5 kB / 0.6863 GB, free: 10.47 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.4679, allocations: 248.4 kB / 0.6865 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007829/0.4687, allocations: 0.6731 MB / 0.6872 GB, free: 9.496 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.4689, allocations: 15.42 kB / 0.6872 GB, free: 9.48 MB / 494.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4689, allocations: 4 kB / 0.6872 GB, free: 9.477 MB / 494.1 MB Notification: Performance of Templates: time 0.005613/0.4745, allocations: 1.087 MB / 0.6882 GB, free: 8.402 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile make -j1 -f BuildingSystems_BuildingSystems.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 OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivativesCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivativesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivativesCalcHelperMain.o] Error 1