Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.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) 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(Modelica.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|limit_a.y|limit_v.y|positionSmoothed.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter") translateModel(Modelica.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|limit_a.y|limit_v.y|positionSmoothed.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 97.14 kB / 16.96 MB, free: 6.41 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.002233/0.002233, allocations: 180.1 kB / 17.84 MB, free: 5.969 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.568/1.568, allocations: 223.2 MB / 241.9 MB, free: 14.58 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002659/0.000266, allocations: 4 kB / 301.4 MB, free: 6.223 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1285, allocations: 50.42 MB / 351.9 MB, free: 3.793 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.001961/0.1305, allocations: 1.363 MB / 353.2 MB, free: 2.414 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008343/0.1314, allocations: 459.1 kB / 353.7 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.026e-05/0.1315, allocations: 4 kB / 353.7 MB, free: 1.961 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.1316, allocations: 7.875 kB / 353.7 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.331e-05/0.1317, allocations: 19.84 kB / 353.7 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.1318, allocations: 35.97 kB / 353.7 MB, free: 1.898 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.132, allocations: 111.5 kB / 353.8 MB, free: 1.789 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.1322, allocations: 17.11 kB / 353.9 MB, free: 1.77 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.937e-05/0.1322, allocations: 35.8 kB / 353.9 MB, free: 1.734 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.905e-05/0.1323, allocations: 39.78 kB / 353.9 MB, free: 1.695 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.1323, allocations: 4 kB / 353.9 MB, free: 1.691 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.551e-05/0.1324, allocations: 4 kB / 353.9 MB, free: 1.688 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.007e-05/0.1324, allocations: 11.92 kB / 354 MB, free: 1.676 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.623e-05/0.1324, allocations: 45.64 kB / 354 MB, free: 1.625 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.1326, allocations: 64.09 kB / 354.1 MB, free: 1.562 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1326, allocations: 0 / 354.1 MB, free: 1.562 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1326, allocations: 0 / 354.1 MB, free: 1.562 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1326, allocations: 0 / 354.1 MB, free: 1.562 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005811/0.1332, allocations: 426.8 kB / 354.5 MB, free: 1.098 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.1332, allocations: 12.03 kB / 354.5 MB, free: 1.086 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.1333, allocations: 7.906 kB / 354.5 MB, free: 1.078 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.1335, allocations: 202.4 kB / 354.7 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.1335, allocations: 8 kB / 354.7 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.248e-05/0.1336, allocations: 15.91 kB / 354.7 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003053/0.1339, allocations: 146.8 kB / 354.9 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.1339, allocations: 7.922 kB / 354.9 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.1339, allocations: 4 kB / 354.9 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.134, allocations: 4 kB / 354.9 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000194/0.1342, allocations: 79.89 kB / 355 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007471/0.1349, allocations: 0.5556 MB / 355.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003317/0.1353, allocations: 150.5 kB / 355.7 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.1354, allocations: 76.98 kB / 355.7 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.1354, allocations: 3.938 kB / 355.7 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.1355, allocations: 30.56 kB / 355.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.1355, allocations: 0 / 355.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001125/0.1366, allocations: 0.564 MB / 356.3 MB, free: 15.06 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.1367, allocations: 51.41 kB / 356.4 MB, free: 15 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.1368, allocations: 150.2 kB / 356.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.1368, allocations: 29.7 kB / 356.6 MB, free: 14.81 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.227e-05/0.1369, allocations: 108 kB / 356.7 MB, free: 14.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.81e-05/0.137, allocations: 51.34 kB / 356.7 MB, free: 14.65 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.137, allocations: 4 kB / 356.7 MB, free: 14.64 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.1371, allocations: 326.8 kB / 357 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.1373, allocations: 55.95 kB / 357.1 MB, free: 14.26 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.1374, allocations: 95.33 kB / 357.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.1376, allocations: 74.22 kB / 357.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1376, allocations: 0 / 357.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003505/0.138, allocations: 193.3 kB / 357.4 MB, free: 13.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.138, allocations: 11.98 kB / 357.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.138, allocations: 0 / 357.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.138, allocations: 0 / 357.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.1382, allocations: 44.08 kB / 357.5 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.1382, allocations: 3.953 kB / 357.5 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.732e-05/0.1383, allocations: 19.98 kB / 357.5 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.1383, allocations: 4 kB / 357.5 MB, free: 13.81 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (positionSmoothed.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 9.705e-05/0.1384, allocations: 125.8 kB / 357.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.895e-05/0.1385, allocations: 15.91 kB / 357.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.335e-05/0.1385, allocations: 16.72 kB / 357.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1385, allocations: 0 / 357.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1385, allocations: 0 / 357.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.1386, allocations: 3.953 kB / 357.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007563/0.1393, allocations: 0.5165 MB / 358.2 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.1393, allocations: 4 kB / 358.2 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.1395, allocations: 35.92 kB / 358.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.1395, allocations: 3.953 kB / 358.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.1395, allocations: 4 kB / 358.2 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1395, allocations: 8.062 kB / 358.3 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.1395, allocations: 3.984 kB / 358.3 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005676/0.1401, allocations: 357.1 kB / 358.6 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.571e-05/0.1402, allocations: 88.92 kB / 358.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.1402, allocations: 11.95 kB / 358.7 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.1403, allocations: 19.97 kB / 358.7 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.465e-05/0.1404, allocations: 11.98 kB / 358.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.1404, allocations: 4 kB / 358.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.049e-05/0.1405, allocations: 118.9 kB / 358.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1405, allocations: 0 / 358.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000242/0.1408, allocations: 20 kB / 358.9 MB, free: 12.34 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (v.u,positionSmoothed.y,a.u) * 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 (12): * Single equations (assignments): 12 * 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.0001219/0.1409, allocations: 95.25 kB / 359 MB, free: 12.24 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003426/0.1412, allocations: 147.8 kB / 359.1 MB, free: 12.1 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1412, allocations: 4 kB / 359.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.1414, allocations: 80.2 kB / 359.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.1418, allocations: 31.98 kB / 359.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006697/0.1425, allocations: 411.3 kB / 359.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.1428, allocations: 0.7086 MB / 360.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.111e-05/0.1429, allocations: 15.44 kB / 360.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1429, allocations: 0 / 360.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of Templates: time 0.003404/0.1463, allocations: 1.67 MB / 362 MB, free: 9.129 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.makefile make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.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 OMCppModelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiterCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiterCalcHelperMain.o] Error 1