Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009428/0.0009428, allocations: 94.66 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001317/0.001317, allocations: 198 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 227.3 MB / 246.6 MB, free: 10.26 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002269/0.0002269, allocations: 8 kB / 307.3 MB, free: 1.41 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1136, allocations: 51.49 MB / 358.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002332/0.116, allocations: 1.878 MB / 360.7 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003643/0.1164, allocations: 187.3 kB / 360.9 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.853e-05/0.1165, allocations: 8 kB / 360.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.198e-05/0.1165, allocations: 27.83 kB / 360.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.1167, allocations: 47.55 kB / 360.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001474/0.1168, allocations: 43.95 kB / 361 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002232/0.1171, allocations: 223 kB / 361.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000223/0.1173, allocations: 85.92 kB / 361.3 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.945e-05/0.1174, allocations: 79.67 kB / 361.4 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.1176, allocations: 87.61 kB / 361.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.85e-05/0.1176, allocations: 12 kB / 361.5 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.357e-05/0.1176, allocations: 12 kB / 361.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.638e-05/0.1177, allocations: 31.86 kB / 361.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.193e-05/0.1178, allocations: 61.64 kB / 361.6 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.118, allocations: 191.7 kB / 361.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.118, allocations: 0 / 361.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.118, allocations: 0 / 361.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.118, allocations: 0 / 361.7 MB, free: 10.95 MB / 302.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.0007238/0.1188, allocations: 495 kB / 362.2 MB, free: 10.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.128e-05/0.1188, allocations: 8.031 kB / 362.2 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.764e-05/0.1189, allocations: 23.72 kB / 362.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.1192, allocations: 214.7 kB / 362.5 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.1192, allocations: 20.56 kB / 362.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.012e-05/0.1193, allocations: 24 kB / 362.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004042/0.1197, allocations: 232.2 kB / 362.7 MB, free: 9.844 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.1197, allocations: 3.984 kB / 362.7 MB, free: 9.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/0.1197, allocations: 8 kB / 362.7 MB, free: 9.832 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.147e-05/0.1198, allocations: 8 kB / 362.8 MB, free: 9.824 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002485/0.12, allocations: 127.9 kB / 362.9 MB, free: 9.699 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/0.1213, allocations: 0.8674 MB / 363.7 MB, free: 8.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.1216, allocations: 159.7 kB / 363.9 MB, free: 8.586 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.1217, allocations: 62.56 kB / 364 MB, free: 8.516 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.1217, allocations: 4 kB / 364 MB, free: 8.512 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.1217, allocations: 34.88 kB / 364 MB, free: 8.469 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.363e-06/0.1217, allocations: 0 / 364 MB, free: 8.469 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003963/0.1222, allocations: 173.3 kB / 364.2 MB, free: 8.293 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.771e-05/0.1222, allocations: 106.8 kB / 364.3 MB, free: 8.164 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.1224, allocations: 198.1 kB / 364.5 MB, free: 7.961 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.1225, allocations: 33.7 kB / 364.5 MB, free: 7.922 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.1226, allocations: 163.8 kB / 364.7 MB, free: 7.758 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.963e-05/0.1227, allocations: 59.11 kB / 364.7 MB, free: 7.699 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.102e-05/0.1227, allocations: 8 kB / 364.7 MB, free: 7.691 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.1228, allocations: 330.8 kB / 365.1 MB, free: 7.359 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.408e-05/0.1229, allocations: 44.55 kB / 365.1 MB, free: 7.312 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.1231, allocations: 159.6 kB / 365.3 MB, free: 7.109 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.1232, allocations: 67.94 kB / 365.3 MB, free: 7.043 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.1232, allocations: 0 / 365.3 MB, free: 7.043 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003573/0.1236, allocations: 245.7 kB / 365.6 MB, free: 6.797 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.1236, allocations: 8 kB / 365.6 MB, free: 6.789 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.1236, allocations: 7.938 kB / 365.6 MB, free: 6.781 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.1237, allocations: 7.953 kB / 365.6 MB, free: 6.773 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.1239, allocations: 59.92 kB / 365.6 MB, free: 6.715 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.1239, allocations: 8.578 kB / 365.6 MB, free: 6.707 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.124, allocations: 35.69 kB / 365.7 MB, free: 6.672 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.124, allocations: 11.98 kB / 365.7 MB, free: 6.66 MB / 302.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.0001251/0.1242, allocations: 145.7 kB / 365.8 MB, free: 6.508 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.904e-05/0.1242, allocations: 19.72 kB / 365.9 MB, free: 6.488 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.866e-05/0.1243, allocations: 29.33 kB / 365.9 MB, free: 6.461 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.1243, allocations: 4 kB / 365.9 MB, free: 6.457 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.1243, allocations: 3.953 kB / 365.9 MB, free: 6.453 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.1243, allocations: 4 kB / 365.9 MB, free: 6.449 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004951/0.1248, allocations: 416.9 kB / 366.3 MB, free: 5.977 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.1249, allocations: 0 / 366.3 MB, free: 5.977 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.125, allocations: 43.97 kB / 366.3 MB, free: 5.934 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.1251, allocations: 3.953 kB / 366.4 MB, free: 5.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.1251, allocations: 7.938 kB / 366.4 MB, free: 5.922 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1251, allocations: 0 / 366.4 MB, free: 5.922 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1251, allocations: 4 kB / 366.4 MB, free: 5.918 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.1255, allocations: 377.1 kB / 366.7 MB, free: 5.523 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.306e-05/0.1255, allocations: 96.8 kB / 366.8 MB, free: 5.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.618e-05/0.1256, allocations: 15.98 kB / 366.8 MB, free: 5.395 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.1257, allocations: 4 kB / 366.8 MB, free: 5.391 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.648e-05/0.1257, allocations: 15.98 kB / 366.9 MB, free: 5.375 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.1257, allocations: 4 kB / 366.9 MB, free: 5.371 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001072/0.1259, allocations: 135.2 kB / 367 MB, free: 5.238 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1259, allocations: 0 / 367 MB, free: 5.238 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003379/0.1262, allocations: 51.84 kB / 367 MB, free: 5.188 MB / 302.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.0001205/0.1263, allocations: 107.2 kB / 367.2 MB, free: 5.074 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002407/0.1266, allocations: 139.7 kB / 367.3 MB, free: 4.938 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.1266, allocations: 4 kB / 367.3 MB, free: 4.934 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.299e-05/0.1267, allocations: 55.91 kB / 367.3 MB, free: 4.879 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004457/0.1271, allocations: 32.98 kB / 367.4 MB, free: 4.848 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009929/0.1281, allocations: 0.7502 MB / 368.1 MB, free: 4.051 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.1285, allocations: 0.7362 MB / 368.9 MB, free: 3.289 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.207e-05/0.1285, allocations: 19.44 kB / 368.9 MB, free: 3.27 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1285, allocations: 3.938 kB / 368.9 MB, free: 3.266 MB / 302.1 MB Notification: Performance of Templates: time 0.003932/0.1325, allocations: 2.244 MB / 371.1 MB, free: 1.02 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.WhyArrowsCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrowsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrowsCalcHelperMain.o] Error 1