Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.00105/0.00105, allocations: 91.06 kB / 17.96 MB, free: 5.629 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.00133/0.001329, allocations: 176.3 kB / 18.86 MB, free: 4.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.831/1.831, allocations: 205.4 MB / 225 MB, free: 12.97 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006618/0.0006614, allocations: 16 kB / 282 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1645, allocations: 47.58 MB / 329.6 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003/0.1676, allocations: 1.375 MB / 331 MB, free: 2.363 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.1688, allocations: 0.5231 MB / 331.5 MB, free: 1.832 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.1689, allocations: 0 / 331.5 MB, free: 1.832 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.1691, allocations: 15.86 kB / 331.5 MB, free: 1.816 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.1692, allocations: 11.88 kB / 331.5 MB, free: 1.805 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/0.1695, allocations: 43.94 kB / 331.6 MB, free: 1.762 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.1697, allocations: 107.6 kB / 331.7 MB, free: 1.656 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.1699, allocations: 32.81 kB / 331.7 MB, free: 1.625 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.219e-05/0.1699, allocations: 35.8 kB / 331.7 MB, free: 1.59 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.1701, allocations: 43.72 kB / 331.8 MB, free: 1.547 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.149e-05/0.1701, allocations: 4 kB / 331.8 MB, free: 1.543 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.405e-05/0.1701, allocations: 4 kB / 331.8 MB, free: 1.539 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.513e-05/0.1702, allocations: 15.86 kB / 331.8 MB, free: 1.523 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.689e-05/0.1703, allocations: 69.38 kB / 331.9 MB, free: 1.449 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.1704, allocations: 60.11 kB / 331.9 MB, free: 1.391 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1704, allocations: 0 / 331.9 MB, free: 1.391 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.077e-06/0.1704, allocations: 7.984 kB / 331.9 MB, free: 1.383 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1704, allocations: 0 / 331.9 MB, free: 1.383 MB / 270.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.0007746/0.1712, allocations: 419 kB / 332.4 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.083e-05/0.1713, allocations: 8.031 kB / 332.4 MB, free: 0.918 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.257e-05/0.1714, allocations: 16.84 kB / 332.4 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.1717, allocations: 212.6 kB / 332.6 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.1717, allocations: 12.31 kB / 332.6 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.374e-05/0.1718, allocations: 12.12 kB / 332.6 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003945/0.1722, allocations: 140.2 kB / 332.7 MB, free: 492 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.1722, allocations: 3.906 kB / 332.7 MB, free: 488 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/0.1723, allocations: 3.984 kB / 332.8 MB, free: 484 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.1723, allocations: 7.938 kB / 332.8 MB, free: 476 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002817/0.1726, allocations: 79.89 kB / 332.8 MB, free: 396 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009768/0.1736, allocations: 0.5516 MB / 333.4 MB, free: 15.78 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005439/0.1741, allocations: 154.7 kB / 333.5 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002413/0.1744, allocations: 72.75 kB / 333.6 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.1744, allocations: 0 / 333.6 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.1745, allocations: 34.56 kB / 333.6 MB, free: 15.5 MB / 286.1 MB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.1745, allocations: 0 / 333.6 MB, free: 15.5 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.001808/0.1763, allocations: 0.5611 MB / 334.2 MB, free: 14.89 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/0.1764, allocations: 55.41 kB / 334.3 MB, free: 14.82 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.1766, allocations: 150.2 kB / 334.4 MB, free: 14.66 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.1766, allocations: 29.7 kB / 334.4 MB, free: 14.63 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.1768, allocations: 111.9 kB / 334.5 MB, free: 14.52 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.182e-05/0.1769, allocations: 47.34 kB / 334.6 MB, free: 14.47 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.363e-05/0.1769, allocations: 25.7 kB / 334.6 MB, free: 14.44 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002303/0.1772, allocations: 322.8 kB / 334.9 MB, free: 14.11 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/0.1774, allocations: 59.97 kB / 335 MB, free: 14.05 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004518/0.1779, allocations: 91.48 kB / 335.1 MB, free: 13.95 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005206/0.1784, allocations: 163.2 kB / 335.2 MB, free: 13.78 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.1784, allocations: 0 / 335.2 MB, free: 13.78 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006473/0.1791, allocations: 197.4 kB / 335.4 MB, free: 13.58 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.002e-05/0.1792, allocations: 8.094 kB / 335.4 MB, free: 13.57 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.1792, allocations: 7.875 kB / 335.4 MB, free: 13.57 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.803e-05/0.1792, allocations: 4 kB / 335.5 MB, free: 13.56 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002817/0.1795, allocations: 43.97 kB / 335.5 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.1795, allocations: 0 / 335.5 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.1797, allocations: 15.98 kB / 335.5 MB, free: 13.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.1797, allocations: 12 kB / 335.5 MB, free: 13.49 MB / 286.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001699/0.1799, allocations: 121.8 kB / 335.6 MB, free: 13.36 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.904e-05/0.18, allocations: 11.89 kB / 335.7 MB, free: 13.35 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.226e-05/0.1801, allocations: 20.66 kB / 335.7 MB, free: 13.33 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1801, allocations: 0 / 335.7 MB, free: 13.33 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.1801, allocations: 0 / 335.7 MB, free: 13.33 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.1801, allocations: 0 / 335.7 MB, free: 13.33 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.1814, allocations: 0.5194 MB / 336.2 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1814, allocations: 0 / 336.2 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/0.1817, allocations: 44.03 kB / 336.2 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/0.1817, allocations: 8 kB / 336.2 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.1817, allocations: 0 / 336.2 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.478e-06/0.1817, allocations: 7.938 kB / 336.2 MB, free: 12.69 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1817, allocations: 0 / 336.2 MB, free: 12.69 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008673/0.1826, allocations: 353 kB / 336.6 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.77e-05/0.1827, allocations: 88.92 kB / 336.7 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.1827, allocations: 0 / 336.7 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.1829, allocations: 20.08 kB / 336.7 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.836e-05/0.1831, allocations: 19.97 kB / 336.7 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.1831, allocations: 3.938 kB / 336.7 MB, free: 12.17 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001227/0.1832, allocations: 119.9 kB / 336.8 MB, free: 12.05 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1832, allocations: 0 / 336.8 MB, free: 12.05 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000474/0.1837, allocations: 24 kB / 336.9 MB, free: 12.03 MB / 286.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 (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.0001836/0.1839, allocations: 99.12 kB / 337 MB, free: 11.92 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005523/0.1845, allocations: 147.9 kB / 337.1 MB, free: 11.78 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.1845, allocations: 12.12 kB / 337.1 MB, free: 11.77 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002473/0.1847, allocations: 67.91 kB / 337.2 MB, free: 11.7 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007253/0.1855, allocations: 38.89 kB / 337.2 MB, free: 11.66 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.1865, allocations: 427.4 kB / 337.6 MB, free: 11.21 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004491/0.187, allocations: 0.7048 MB / 338.3 MB, free: 10.48 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.677e-05/0.1871, allocations: 15.44 kB / 338.4 MB, free: 10.46 MB / 286.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1871, allocations: 4 kB / 338.4 MB, free: 10.46 MB / 286.1 MB Notification: Performance of Templates: time 0.005318/0.1924, allocations: 1.671 MB / 340 MB, free: 8.793 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.makefile make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.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 OMCppModelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiterCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiterCalcHelperMain.o] Error 1