Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001687/0.001687, 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.002391/0.002391, allocations: 195.9 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.757/2.757, allocations: 222.9 MB / 240.5 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004096/0.004097, allocations: 275 kB / 290.9 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.926/1.926, allocations: 169.2 MB / 0.4983 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003513/0.003513, allocations: 88.5 kB / 0.5951 GB, free: 28.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4069/0.4105, allocations: 86.98 MB / 0.6801 GB, free: 1.219 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.004974/0.4156, allocations: 0.6605 MB / 0.6807 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007768/0.4164, allocations: 167.5 kB / 0.6809 GB, free: 408 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.598e-05/0.4165, allocations: 0 / 0.6809 GB, free: 408 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.213e-05/0.4165, allocations: 0 / 0.6809 GB, free: 408 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.998e-05/0.4166, allocations: 4 kB / 0.6809 GB, free: 404 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000536/0.4172, allocations: 39.89 kB / 0.6809 GB, free: 364 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.417e-05/0.4173, allocations: 12 kB / 0.6809 GB, free: 352 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.738e-05/0.4173, allocations: 7.922 kB / 0.6809 GB, free: 344 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.109e-05/0.4174, allocations: 7.938 kB / 0.681 GB, free: 336 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.4175, allocations: 8 kB / 0.681 GB, free: 328 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.4176, allocations: 0 / 0.681 GB, free: 328 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003384/0.4179, allocations: 35.95 kB / 0.681 GB, free: 292 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.748e-05/0.418, allocations: 3.984 kB / 0.681 GB, free: 288 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.106e-05/0.418, allocations: 7.938 kB / 0.681 GB, free: 280 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.4182, allocations: 19.97 kB / 0.681 GB, free: 260 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.4182, allocations: 4 kB / 0.681 GB, free: 256 kB / 478.1 MB Notification: Performance of FrontEnd: time 3.697e-06/0.4182, allocations: 0 / 0.681 GB, free: 256 kB / 478.1 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.4182, allocations: 0 / 0.681 GB, free: 256 kB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.001081/0.4193, allocations: 327.9 kB / 0.6813 GB, free: 15.88 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.452e-05/0.4194, allocations: 8.031 kB / 0.6814 GB, free: 15.87 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.044e-05/0.4195, allocations: 4.938 kB / 0.6814 GB, free: 15.87 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004434/0.42, allocations: 168.3 kB / 0.6815 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.42, allocations: 384 / 0.6815 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.147e-05/0.4201, allocations: 12.31 kB / 0.6815 GB, free: 15.65 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/0.4204, allocations: 50.23 kB / 0.6816 GB, free: 15.6 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.4204, allocations: 192 / 0.6816 GB, free: 15.6 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.412e-05/0.4205, allocations: 3.938 kB / 0.6816 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.4205, allocations: 0 / 0.6816 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.877e-05/0.4206, allocations: 12 kB / 0.6816 GB, free: 15.58 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004059/0.421, allocations: 169.5 kB / 0.6818 GB, free: 15.37 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.4212, allocations: 46.56 kB / 0.6818 GB, free: 15.31 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.844e-05/0.4213, allocations: 24.97 kB / 0.6818 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002152/0.4216, allocations: 81.11 kB / 0.6819 GB, free: 15.19 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.806e-05/0.4217, allocations: 30.56 kB / 0.6819 GB, free: 15.15 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.933e-06/0.4217, allocations: 0 / 0.6819 GB, free: 15.15 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.002277/0.4239, allocations: 488 kB / 0.6824 GB, free: 14.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/0.424, allocations: 51.41 kB / 0.6824 GB, free: 14.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.4242, allocations: 97.86 kB / 0.6825 GB, free: 14.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.232e-05/0.4242, allocations: 29.7 kB / 0.6826 GB, free: 14.39 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.892e-05/0.4243, allocations: 80.14 kB / 0.6826 GB, free: 14.31 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.296e-05/0.4244, allocations: 27.64 kB / 0.6827 GB, free: 14.29 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.247e-05/0.4245, allocations: 17.72 kB / 0.6827 GB, free: 14.26 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002607/0.4247, allocations: 310.8 kB / 0.683 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002921/0.4251, allocations: 23.91 kB / 0.683 GB, free: 13.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.183e-05/0.4251, allocations: 12 kB / 0.683 GB, free: 13.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.4253, allocations: 36.97 kB / 0.6831 GB, free: 13.88 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.4253, allocations: 4 kB / 0.6831 GB, free: 13.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002193/0.4255, allocations: 65.69 kB / 0.6831 GB, free: 13.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.458e-05/0.4256, allocations: 7.938 kB / 0.6831 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.4256, allocations: 0 / 0.6831 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.4256, allocations: 0 / 0.6831 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.4257, allocations: 19.92 kB / 0.6831 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.4258, allocations: 3.938 kB / 0.6831 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.273e-05/0.4258, allocations: 4 kB / 0.6832 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.4258, allocations: 4.75 kB / 0.6832 GB, free: 13.76 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 (8): * Single equations (assignments): 8 * 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.0001898/0.426, allocations: 115.2 kB / 0.6833 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.4261, allocations: 7.844 kB / 0.6833 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002969/0.4264, allocations: 89.61 kB / 0.6834 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.4264, allocations: 0 / 0.6834 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.62e-05/0.4264, allocations: 4 kB / 0.6834 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.4264, allocations: 3.938 kB / 0.6834 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.4267, allocations: 165.7 kB / 0.6835 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.585e-06/0.4268, allocations: 0 / 0.6835 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.4269, allocations: 19.94 kB / 0.6835 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.4269, allocations: 3.938 kB / 0.6835 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.4269, allocations: 4 kB / 0.6836 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.4269, allocations: 0 / 0.6836 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/0.427, allocations: 3.984 kB / 0.6836 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003691/0.4273, allocations: 109.1 kB / 0.6837 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.387e-05/0.4274, allocations: 92.88 kB / 0.6837 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.4275, allocations: 4.031 kB / 0.6838 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.364e-05/0.4276, allocations: 4.062 kB / 0.6838 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.4276, allocations: 4 kB / 0.6838 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.4276, allocations: 7.984 kB / 0.6838 GB, free: 13.04 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002461/0.4279, allocations: 79.28 kB / 0.6838 GB, free: 12.96 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4279, allocations: 0 / 0.6838 GB, free: 12.96 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003964/0.4283, allocations: 28 kB / 0.6839 GB, free: 12.93 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0004539/0.4288, allocations: 131.2 kB / 0.684 GB, free: 12.79 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003853/0.4292, allocations: 40.08 kB / 0.684 GB, free: 12.75 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.4292, allocations: 4 kB / 0.684 GB, free: 12.75 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.83e-05/0.4293, allocations: 23.92 kB / 0.6841 GB, free: 12.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.4296, allocations: 5.5 kB / 0.6841 GB, free: 12.72 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006738/0.4302, allocations: 181.1 kB / 0.6842 GB, free: 12.52 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005467/0.4308, allocations: 0.6809 MB / 0.6849 GB, free: 11.81 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.513e-05/0.4309, allocations: 15.42 kB / 0.6849 GB, free: 11.79 MB / 494.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4309, allocations: 4 kB / 0.6849 GB, free: 11.79 MB / 494.1 MB Notification: Performance of Templates: time 0.004972/0.4359, allocations: 0.9142 MB / 0.6858 GB, free: 10.88 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.SmoothExponentialDerivativeCheckCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheckCalcHelperMain.o] Error 1