Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential") translateModel(IDEAS.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005252/0.005252, allocations: 100.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.001163/0.001163, allocations: 192 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7562/0.7562, allocations: 132.2 MB / 422.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001016/0.001016, allocations: 55.45 kB / 0.5017 GB, free: 4.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4204/0.4214, allocations: 80.21 MB / 0.58 GB, free: 4.527 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.002503/0.424, allocations: 1.489 MB / 0.5815 GB, free: 3.492 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004261/0.4244, allocations: 207.8 kB / 0.5817 GB, free: 3.348 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.277e-05/0.4245, allocations: 0.6562 kB / 0.5817 GB, free: 3.348 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.036e-05/0.4245, allocations: 1.75 kB / 0.5817 GB, free: 3.348 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.534e-05/0.4245, allocations: 3.938 kB / 0.5817 GB, free: 3.344 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002029/0.4248, allocations: 26.97 kB / 0.5817 GB, free: 3.332 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.636e-05/0.4248, allocations: 23.86 kB / 0.5817 GB, free: 3.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.54e-05/0.4249, allocations: 8.438 kB / 0.5817 GB, free: 3.316 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.402e-05/0.425, allocations: 12.84 kB / 0.5818 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.143e-05/0.425, allocations: 6.266 kB / 0.5818 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.425, allocations: 1.938 kB / 0.5818 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.249e-05/0.4251, allocations: 31.62 kB / 0.5818 GB, free: 3.301 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.573e-05/0.4251, allocations: 10.62 kB / 0.5818 GB, free: 3.293 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.43e-05/0.4252, allocations: 3.828 kB / 0.5818 GB, free: 3.293 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.656e-05/0.4253, allocations: 40.7 kB / 0.5818 GB, free: 3.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.4253, allocations: 1.062 kB / 0.5818 GB, free: 3.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.02e-07/0.4253, allocations: 0 / 0.5818 GB, free: 3.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.4253, allocations: 0 / 0.5818 GB, free: 3.27 MB / 430.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.0003525/0.4257, allocations: 345.6 kB / 0.5822 GB, free: 2.906 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.4257, allocations: 13.09 kB / 0.5822 GB, free: 2.902 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.696e-05/0.4257, allocations: 2.969 kB / 0.5822 GB, free: 2.902 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.823e-05/0.4258, allocations: 170.7 kB / 0.5824 GB, free: 2.699 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.4258, allocations: 1.25 kB / 0.5824 GB, free: 2.699 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-06/0.4258, allocations: 10 kB / 0.5824 GB, free: 2.691 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.426, allocations: 49.42 kB / 0.5824 GB, free: 2.656 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.426, allocations: 0.8438 kB / 0.5824 GB, free: 2.656 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.426, allocations: 5.094 kB / 0.5824 GB, free: 2.652 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.426, allocations: 0 / 0.5824 GB, free: 2.652 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.4262, allocations: 33.23 kB / 0.5825 GB, free: 2.648 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000265/0.4265, allocations: 247.5 kB / 0.5827 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.4266, allocations: 44.64 kB / 0.5827 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.361e-05/0.4267, allocations: 25.22 kB / 0.5828 GB, free: 2.328 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.417e-05/0.4268, allocations: 79.91 kB / 0.5828 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.298e-05/0.4268, allocations: 35.34 kB / 0.5829 GB, free: 2.191 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.4268, allocations: 4 kB / 0.5829 GB, free: 2.188 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003296/0.4271, allocations: 81.67 kB / 0.5829 GB, free: 2.148 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.996e-05/0.4272, allocations: 52.5 kB / 0.583 GB, free: 2.086 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.92e-05/0.4272, allocations: 106.6 kB / 0.5831 GB, free: 1.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.003e-06/0.4272, allocations: 25.7 kB / 0.5831 GB, free: 1.949 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.761e-05/0.4273, allocations: 85.72 kB / 0.5832 GB, free: 1.863 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.4273, allocations: 10.86 kB / 0.5832 GB, free: 1.855 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-05/0.4273, allocations: 11.77 kB / 0.5832 GB, free: 1.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.72e-05/0.4274, allocations: 312.9 kB / 0.5835 GB, free: 1.527 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.346e-05/0.4275, allocations: 18.61 kB / 0.5835 GB, free: 1.523 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.86e-05/0.4275, allocations: 14.39 kB / 0.5836 GB, free: 1.523 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.4277, allocations: 45.14 kB / 0.5836 GB, free: 1.504 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.4277, allocations: 1.5 kB / 0.5836 GB, free: 1.504 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001728/0.4279, allocations: 74.75 kB / 0.5837 GB, free: 1.457 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.4279, allocations: 5.219 kB / 0.5837 GB, free: 1.457 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.4279, allocations: 1.875 kB / 0.5837 GB, free: 1.457 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.4279, allocations: 7.938 kB / 0.5837 GB, free: 1.449 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.311e-05/0.428, allocations: 9.562 kB / 0.5837 GB, free: 1.449 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.428, allocations: 4.031 kB / 0.5837 GB, free: 1.445 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.449e-05/0.4281, allocations: 6 kB / 0.5837 GB, free: 1.445 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.4281, allocations: 1.219 kB / 0.5837 GB, free: 1.445 MB / 430.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 4.473e-05/0.4281, allocations: 116.9 kB / 0.5838 GB, free: 1.324 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.4282, allocations: 5.172 kB / 0.5838 GB, free: 1.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/0.4284, allocations: 68.41 kB / 0.5839 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.4284, allocations: 4.781 kB / 0.5839 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4284, allocations: 0 / 0.5839 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4284, allocations: 1.062 kB / 0.5839 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.4285, allocations: 163.8 kB / 0.584 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.4285, allocations: 0.7188 kB / 0.584 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.797e-05/0.4286, allocations: 16.47 kB / 0.5841 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4286, allocations: 1.219 kB / 0.5841 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.4286, allocations: 0.6562 kB / 0.5841 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.4286, allocations: 1.469 kB / 0.5841 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4286, allocations: 0 / 0.5841 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.4288, allocations: 162.7 kB / 0.5842 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.59e-05/0.4289, allocations: 82.83 kB / 0.5843 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.4289, allocations: 1.047 kB / 0.5843 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.108e-05/0.429, allocations: 10.3 kB / 0.5843 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.429, allocations: 3.891 kB / 0.5843 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.429, allocations: 4.031 kB / 0.5843 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.35e-05/0.429, allocations: 80.23 kB / 0.5844 GB, free: 0.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.429, allocations: 1.375 kB / 0.5844 GB, free: 0.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002193/0.4293, allocations: 10.36 kB / 0.5844 GB, free: 0.75 MB / 430.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.0001445/0.4294, allocations: 104.9 kB / 0.5845 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.4296, allocations: 39.67 kB / 0.5845 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4296, allocations: 5.094 kB / 0.5846 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.908e-05/0.4297, allocations: 15.64 kB / 0.5846 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.43, allocations: 10.53 kB / 0.5846 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000229/0.4302, allocations: 141.8 kB / 0.5847 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001408/0.4304, allocations: 0.6765 MB / 0.5854 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.164e-05/0.4304, allocations: 9.391 kB / 0.5854 GB, free: 15.79 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4304, allocations: 4 kB / 0.5854 GB, free: 15.79 MB / 446.1 MB Notification: Performance of Templates: time 0.002155/0.4326, allocations: 0.6621 MB / 0.586 GB, free: 15.73 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.makefile make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.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 OMCppIDEAS_IDEAS.Utilities.Math.Examples.SmoothExponentialCalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.Math.Examples.SmoothExponentialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Utilities.Math.Examples.SmoothExponentialCalcHelperMain.o] Error 1