Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.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.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate") translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008825/0.0008829, allocations: 95.48 kB / 17.59 MB, free: 6.168 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.0008212/0.000821, allocations: 184 kB / 18.47 MB, free: 5.336 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.686/1.686, allocations: 205.4 MB / 224.6 MB, free: 13.15 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.0004778/0.0004779, allocations: 11.98 kB / 281.4 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1192, allocations: 47.59 MB / 329 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002166/0.1214, allocations: 1.313 MB / 330.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004423/0.1219, allocations: 75.73 kB / 330.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.8e-05/0.122, allocations: 4 kB / 330.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.1221, allocations: 7.922 kB / 330.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 5.171e-05/0.1222, allocations: 11.92 kB / 330.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001316/0.1223, allocations: 15.98 kB / 330.4 MB, free: 2.648 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.1224, allocations: 59.67 kB / 330.5 MB, free: 2.59 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.1226, allocations: 19.97 kB / 330.5 MB, free: 2.57 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.358e-05/0.1226, allocations: 15.94 kB / 330.5 MB, free: 2.555 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.523e-05/0.1227, allocations: 23.92 kB / 330.5 MB, free: 2.531 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.1227, allocations: 4 kB / 330.5 MB, free: 2.527 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.665e-05/0.1227, allocations: 4 kB / 330.5 MB, free: 2.523 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.77e-05/0.1228, allocations: 11.92 kB / 330.5 MB, free: 2.512 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.803e-05/0.1228, allocations: 33.7 kB / 330.6 MB, free: 2.473 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 8.954e-05/0.1229, allocations: 56 kB / 330.6 MB, free: 2.418 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1229, allocations: 0 / 330.6 MB, free: 2.418 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1229, allocations: 0 / 330.6 MB, free: 2.418 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.123, allocations: 0 / 330.6 MB, free: 2.418 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005418/0.1235, allocations: 355.2 kB / 331 MB, free: 2.023 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/0.1236, allocations: 15.97 kB / 331 MB, free: 2.008 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.507e-05/0.1236, allocations: 7.906 kB / 331 MB, free: 2 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.124, allocations: 179 kB / 331.2 MB, free: 1.785 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.124, allocations: 7.953 kB / 331.2 MB, free: 1.777 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.687e-05/0.1241, allocations: 11.98 kB / 331.2 MB, free: 1.766 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.1243, allocations: 57.69 kB / 331.3 MB, free: 1.703 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.1243, allocations: 11.89 kB / 331.3 MB, free: 1.691 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.1243, allocations: 4 kB / 331.3 MB, free: 1.688 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1243, allocations: 0 / 331.3 MB, free: 1.688 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.1244, allocations: 39.92 kB / 331.3 MB, free: 1.648 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008571/0.1253, allocations: 379.6 kB / 331.7 MB, free: 1.219 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.1255, allocations: 58.5 kB / 331.7 MB, free: 1.152 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.55e-05/0.1255, allocations: 16.86 kB / 331.8 MB, free: 1.133 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.1256, allocations: 0 / 331.8 MB, free: 1.133 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.57e-05/0.1256, allocations: 34.56 kB / 331.8 MB, free: 1.09 MB / 270.1 MB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.1257, allocations: 4 kB / 331.8 MB, free: 1.086 MB / 270.1 MB Notification: Performance of matching and sorting (n=9): time 0.001164/0.1268, allocations: 0.5091 MB / 332.3 MB, free: 496 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.1269, allocations: 51.41 kB / 332.3 MB, free: 432 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.127, allocations: 126.4 kB / 332.5 MB, free: 292 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.1271, allocations: 29.7 kB / 332.5 MB, free: 256 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.807e-05/0.1272, allocations: 88.05 kB / 332.6 MB, free: 164 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.964e-05/0.1272, allocations: 39.39 kB / 332.6 MB, free: 124 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-06/0.1272, allocations: 4.094 kB / 332.6 MB, free: 120 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.1274, allocations: 318.8 kB / 332.9 MB, free: 15.8 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.312e-05/0.1275, allocations: 23.98 kB / 333 MB, free: 15.77 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.1276, allocations: 65.08 kB / 333 MB, free: 15.69 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.604e-05/0.1277, allocations: 20 kB / 333 MB, free: 15.67 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.1277, allocations: 4 kB / 333 MB, free: 15.67 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002309/0.128, allocations: 105.5 kB / 333.2 MB, free: 15.56 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.128, allocations: 11.98 kB / 333.2 MB, free: 15.55 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.128, allocations: 4.031 kB / 333.2 MB, free: 15.54 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.128, allocations: 8 kB / 333.2 MB, free: 15.54 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.1282, allocations: 19.94 kB / 333.2 MB, free: 15.52 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.599e-05/0.1282, allocations: 11.94 kB / 333.2 MB, free: 15.5 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.523e-05/0.1282, allocations: 4 kB / 333.2 MB, free: 15.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.1283, allocations: 4 kB / 333.2 MB, free: 15.5 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (13): * Single equations (assignments): 13 * 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.0001348/0.1284, allocations: 113.8 kB / 333.3 MB, free: 15.38 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.477e-05/0.1285, allocations: 4 kB / 333.3 MB, free: 15.37 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.981e-05/0.1285, allocations: 16.38 kB / 333.3 MB, free: 15.36 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1285, allocations: 4 kB / 333.3 MB, free: 15.35 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.1285, allocations: 0 / 333.3 MB, free: 15.35 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.1286, allocations: 3.953 kB / 333.4 MB, free: 15.35 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006217/0.1292, allocations: 402.6 kB / 333.7 MB, free: 14.88 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1292, allocations: 160 / 333.7 MB, free: 14.88 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.1293, allocations: 23.98 kB / 333.8 MB, free: 14.86 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.828e-06/0.1293, allocations: 8.141 kB / 333.8 MB, free: 14.85 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.1294, allocations: 4 kB / 333.8 MB, free: 14.85 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.736e-06/0.1294, allocations: 7.938 kB / 333.8 MB, free: 14.84 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.1294, allocations: 0 / 333.8 MB, free: 14.84 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000346/0.1298, allocations: 231.7 kB / 334 MB, free: 14.58 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.463e-05/0.1299, allocations: 85.02 kB / 334.1 MB, free: 14.48 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.639e-05/0.1299, allocations: 15.94 kB / 334.1 MB, free: 14.46 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.13, allocations: 4 kB / 334.1 MB, free: 14.46 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.994e-05/0.1301, allocations: 4 kB / 334.1 MB, free: 14.46 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.1301, allocations: 4 kB / 334.1 MB, free: 14.45 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.585e-05/0.1302, allocations: 103.4 kB / 334.2 MB, free: 14.35 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1302, allocations: 0 / 334.2 MB, free: 14.35 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000375/0.1305, allocations: 12 kB / 334.2 MB, free: 14.34 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (accelerate.s,accelerate.v) * 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 (9): * Single equations (assignments): 9 * 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.0001461/0.1307, allocations: 103.2 kB / 334.3 MB, free: 14.23 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001782/0.1309, allocations: 55.91 kB / 334.4 MB, free: 14.17 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1309, allocations: 3.938 kB / 334.4 MB, free: 14.17 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.526e-05/0.131, allocations: 28.25 kB / 334.4 MB, free: 14.14 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.1314, allocations: 15.98 kB / 334.4 MB, free: 14.12 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008541/0.1323, allocations: 427.2 kB / 334.9 MB, free: 13.66 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.1327, allocations: 0.6926 MB / 335.6 MB, free: 12.94 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.471e-05/0.1327, allocations: 11.44 kB / 335.6 MB, free: 12.93 MB / 286.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1327, allocations: 0 / 335.6 MB, free: 12.93 MB / 286.1 MB Notification: Performance of Templates: time 0.00331/0.1361, allocations: 0.97 MB / 336.5 MB, free: 11.96 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.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.Mechanics.Translational.Examples.AccelerateCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.AccelerateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.AccelerateCalcHelperMain.o] Error 1