Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.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.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad") translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008168/0.0008171, allocations: 90.69 kB / 17.58 MB, free: 5.516 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.0007822/0.0007823, allocations: 186.9 kB / 18.48 MB, free: 5.078 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.632/1.632, 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.0005003/0.0005003, allocations: 11.44 kB / 281.4 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1165, allocations: 47.58 MB / 329 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004263/0.1209, allocations: 3.004 MB / 332 MB, free: 1.066 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001599/0.1225, allocations: 0.8736 MB / 332.9 MB, free: 188 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001962/0.1227, allocations: 11.94 kB / 332.9 MB, free: 176 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001696/0.1229, allocations: 51.55 kB / 332.9 MB, free: 124 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002775/0.1232, allocations: 130.9 kB / 333 MB, free: 15.99 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004098/0.1236, allocations: 115.8 kB / 333.2 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005786/0.1242, allocations: 0.5527 MB / 333.7 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002737/0.1245, allocations: 154 kB / 333.9 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002245/0.1247, allocations: 199.3 kB / 334.1 MB, free: 14.98 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002783/0.125, allocations: 239 kB / 334.3 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.085e-05/0.1251, allocations: 28 kB / 334.3 MB, free: 14.72 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.102e-05/0.1251, allocations: 24 kB / 334.3 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.364e-05/0.1252, allocations: 87.66 kB / 334.4 MB, free: 14.61 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.1253, allocations: 117.5 kB / 334.5 MB, free: 14.49 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004114/0.1258, allocations: 435 kB / 335 MB, free: 14.06 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.1258, allocations: 0 / 335 MB, free: 14.06 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1258, allocations: 0 / 335 MB, free: 14.06 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.1258, allocations: 0 / 335 MB, free: 14.06 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001351/0.1271, allocations: 0.7913 MB / 335.8 MB, free: 13.22 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.1272, allocations: 8.031 kB / 335.8 MB, free: 13.21 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.977e-05/0.1273, allocations: 59.34 kB / 335.8 MB, free: 13.16 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003718/0.1277, allocations: 326.1 kB / 336.1 MB, free: 12.79 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.124e-05/0.1277, allocations: 33 kB / 336.2 MB, free: 12.76 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.547e-05/0.1278, allocations: 51.91 kB / 336.2 MB, free: 12.71 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009013/0.1287, allocations: 474.3 kB / 336.7 MB, free: 12.24 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.1287, allocations: 0 / 336.7 MB, free: 12.24 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.552e-05/0.1288, allocations: 16 kB / 336.7 MB, free: 12.23 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.1288, allocations: 12 kB / 336.7 MB, free: 12.21 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009881/0.1298, allocations: 495.6 kB / 337.2 MB, free: 11.73 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00223/0.1321, allocations: 1.394 MB / 338.6 MB, free: 10.27 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009857/0.1331, allocations: 0.5518 MB / 339.1 MB, free: 9.715 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000741/0.1338, allocations: 394.5 kB / 339.5 MB, free: 9.332 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.342e-05/0.1339, allocations: 16.55 kB / 339.5 MB, free: 9.316 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.1339, allocations: 39.12 kB / 339.6 MB, free: 9.266 MB / 286.1 MB Notification: Performance of pre-optimization done (n=67): time 1.733e-06/0.1339, allocations: 0 / 339.6 MB, free: 9.266 MB / 286.1 MB Notification: Performance of matching and sorting (n=103): time 0.007287/0.1412, allocations: 3.278 MB / 342.9 MB, free: 5.906 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.1413, allocations: 64.41 kB / 342.9 MB, free: 5.832 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002981/0.1416, allocations: 251 kB / 343.2 MB, free: 5.57 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.722e-05/0.1417, allocations: 41.7 kB / 343.2 MB, free: 5.523 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.1418, allocations: 201.2 kB / 343.4 MB, free: 5.32 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002903/0.1421, allocations: 350.7 kB / 343.7 MB, free: 4.973 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.1422, allocations: 20 kB / 343.8 MB, free: 4.953 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000237/0.1424, allocations: 358.8 kB / 344.1 MB, free: 4.594 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006418/0.1431, allocations: 289.8 kB / 344.4 MB, free: 4.309 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006826/0.1438, allocations: 369.4 kB / 344.8 MB, free: 3.941 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006234/0.1444, allocations: 318.9 kB / 345.1 MB, free: 3.633 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1444, allocations: 3.938 kB / 345.1 MB, free: 3.629 MB / 286.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001483/0.1459, allocations: 0.8132 MB / 345.9 MB, free: 2.805 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.1459, allocations: 8 kB / 345.9 MB, free: 2.797 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.1459, allocations: 3.984 kB / 345.9 MB, free: 2.793 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.146, allocations: 7.953 kB / 345.9 MB, free: 2.785 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007819/0.1468, allocations: 227.7 kB / 346.1 MB, free: 2.562 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.1468, allocations: 4 kB / 346.1 MB, free: 2.559 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000306/0.1471, allocations: 55.97 kB / 346.2 MB, free: 2.504 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.006e-05/0.1472, allocations: 31.98 kB / 346.2 MB, free: 2.473 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 113 * 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.0002584/0.1474, allocations: 189.7 kB / 346.4 MB, free: 2.277 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.401e-05/0.1475, allocations: 51.44 kB / 346.5 MB, free: 2.227 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001739/0.1477, allocations: 73.39 kB / 346.5 MB, free: 2.156 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/0.1477, allocations: 8 kB / 346.5 MB, free: 2.148 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.437e-05/0.1477, allocations: 11.95 kB / 346.5 MB, free: 2.137 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.1478, allocations: 3.984 kB / 346.5 MB, free: 2.133 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003197/0.151, allocations: 2.033 MB / 348.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.151, allocations: 8.094 kB / 348.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007692/0.1518, allocations: 211.6 kB / 348.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.334e-05/0.1518, allocations: 12 kB / 348.8 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.169e-05/0.1518, allocations: 20 kB / 348.8 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.01e-05/0.1519, allocations: 11.98 kB / 348.8 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.1519, allocations: 11.94 kB / 348.9 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002224/0.1541, allocations: 1.422 MB / 350.3 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.1542, allocations: 120.5 kB / 350.4 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.34e-05/0.1543, allocations: 24.06 kB / 350.4 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000359/0.1547, allocations: 63.95 kB / 350.5 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.1548, allocations: 76.8 kB / 350.6 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.341e-05/0.1548, allocations: 32 kB / 350.6 MB, free: 13.89 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001758/0.155, allocations: 178 kB / 350.8 MB, free: 13.72 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.155, allocations: 0 / 350.8 MB, free: 13.72 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005035/0.1555, allocations: 152 kB / 350.9 MB, free: 13.57 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (outerContactA.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel,friction.s_rel,friction.v_rel) * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 103 * 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.0001822/0.1557, allocations: 142.7 kB / 351 MB, free: 13.42 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0014/0.1571, allocations: 0.7621 MB / 351.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.1572, allocations: 0 / 351.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007792/0.1579, allocations: 454.7 kB / 352.3 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007739/0.1587, allocations: 120.7 kB / 352.4 MB, free: 12.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002943/0.1617, allocations: 1.866 MB / 354.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005202/0.1622, allocations: 0.8687 MB / 355.1 MB, free: 9.246 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002335/0.1625, allocations: 63.41 kB / 355.2 MB, free: 9.184 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1625, allocations: 0 / 355.2 MB, free: 9.184 MB / 302.1 MB Notification: Performance of Templates: time 0.01146/0.1739, allocations: 7.177 MB / 362.3 MB, free: 1.98 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.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.PreLoadCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoadCalcHelperMain.o] Error 1