Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential") translateModel(IDEAS.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008886/0.0008886, allocations: 100.5 kB / 15.71 MB, free: 452 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.001472/0.001472, allocations: 175.3 kB / 16.58 MB, free: 6.422 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.466/1.466, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.071/1.071, allocations: 135.3 MB / 427 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003958/0.0003959, allocations: 8 kB / 0.5076 GB, free: 5.281 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2155, allocations: 82.31 MB / 0.588 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.001733/0.2173, allocations: 1.14 MB / 0.5891 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004032/0.2177, allocations: 198.1 kB / 0.5893 GB, free: 1.789 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.836e-05/0.2177, allocations: 0 / 0.5893 GB, free: 1.789 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.334e-05/0.2177, allocations: 0 / 0.5893 GB, free: 1.789 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.045e-05/0.2178, allocations: 3.938 kB / 0.5893 GB, free: 1.785 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.218, allocations: 19.97 kB / 0.5893 GB, free: 1.766 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.76e-05/0.2181, allocations: 23.92 kB / 0.5893 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.349e-05/0.2182, allocations: 4 kB / 0.5893 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.467e-05/0.2183, allocations: 7.938 kB / 0.5893 GB, free: 1.73 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.784e-05/0.2183, allocations: 15.97 kB / 0.5894 GB, free: 1.715 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.2183, allocations: 4 kB / 0.5894 GB, free: 1.711 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.608e-05/0.2184, allocations: 31.97 kB / 0.5894 GB, free: 1.68 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.997e-06/0.2184, allocations: 0 / 0.5894 GB, free: 1.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.629e-05/0.2185, allocations: 29.64 kB / 0.5894 GB, free: 1.645 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.022e-05/0.2186, allocations: 27.95 kB / 0.5894 GB, free: 1.617 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.2186, allocations: 0 / 0.5894 GB, free: 1.617 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.2186, allocations: 0 / 0.5894 GB, free: 1.617 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.2186, allocations: 0 / 0.5894 GB, free: 1.617 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.000466/0.2191, allocations: 355.4 kB / 0.5898 GB, free: 1.223 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.2191, allocations: 8.031 kB / 0.5898 GB, free: 1.215 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.856e-05/0.2192, allocations: 8 kB / 0.5898 GB, free: 1.207 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.2193, allocations: 167 kB / 0.59 GB, free: 1.004 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.2193, allocations: 0 / 0.59 GB, free: 1.004 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-06/0.2193, allocations: 0 / 0.59 GB, free: 1.004 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.2195, allocations: 57.67 kB / 0.59 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.2195, allocations: 4 kB / 0.59 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.2195, allocations: 0 / 0.59 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.2195, allocations: 0 / 0.59 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.2197, allocations: 43.91 kB / 0.5901 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003548/0.22, allocations: 260.8 kB / 0.5903 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.2202, allocations: 42.56 kB / 0.5903 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.08e-05/0.2203, allocations: 24.91 kB / 0.5904 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.717e-05/0.2204, allocations: 89.09 kB / 0.5905 GB, free: 416 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.2204, allocations: 30.56 kB / 0.5905 GB, free: 376 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.2204, allocations: 3.938 kB / 0.5905 GB, free: 372 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003896/0.2208, allocations: 101.7 kB / 0.5906 GB, free: 264 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.2208, allocations: 51.41 kB / 0.5906 GB, free: 200 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.114e-05/0.2209, allocations: 97.86 kB / 0.5907 GB, free: 92 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.2209, allocations: 25.7 kB / 0.5908 GB, free: 60 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.2211, allocations: 88.12 kB / 0.5908 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.488e-05/0.2211, allocations: 7.906 kB / 0.5908 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/0.2211, allocations: 0 / 0.5908 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002344/0.2213, allocations: 318.8 kB / 0.5911 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.17e-05/0.2214, allocations: 23.98 kB / 0.5912 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.586e-05/0.2215, allocations: 19.97 kB / 0.5912 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.071e-05/0.2216, allocations: 28.05 kB / 0.5912 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.2216, allocations: 0 / 0.5912 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001771/0.2218, allocations: 73.61 kB / 0.5913 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.2218, allocations: 11.98 kB / 0.5913 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.2218, allocations: 8.016 kB / 0.5913 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.2218, allocations: 0 / 0.5913 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.906e-05/0.2219, allocations: 8 kB / 0.5913 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.2219, allocations: 7.922 kB / 0.5913 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.595e-05/0.222, allocations: 11.98 kB / 0.5913 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.222, allocations: 0 / 0.5913 GB, free: 15.45 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001528/0.2222, allocations: 117.8 kB / 0.5914 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.2222, allocations: 4 kB / 0.5915 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002243/0.2224, allocations: 88.61 kB / 0.5915 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.2224, allocations: 0 / 0.5915 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.2224, allocations: 256 / 0.5915 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.2224, allocations: 7.969 kB / 0.5915 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.2226, allocations: 165.6 kB / 0.5917 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2226, allocations: 0 / 0.5917 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.419e-05/0.2227, allocations: 15.98 kB / 0.5917 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.2227, allocations: 4 kB / 0.5917 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.2227, allocations: 0 / 0.5917 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2227, allocations: 0 / 0.5917 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2227, allocations: 0 / 0.5917 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.223, allocations: 171.5 kB / 0.5919 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.067e-05/0.223, allocations: 85.05 kB / 0.592 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.223, allocations: 0 / 0.592 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.629e-05/0.2231, allocations: 16.02 kB / 0.592 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.2232, allocations: 4 kB / 0.592 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.2232, allocations: 0 / 0.592 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.115e-05/0.2232, allocations: 83.27 kB / 0.5921 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2232, allocations: 0 / 0.5921 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00023/0.2235, allocations: 12 kB / 0.5921 GB, free: 14.59 MB / 0.4981 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001901/0.2237, allocations: 107.2 kB / 0.5922 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002023/0.2239, allocations: 47.95 kB / 0.5922 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2239, allocations: 0 / 0.5922 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.224, allocations: 23.98 kB / 0.5922 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.2243, allocations: 14.58 kB / 0.5923 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002864/0.2246, allocations: 146.2 kB / 0.5924 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.2249, allocations: 0.677 MB / 0.5931 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.244e-05/0.225, allocations: 7.438 kB / 0.5931 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.225, allocations: 0 / 0.5931 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.002255/0.2272, allocations: 0.6612 MB / 0.5937 GB, free: 12.85 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.makefile make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponentialCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponentialCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponentialCalcHelperMain.o] Error 1