Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008557/0.0008557, allocations: 99.98 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.00101/0.001011, allocations: 177 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.502/1.502, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.023/1.023, allocations: 135.3 MB / 427 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003765/0.0003765, allocations: 17.05 kB / 0.5076 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2221, allocations: 82.3 MB / 0.588 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002925/0.225, allocations: 1.451 MB / 0.5894 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.2267, allocations: 0.6052 MB / 0.59 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.2269, allocations: 3.938 kB / 0.59 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.901e-05/0.2269, allocations: 7.922 kB / 0.59 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001358/0.2271, allocations: 19.86 kB / 0.59 GB, free: 1.027 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007813/0.2279, allocations: 151 kB / 0.5902 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.2281, allocations: 103.7 kB / 0.5903 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001895/0.2283, allocations: 45.27 kB / 0.5903 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.2284, allocations: 43.84 kB / 0.5903 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.931e-05/0.2286, allocations: 39.78 kB / 0.5904 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.2286, allocations: 4 kB / 0.5904 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.2287, allocations: 39.95 kB / 0.5904 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.842e-05/0.2288, allocations: 27.91 kB / 0.5905 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.894e-05/0.2288, allocations: 37.64 kB / 0.5905 GB, free: 0.543 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.229, allocations: 100 kB / 0.5906 GB, free: 456 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.229, allocations: 4 kB / 0.5906 GB, free: 452 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.229, allocations: 0 / 0.5906 GB, free: 452 kB / 494.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.2291, allocations: 0 / 0.5906 GB, free: 452 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007707/0.2298, allocations: 415.1 kB / 0.591 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.2299, allocations: 8.031 kB / 0.591 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.2311, allocations: 139.6 kB / 0.5911 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.2313, allocations: 178.7 kB / 0.5913 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.2314, allocations: 71.31 kB / 0.5914 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.2314, allocations: 12 kB / 0.5914 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006592/0.2321, allocations: 189.5 kB / 0.5916 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.2321, allocations: 0 / 0.5916 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.908e-05/0.2322, allocations: 7.938 kB / 0.5916 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.2322, allocations: 4 kB / 0.5916 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008549/0.233, allocations: 199.8 kB / 0.5918 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.2344, allocations: 0.494 MB / 0.5922 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/0.2357, allocations: 270.3 kB / 0.5925 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003885/0.2361, allocations: 96.91 kB / 0.5926 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.361e-05/0.2362, allocations: 4 kB / 0.5926 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.2362, allocations: 38.5 kB / 0.5926 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.2362, allocations: 0 / 0.5926 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.001349/0.2376, allocations: 309.5 kB / 0.5929 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.2377, allocations: 59.41 kB / 0.593 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.2378, allocations: 139.5 kB / 0.5931 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.2379, allocations: 25.7 kB / 0.5931 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.238, allocations: 116.1 kB / 0.5933 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.238, allocations: 15.73 kB / 0.5933 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.266e-05/0.238, allocations: 8 kB / 0.5933 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.2382, allocations: 314.8 kB / 0.5936 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000425/0.2386, allocations: 91.92 kB / 0.5937 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004039/0.239, allocations: 114.4 kB / 0.5938 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004285/0.2395, allocations: 91.92 kB / 0.5939 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2395, allocations: 0 / 0.5939 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0008876/0.2404, allocations: 237.4 kB / 0.5941 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.2404, allocations: 8 kB / 0.5941 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.2404, allocations: 0 / 0.5941 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.2405, allocations: 0 / 0.5941 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003304/0.2408, allocations: 51.95 kB / 0.5941 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.2408, allocations: 0 / 0.5941 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/0.2411, allocations: 35.86 kB / 0.5942 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.368e-05/0.2411, allocations: 7.953 kB / 0.5942 GB, free: 12.52 MB / 0.4981 GB 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 (8): * Single equations (assignments): 8 * 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.0002366/0.2413, allocations: 121.8 kB / 0.5943 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.913e-05/0.2414, allocations: 7.906 kB / 0.5943 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.2425, allocations: 238.2 kB / 0.5945 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.2426, allocations: 8 kB / 0.5945 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.2426, allocations: 3.938 kB / 0.5945 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2426, allocations: 0 / 0.5945 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003852/0.243, allocations: 246.1 kB / 0.5948 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.243, allocations: 0 / 0.5948 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002658/0.2433, allocations: 39.95 kB / 0.5948 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.2433, allocations: 0 / 0.5948 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.2433, allocations: 7.984 kB / 0.5948 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.2433, allocations: 0 / 0.5948 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.2433, allocations: 4.312 kB / 0.5948 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009982/0.2443, allocations: 335.2 kB / 0.5952 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-05/0.2444, allocations: 85.02 kB / 0.5952 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.2445, allocations: 0 / 0.5952 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003574/0.2448, allocations: 39.95 kB / 0.5953 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.2449, allocations: 8 kB / 0.5953 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.72e-05/0.2449, allocations: 7.984 kB / 0.5953 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001057/0.245, allocations: 104.8 kB / 0.5954 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.245, allocations: 0 / 0.5954 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004341/0.2455, allocations: 31.86 kB / 0.5954 GB, free: 11.16 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 (6): * Single equations (assignments): 6 * 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.0002034/0.2457, allocations: 95.25 kB / 0.5955 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009366/0.2466, allocations: 203.8 kB / 0.5957 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.2467, allocations: 0 / 0.5957 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000431/0.2471, allocations: 104 kB / 0.5958 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004498/0.2476, allocations: 15.22 kB / 0.5958 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009899/0.2486, allocations: 320.1 kB / 0.5961 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005907/0.2492, allocations: 0.7043 MB / 0.5968 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.2493, allocations: 15.42 kB / 0.5968 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/0.2493, allocations: 0 / 0.5968 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of Templates: time 0.004539/0.2538, allocations: 1.593 MB / 0.5984 GB, free: 8.062 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocksCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocksCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocksCalcHelperMain.o] Error 1