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.001565/0.001565, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001723/0.001723, allocations: 194 kB / 18.72 MB, free: 4.762 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.845/1.845, allocations: 205.1 MB / 224.6 MB, free: 12.47 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.001499/0.001499, allocations: 47.94 kB / 280.6 MB, free: 3.602 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1316, allocations: 46.63 MB / 327.2 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.005616/0.1372, allocations: 1.714 MB / 329 MB, free: 3.172 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001489/0.1388, allocations: 0.5231 MB / 329.5 MB, free: 2.641 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002343/0.1391, allocations: 7.938 kB / 329.5 MB, free: 2.633 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001788/0.1393, allocations: 7.922 kB / 329.5 MB, free: 2.625 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.1395, allocations: 23.84 kB / 329.5 MB, free: 2.602 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.1397, allocations: 43.89 kB / 329.6 MB, free: 2.559 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002417/0.14, allocations: 103.6 kB / 329.7 MB, free: 2.457 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.1402, allocations: 32.89 kB / 329.7 MB, free: 2.426 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.453e-05/0.1403, allocations: 39.73 kB / 329.7 MB, free: 2.387 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.1404, allocations: 43.77 kB / 329.8 MB, free: 2.344 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.1404, allocations: 4 kB / 329.8 MB, free: 2.34 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.382e-05/0.1404, allocations: 4 kB / 329.8 MB, free: 2.336 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.097e-05/0.1405, allocations: 31.78 kB / 329.8 MB, free: 2.305 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.464e-05/0.1405, allocations: 35.75 kB / 329.8 MB, free: 2.27 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.1407, allocations: 60.11 kB / 329.9 MB, free: 2.211 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.1407, allocations: 4 kB / 329.9 MB, free: 2.207 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1407, allocations: 4 kB / 329.9 MB, free: 2.203 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.1407, allocations: 4 kB / 329.9 MB, free: 2.199 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.0007452/0.1414, allocations: 415 kB / 330.3 MB, free: 1.746 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.1415, allocations: 12.03 kB / 330.3 MB, free: 1.734 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.679e-05/0.1416, allocations: 12.75 kB / 330.3 MB, free: 1.723 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.1419, allocations: 216.6 kB / 330.6 MB, free: 1.473 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.1419, allocations: 12.31 kB / 330.6 MB, free: 1.461 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.231e-05/0.142, allocations: 24.11 kB / 330.6 MB, free: 1.438 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003824/0.1424, allocations: 132.1 kB / 330.7 MB, free: 1.293 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.1424, allocations: 0 / 330.7 MB, free: 1.293 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.1424, allocations: 7.938 kB / 330.7 MB, free: 1.285 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.1424, allocations: 7.984 kB / 330.7 MB, free: 1.277 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001965/0.1426, allocations: 67.86 kB / 330.8 MB, free: 1.211 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000896/0.1435, allocations: 0.5437 MB / 331.3 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003361/0.1439, allocations: 134.5 kB / 331.5 MB, free: 480 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/0.144, allocations: 60.81 kB / 331.5 MB, free: 416 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.1441, allocations: 8 kB / 331.5 MB, free: 408 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.1441, allocations: 30.56 kB / 331.6 MB, free: 368 kB / 270.1 MB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.1441, allocations: 0 / 331.6 MB, free: 368 kB / 270.1 MB Notification: Performance of matching and sorting (n=12): time 0.001191/0.1453, allocations: 0.5058 MB / 332.1 MB, free: 15.8 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.1454, allocations: 51.41 kB / 332.1 MB, free: 15.74 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.1456, allocations: 154.2 kB / 332.3 MB, free: 15.58 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.1456, allocations: 33.7 kB / 332.3 MB, free: 15.54 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.819e-05/0.1457, allocations: 111.9 kB / 332.4 MB, free: 15.43 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/0.1457, allocations: 39.36 kB / 332.5 MB, free: 15.39 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.334e-05/0.1458, allocations: 45.64 kB / 332.5 MB, free: 15.34 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.146, allocations: 322.8 kB / 332.8 MB, free: 15.01 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.1461, allocations: 47.97 kB / 332.9 MB, free: 14.96 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.1463, allocations: 79.45 kB / 332.9 MB, free: 14.88 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.1466, allocations: 143.2 kB / 333.1 MB, free: 14.73 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1466, allocations: 0 / 333.1 MB, free: 14.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003728/0.147, allocations: 177.4 kB / 333.3 MB, free: 14.55 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.147, allocations: 4 kB / 333.3 MB, free: 14.54 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.147, allocations: 3.938 kB / 333.3 MB, free: 14.54 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.562e-05/0.1471, allocations: 4 kB / 333.3 MB, free: 14.54 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.1472, allocations: 39.91 kB / 333.3 MB, free: 14.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.1473, allocations: 0 / 333.3 MB, free: 14.5 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.137e-05/0.1474, allocations: 20.08 kB / 333.3 MB, free: 14.48 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.1474, allocations: 7.938 kB / 333.3 MB, free: 14.47 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.000127/0.1475, allocations: 121.8 kB / 333.5 MB, free: 14.34 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.183e-05/0.1476, allocations: 11.89 kB / 333.5 MB, free: 14.33 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.999e-05/0.1476, allocations: 20.66 kB / 333.5 MB, free: 14.3 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1476, allocations: 0 / 333.5 MB, free: 14.3 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.1476, allocations: 0 / 333.5 MB, free: 14.3 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1476, allocations: 0 / 333.5 MB, free: 14.3 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007993/0.1485, allocations: 0.4959 MB / 334 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1485, allocations: 4.062 kB / 334 MB, free: 13.74 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.1486, allocations: 31.97 kB / 334 MB, free: 13.71 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.1487, allocations: 4 kB / 334 MB, free: 13.71 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.1487, allocations: 4 kB / 334 MB, free: 13.7 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1487, allocations: 0 / 334 MB, free: 13.7 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.1487, allocations: 4 kB / 334 MB, free: 13.7 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006743/0.1494, allocations: 320.9 kB / 334.3 MB, free: 13.36 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.815e-05/0.1495, allocations: 88.92 kB / 334.4 MB, free: 13.26 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.1495, allocations: 4 kB / 334.4 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.1497, allocations: 20.03 kB / 334.5 MB, free: 13.23 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.244e-05/0.1497, allocations: 11.98 kB / 334.5 MB, free: 13.22 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.1498, allocations: 4 kB / 334.5 MB, free: 13.22 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001123/0.1499, allocations: 112.1 kB / 334.6 MB, free: 13.11 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1499, allocations: 0 / 334.6 MB, free: 13.11 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000281/0.1502, allocations: 20 kB / 334.6 MB, free: 13.09 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.0001467/0.1503, allocations: 115.4 kB / 334.7 MB, free: 12.96 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003825/0.1507, allocations: 131.9 kB / 334.8 MB, free: 12.84 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1507, allocations: 4 kB / 334.8 MB, free: 12.83 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.1509, allocations: 63.91 kB / 334.9 MB, free: 12.77 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006155/0.1515, allocations: 44.5 kB / 335 MB, free: 12.73 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008677/0.1524, allocations: 388.1 kB / 335.3 MB, free: 12.31 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004849/0.1529, allocations: 0.7126 MB / 336 MB, free: 11.57 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.58e-05/0.153, allocations: 15.44 kB / 336.1 MB, free: 11.55 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.153, allocations: 0 / 336.1 MB, free: 11.55 MB / 286.1 MB Notification: Performance of Templates: time 0.004387/0.1574, allocations: 1.67 MB / 337.7 MB, free: 9.887 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