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.0008199/0.0008201, allocations: 83.38 kB / 17.58 MB, free: 5.758 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.0008734/0.0008735, allocations: 183.9 kB / 18.48 MB, free: 5.207 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.6/1.6, allocations: 205.4 MB / 224.6 MB, free: 13.09 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.0004236/0.0004236, allocations: 12 kB / 281.4 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1127, allocations: 47.58 MB / 329 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.001762/0.1145, allocations: 1.344 MB / 330.3 MB, free: 2.723 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008231/0.1153, allocations: 0.4961 MB / 330.8 MB, free: 2.219 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.26e-05/0.1154, allocations: 7.938 kB / 330.8 MB, free: 2.211 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.299e-05/0.1155, allocations: 3.938 kB / 330.8 MB, free: 2.207 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 4.93e-05/0.1155, allocations: 11.86 kB / 330.8 MB, free: 2.195 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001027/0.1156, allocations: 43.95 kB / 330.9 MB, free: 2.152 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.1158, allocations: 103.6 kB / 331 MB, free: 2.051 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.1159, allocations: 28.89 kB / 331 MB, free: 2.023 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.651e-05/0.116, allocations: 35.78 kB / 331.1 MB, free: 1.988 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.459e-05/0.1161, allocations: 39.78 kB / 331.1 MB, free: 1.949 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.1161, allocations: 4 kB / 331.1 MB, free: 1.945 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.531e-05/0.1161, allocations: 4 kB / 331.1 MB, free: 1.941 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.029e-05/0.1162, allocations: 15.92 kB / 331.1 MB, free: 1.926 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.814e-05/0.1162, allocations: 41.64 kB / 331.2 MB, free: 1.879 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 9.497e-05/0.1163, allocations: 56.11 kB / 331.2 MB, free: 1.824 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1163, allocations: 0 / 331.2 MB, free: 1.824 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1163, allocations: 0 / 331.2 MB, free: 1.824 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1163, allocations: 4 kB / 331.2 MB, free: 1.82 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.0005927/0.1169, allocations: 418.8 kB / 331.6 MB, free: 1.363 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.117, allocations: 12.03 kB / 331.6 MB, free: 1.352 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.817e-05/0.117, allocations: 11.91 kB / 331.6 MB, free: 1.34 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.1173, allocations: 211.4 kB / 331.9 MB, free: 1.094 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.1173, allocations: 11.95 kB / 331.9 MB, free: 1.082 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.308e-05/0.1174, allocations: 19.84 kB / 331.9 MB, free: 1.062 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000366/0.1177, allocations: 136.2 kB / 332 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1178, allocations: 0 / 332 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.1178, allocations: 4 kB / 332 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.1178, allocations: 7.984 kB / 332 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001986/0.118, allocations: 75.89 kB / 332.1 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008274/0.1188, allocations: 0.5556 MB / 332.7 MB, free: 220 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003412/0.1192, allocations: 154.5 kB / 332.8 MB, free: 56 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.1194, allocations: 76.88 kB / 332.9 MB, free: 15.98 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.1194, allocations: 11.94 kB / 332.9 MB, free: 15.96 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.1194, allocations: 30.56 kB / 332.9 MB, free: 15.93 MB / 286.1 MB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.1195, allocations: 0 / 332.9 MB, free: 15.93 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.001206/0.1207, allocations: 0.5524 MB / 333.5 MB, free: 15.32 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.1207, allocations: 55.41 kB / 333.5 MB, free: 15.25 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.1209, allocations: 158.2 kB / 333.7 MB, free: 15.09 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.1209, allocations: 29.7 kB / 333.7 MB, free: 15.05 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.325e-05/0.121, allocations: 108 kB / 333.8 MB, free: 14.95 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.239e-05/0.121, allocations: 43.36 kB / 333.9 MB, free: 14.9 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.154e-06/0.121, allocations: 4 kB / 333.9 MB, free: 14.9 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1212, allocations: 318.8 kB / 334.2 MB, free: 14.58 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.1213, allocations: 67.95 kB / 334.2 MB, free: 14.51 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.1215, allocations: 91.39 kB / 334.3 MB, free: 14.41 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.1216, allocations: 67.97 kB / 334.4 MB, free: 14.34 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1216, allocations: 4 kB / 334.4 MB, free: 14.34 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003502/0.122, allocations: 201.3 kB / 334.6 MB, free: 14.14 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.122, allocations: 4 kB / 334.6 MB, free: 14.13 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.122, allocations: 7.984 kB / 334.6 MB, free: 14.12 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1221, allocations: 0 / 334.6 MB, free: 14.12 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.1222, allocations: 35.98 kB / 334.6 MB, free: 14.09 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.1222, allocations: 4 kB / 334.6 MB, free: 14.09 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.702e-05/0.1223, allocations: 27.98 kB / 334.7 MB, free: 14.06 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.1223, allocations: 4 kB / 334.7 MB, free: 14.05 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.6e-05/0.1224, allocations: 125.8 kB / 334.8 MB, free: 13.92 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.1225, allocations: 15.86 kB / 334.8 MB, free: 13.91 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.915e-05/0.1225, allocations: 12.72 kB / 334.8 MB, free: 13.89 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1225, allocations: 4.938 kB / 334.8 MB, free: 13.89 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.1225, allocations: 0 / 334.8 MB, free: 13.89 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1226, allocations: 4 kB / 334.8 MB, free: 13.88 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007021/0.1233, allocations: 0.5194 MB / 335.4 MB, free: 13.3 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1233, allocations: 4.156 kB / 335.4 MB, free: 13.3 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.1234, allocations: 43.86 kB / 335.4 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1234, allocations: 0 / 335.4 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.1235, allocations: 4 kB / 335.4 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1235, allocations: 0 / 335.4 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.1235, allocations: 4 kB / 335.4 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005767/0.1241, allocations: 356.9 kB / 335.8 MB, free: 12.88 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.846e-05/0.1241, allocations: 88.92 kB / 335.8 MB, free: 12.77 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.1242, allocations: 8 kB / 335.9 MB, free: 12.76 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.1243, allocations: 20.03 kB / 335.9 MB, free: 12.74 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.186e-05/0.1243, allocations: 7.984 kB / 335.9 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.1244, allocations: 8 kB / 335.9 MB, free: 12.73 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.045e-05/0.1244, allocations: 111.9 kB / 336 MB, free: 12.62 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1244, allocations: 0 / 336 MB, free: 12.62 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002332/0.1247, allocations: 24 kB / 336 MB, free: 12.59 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 (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.0001528/0.1248, allocations: 99.25 kB / 336.1 MB, free: 12.48 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003573/0.1252, allocations: 147.9 kB / 336.3 MB, free: 12.34 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1252, allocations: 0 / 336.3 MB, free: 12.34 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.1254, allocations: 75.91 kB / 336.3 MB, free: 12.27 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.1258, allocations: 47.34 kB / 336.4 MB, free: 12.22 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006621/0.1265, allocations: 399.4 kB / 336.8 MB, free: 11.8 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.1269, allocations: 0.7125 MB / 337.5 MB, free: 11.06 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.322e-05/0.1269, allocations: 15.44 kB / 337.5 MB, free: 11.04 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.127, allocations: 0 / 337.5 MB, free: 11.04 MB / 286.1 MB Notification: Performance of Templates: time 0.003555/0.1305, allocations: 1.669 MB / 339.2 MB, free: 9.375 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++ 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_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