Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.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.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows") translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008574/0.000857, allocations: 95.95 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.001023/0.001023, allocations: 183.5 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.692/1.692, allocations: 205.4 MB / 224.6 MB, free: 13.06 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.0004997/0.0004998, allocations: 8 kB / 281.4 MB, free: 3.723 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1212, allocations: 47.59 MB / 329 MB, free: 4.059 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002407/0.1237, allocations: 1.866 MB / 330.8 MB, free: 2.18 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003716/0.1241, allocations: 191.3 kB / 331 MB, free: 1.992 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8e-05/0.1242, allocations: 4 kB / 331 MB, free: 1.988 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.206e-05/0.1242, allocations: 27.77 kB / 331.1 MB, free: 1.961 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001665/0.1244, allocations: 47.61 kB / 331.1 MB, free: 1.914 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001477/0.1245, allocations: 39.97 kB / 331.2 MB, free: 1.875 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002296/0.1248, allocations: 223 kB / 331.4 MB, free: 1.656 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001918/0.125, allocations: 78 kB / 331.4 MB, free: 1.582 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.697e-05/0.1251, allocations: 75.7 kB / 331.5 MB, free: 1.508 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.1252, allocations: 87.56 kB / 331.6 MB, free: 1.422 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.213e-05/0.1253, allocations: 16 kB / 331.6 MB, free: 1.406 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.213e-05/0.1253, allocations: 12 kB / 331.6 MB, free: 1.395 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.568e-05/0.1254, allocations: 35.84 kB / 331.7 MB, free: 1.359 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.915e-05/0.1254, allocations: 69.58 kB / 331.7 MB, free: 1.285 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.1257, allocations: 191.7 kB / 331.9 MB, free: 1.098 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1257, allocations: 0 / 331.9 MB, free: 1.098 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1257, allocations: 0 / 331.9 MB, free: 1.098 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1257, allocations: 0 / 331.9 MB, free: 1.098 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0006897/0.1264, allocations: 479.2 kB / 332.4 MB, free: 0.582 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.1264, allocations: 12.03 kB / 332.4 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.227e-05/0.1265, allocations: 23.72 kB / 332.4 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.1268, allocations: 222 kB / 332.6 MB, free: 300 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.1268, allocations: 20.52 kB / 332.7 MB, free: 280 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.75e-05/0.1269, allocations: 20 kB / 332.7 MB, free: 260 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004062/0.1273, allocations: 232.3 kB / 332.9 MB, free: 8 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.1273, allocations: 3.938 kB / 332.9 MB, free: 4 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.302e-05/0.1274, allocations: 8.078 kB / 332.9 MB, free: 15.99 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.1274, allocations: 4 kB / 332.9 MB, free: 15.99 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000236/0.1276, allocations: 131.9 kB / 333.1 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001162/0.1288, allocations: 0.8671 MB / 333.9 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.1291, allocations: 159.7 kB / 334.1 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.716e-05/0.1292, allocations: 58.56 kB / 334.1 MB, free: 14.68 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.1292, allocations: 0 / 334.1 MB, free: 14.68 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.1292, allocations: 46.45 kB / 334.2 MB, free: 14.63 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.243e-06/0.1292, allocations: 0 / 334.2 MB, free: 14.63 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003828/0.1296, allocations: 170.3 kB / 334.3 MB, free: 14.46 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.512e-05/0.1297, allocations: 102.8 kB / 334.4 MB, free: 14.33 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.1299, allocations: 206.5 kB / 334.6 MB, free: 14.12 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.13, allocations: 25.7 kB / 334.7 MB, free: 14.09 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.1301, allocations: 159.9 kB / 334.8 MB, free: 13.93 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.927e-05/0.1302, allocations: 71 kB / 334.9 MB, free: 13.86 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.021e-05/0.1302, allocations: 4 kB / 334.9 MB, free: 13.85 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1303, allocations: 330.8 kB / 335.2 MB, free: 13.52 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.318e-05/0.1304, allocations: 52.48 kB / 335.3 MB, free: 13.46 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/0.1306, allocations: 142.8 kB / 335.4 MB, free: 13.28 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.1307, allocations: 80.06 kB / 335.5 MB, free: 13.2 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1307, allocations: 4 kB / 335.5 MB, free: 13.2 MB / 286.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003342/0.1311, allocations: 237.3 kB / 335.7 MB, free: 12.96 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.1311, allocations: 11.94 kB / 335.7 MB, free: 12.95 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.1311, allocations: 4 kB / 335.7 MB, free: 12.94 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.1312, allocations: 11.94 kB / 335.8 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.1313, allocations: 55.92 kB / 335.8 MB, free: 12.88 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.1314, allocations: 7.938 kB / 335.8 MB, free: 12.87 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.1315, allocations: 31.67 kB / 335.9 MB, free: 12.84 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.1315, allocations: 16.31 kB / 335.9 MB, free: 12.82 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (33): * Single equations (assignments): 33 * 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.0001236/0.1317, allocations: 141.7 kB / 336 MB, free: 12.67 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.916e-05/0.1317, allocations: 19.81 kB / 336 MB, free: 12.65 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.554e-05/0.1318, allocations: 21.36 kB / 336 MB, free: 12.63 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.1318, allocations: 4 kB / 336 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.1318, allocations: 3.984 kB / 336.1 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1318, allocations: 0 / 336.1 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005758/0.1324, allocations: 424.8 kB / 336.5 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.1324, allocations: 4 kB / 336.5 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.1326, allocations: 35.92 kB / 336.5 MB, free: 12.1 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/0.1326, allocations: 4 kB / 336.5 MB, free: 12.1 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.1327, allocations: 11.92 kB / 336.5 MB, free: 12.09 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1327, allocations: 4 kB / 336.5 MB, free: 12.08 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1327, allocations: 0 / 336.5 MB, free: 12.08 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004009/0.1331, allocations: 373.5 kB / 336.9 MB, free: 11.69 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.651e-05/0.1332, allocations: 100.8 kB / 337 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.1332, allocations: 4.047 kB / 337 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.1333, allocations: 7.984 kB / 337 MB, free: 11.56 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.301e-05/0.1334, allocations: 8 kB / 337 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.1334, allocations: 15.98 kB / 337 MB, free: 11.54 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001298/0.1335, allocations: 136.3 kB / 337.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1335, allocations: 0 / 337.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003425/0.1339, allocations: 51.94 kB / 337.2 MB, free: 11.35 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.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 (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 Backend phase and start with SimCode phase: time 0.0001279/0.134, allocations: 107.2 kB / 337.3 MB, free: 11.24 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000272/0.1343, allocations: 136.4 kB / 337.4 MB, free: 11.11 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1343, allocations: 0 / 337.4 MB, free: 11.11 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.97e-05/0.1344, allocations: 55.86 kB / 337.5 MB, free: 11.05 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004538/0.1348, allocations: 30.94 kB / 337.5 MB, free: 11.02 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.136, allocations: 0.7441 MB / 338.3 MB, free: 10.23 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.1364, allocations: 0.74 MB / 339 MB, free: 9.465 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.097e-05/0.1364, allocations: 19.44 kB / 339 MB, free: 9.449 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1364, allocations: 3.938 kB / 339 MB, free: 9.445 MB / 286.1 MB Notification: Performance of Templates: time 0.003897/0.1403, allocations: 2.244 MB / 341.3 MB, free: 7.195 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.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.WhyArrowsCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrowsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrowsCalcHelperMain.o] Error 1