Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.008482/0.008482, 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.002151/0.002151, allocations: 198.3 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.72/2.72, allocations: 222.9 MB / 240.5 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003923/0.003923, allocations: 286.6 kB / 290.9 MB, free: 2.074 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.937/1.937, allocations: 169.2 MB / 0.4983 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00378/0.003779, allocations: 98.14 kB / 0.5951 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3902, allocations: 86.98 MB / 0.6801 GB, free: 1.148 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside): time 0.006857/0.3972, allocations: 1.499 MB / 0.6815 GB, free: 15.65 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.399, allocations: 457.5 kB / 0.682 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.635e-05/0.3991, allocations: 0 / 0.682 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.443e-05/0.3993, allocations: 1.844 kB / 0.682 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001467/0.3994, allocations: 7.938 kB / 0.682 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003622/0.3998, allocations: 23.97 kB / 0.682 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.4, allocations: 23.92 kB / 0.682 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.4002, allocations: 6.812 kB / 0.682 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.4003, allocations: 7.938 kB / 0.682 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.109e-05/0.4004, allocations: 15.92 kB / 0.6821 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.4004, allocations: 4 kB / 0.6821 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.4006, allocations: 19.92 kB / 0.6821 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.435e-05/0.4006, allocations: 15.91 kB / 0.6821 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.861e-05/0.4007, allocations: 7.938 kB / 0.6821 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.4009, allocations: 17.03 kB / 0.6821 GB, free: 15.05 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.4009, allocations: 0 / 0.6821 GB, free: 15.05 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4009, allocations: 0.875 kB / 0.6821 GB, free: 15.05 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.4009, allocations: 0 / 0.6821 GB, free: 15.05 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.0007947/0.4017, allocations: 348.6 kB / 0.6825 GB, free: 14.67 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.757e-05/0.4018, allocations: 9.094 kB / 0.6825 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.496e-05/0.4019, allocations: 4.938 kB / 0.6825 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.4021, allocations: 160.4 kB / 0.6826 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.4022, allocations: 1.375 kB / 0.6826 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.4022, allocations: 4.375 kB / 0.6826 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002872/0.4025, allocations: 57.98 kB / 0.6827 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.4025, allocations: 3.938 kB / 0.6827 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.4026, allocations: 4 kB / 0.6827 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.4026, allocations: 0 / 0.6827 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002473/0.4028, allocations: 35.95 kB / 0.6827 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005809/0.4034, allocations: 252.8 kB / 0.683 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.4036, allocations: 38.56 kB / 0.683 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.4038, allocations: 20.91 kB / 0.683 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001944/0.404, allocations: 85.09 kB / 0.6831 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.722e-05/0.4041, allocations: 38.5 kB / 0.6831 GB, free: 13.84 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.365e-06/0.4041, allocations: 0 / 0.6831 GB, free: 13.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005299/0.4046, allocations: 81.64 kB / 0.6832 GB, free: 13.75 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/0.4047, allocations: 55.41 kB / 0.6833 GB, free: 13.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.4048, allocations: 97.86 kB / 0.6834 GB, free: 13.58 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.626e-05/0.4049, allocations: 25.7 kB / 0.6834 GB, free: 13.55 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.154e-05/0.405, allocations: 92.06 kB / 0.6835 GB, free: 13.45 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.405, allocations: 3.906 kB / 0.6835 GB, free: 13.45 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.486e-05/0.4051, allocations: 17.84 kB / 0.6835 GB, free: 13.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002021/0.4053, allocations: 314.8 kB / 0.6838 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.4054, allocations: 15.98 kB / 0.6838 GB, free: 13.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.4055, allocations: 19.91 kB / 0.6838 GB, free: 13.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.4058, allocations: 44.7 kB / 0.6839 GB, free: 13.03 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.4058, allocations: 4.062 kB / 0.6839 GB, free: 13.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002938/0.4061, allocations: 69.91 kB / 0.6839 GB, free: 12.95 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.4061, allocations: 4 kB / 0.684 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.4061, allocations: 0 / 0.684 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.536e-05/0.4062, allocations: 8 kB / 0.684 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.4063, allocations: 11.92 kB / 0.684 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.4063, allocations: 0 / 0.684 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.865e-05/0.4064, allocations: 8.031 kB / 0.684 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.4064, allocations: 0 / 0.684 GB, free: 12.92 MB / 494.1 MB 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 0.0001509/0.4066, allocations: 127 kB / 0.6841 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.102e-05/0.4066, allocations: 3.906 kB / 0.6841 GB, free: 12.78 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003516/0.407, allocations: 72.78 kB / 0.6842 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.407, allocations: 0 / 0.6842 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.407, allocations: 0 / 0.6842 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.4071, allocations: 4.031 kB / 0.6842 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002781/0.4073, allocations: 165.6 kB / 0.6843 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.4074, allocations: 3.984 kB / 0.6843 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.804e-05/0.4074, allocations: 8 kB / 0.6843 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.4075, allocations: 0 / 0.6843 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.4075, allocations: 0 / 0.6843 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.4075, allocations: 0 / 0.6843 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4075, allocations: 0 / 0.6843 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003969/0.4079, allocations: 171.4 kB / 0.6845 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-05/0.408, allocations: 85.09 kB / 0.6846 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.408, allocations: 0 / 0.6846 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.4081, allocations: 4 kB / 0.6846 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.477e-05/0.4082, allocations: 3.984 kB / 0.6846 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-06/0.4082, allocations: 0 / 0.6846 GB, free: 12.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.937e-05/0.4083, allocations: 83.28 kB / 0.6847 GB, free: 12.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4083, allocations: 4.031 kB / 0.6847 GB, free: 12.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003654/0.4087, allocations: 8 kB / 0.6847 GB, free: 12.09 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 (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.0002722/0.409, allocations: 99.25 kB / 0.6848 GB, free: 11.98 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003097/0.4093, allocations: 35.95 kB / 0.6848 GB, free: 11.95 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.4093, allocations: 0 / 0.6848 GB, free: 11.95 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.4095, allocations: 31.92 kB / 0.6848 GB, free: 11.91 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006299/0.4101, allocations: 11.92 kB / 0.6849 GB, free: 11.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007882/0.4109, allocations: 137.2 kB / 0.685 GB, free: 11.74 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000684/0.4116, allocations: 0.6731 MB / 0.6856 GB, free: 11.04 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.91e-05/0.4117, allocations: 7.438 kB / 0.6857 GB, free: 11.03 MB / 494.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4117, allocations: 4 kB / 0.6857 GB, free: 11.03 MB / 494.1 MB Notification: Performance of Templates: time 0.004332/0.4161, allocations: 0.6492 MB / 0.6863 GB, free: 10.38 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.makefile make -j1 -f BuildingSystems_BuildingSystems.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 OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeavisideCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeavisideCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeavisideCalcHelperMain.o] Error 1