Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.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.ElastoGap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|elastoGap1.v_rel|elastoGap2.s_rel|springDamper1.v_rel|springDamper2.s_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap") translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|elastoGap1.v_rel|elastoGap2.s_rel|springDamper1.v_rel|springDamper2.s_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007919/0.0007918, allocations: 92.05 kB / 17.58 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.0008568/0.0008568, allocations: 184.2 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.65/1.65, allocations: 205.4 MB / 224.6 MB, free: 13.07 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.0004442/0.0004442, allocations: 12 kB / 281.4 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1223, allocations: 47.58 MB / 329 MB, free: 4.074 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003061/0.1255, allocations: 2.172 MB / 331.2 MB, free: 1.891 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007286/0.1262, allocations: 362.8 kB / 331.5 MB, free: 1.535 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.1264, allocations: 7.938 kB / 331.5 MB, free: 1.527 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001383/0.1265, allocations: 31.7 kB / 331.5 MB, free: 1.496 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001479/0.1267, allocations: 87.31 kB / 331.6 MB, free: 1.41 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.127, allocations: 63.92 kB / 331.7 MB, free: 1.348 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000332/0.1273, allocations: 346.4 kB / 332 MB, free: 1.008 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002065/0.1275, allocations: 89.62 kB / 332.1 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.1277, allocations: 119.5 kB / 332.2 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.1279, allocations: 139.4 kB / 332.4 MB, free: 0.668 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.787e-05/0.1279, allocations: 16 kB / 332.4 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.42e-05/0.128, allocations: 16 kB / 332.4 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.712e-05/0.128, allocations: 55.75 kB / 332.5 MB, free: 0.582 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.532e-05/0.1281, allocations: 77.58 kB / 332.5 MB, free: 0.5 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.1284, allocations: 263.5 kB / 332.8 MB, free: 248 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.1284, allocations: 0 / 332.8 MB, free: 248 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1284, allocations: 4 kB / 332.8 MB, free: 244 kB / 270.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1284, allocations: 0 / 332.8 MB, free: 244 kB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001088/0.1295, allocations: 0.5963 MB / 333.4 MB, free: 15.59 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.1296, allocations: 12.03 kB / 333.4 MB, free: 15.58 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.586e-05/0.1297, allocations: 35.53 kB / 333.4 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.13, allocations: 258.4 kB / 333.7 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.125e-05/0.13, allocations: 28.52 kB / 333.7 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.983e-05/0.1301, allocations: 27.91 kB / 333.7 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005383/0.1306, allocations: 280.8 kB / 334 MB, free: 14.92 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.1307, allocations: 0 / 334 MB, free: 14.92 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.918e-05/0.1307, allocations: 12 kB / 334 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.1307, allocations: 4 kB / 334 MB, free: 14.9 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005585/0.1313, allocations: 286.1 kB / 334.3 MB, free: 14.62 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.1326, allocations: 0.803 MB / 335.1 MB, free: 13.77 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006597/0.1332, allocations: 359.3 kB / 335.5 MB, free: 13.4 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000342/0.1336, allocations: 204.8 kB / 335.7 MB, free: 13.2 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.463e-05/0.1336, allocations: 4 kB / 335.7 MB, free: 13.2 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001325/0.1338, allocations: 42.56 kB / 335.7 MB, free: 13.14 MB / 286.1 MB Notification: Performance of pre-optimization done (n=43): time 1.653e-06/0.1338, allocations: 0 / 335.7 MB, free: 13.14 MB / 286.1 MB Notification: Performance of matching and sorting (n=63): time 0.004313/0.1381, allocations: 2.047 MB / 337.8 MB, free: 11 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.1382, allocations: 59.97 kB / 337.8 MB, free: 10.93 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.1384, allocations: 198.8 kB / 338 MB, free: 10.73 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/0.1384, allocations: 33.7 kB / 338 MB, free: 10.69 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.1386, allocations: 152.9 kB / 338.2 MB, free: 10.53 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/0.1387, allocations: 216.8 kB / 338.4 MB, free: 10.32 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.262e-05/0.1388, allocations: 15.94 kB / 338.4 MB, free: 10.3 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.1389, allocations: 350.8 kB / 338.8 MB, free: 9.949 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003177/0.1393, allocations: 161 kB / 338.9 MB, free: 9.793 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003196/0.1396, allocations: 181 kB / 339.1 MB, free: 9.613 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003955/0.14, allocations: 182.2 kB / 339.3 MB, free: 9.438 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.14, allocations: 0 / 339.3 MB, free: 9.438 MB / 286.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.000834/0.1408, allocations: 0.4947 MB / 339.8 MB, free: 8.938 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.1409, allocations: 4 kB / 339.8 MB, free: 8.934 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1409, allocations: 0 / 339.8 MB, free: 8.934 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1409, allocations: 4 kB / 339.8 MB, free: 8.93 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004613/0.1414, allocations: 123.9 kB / 339.9 MB, free: 8.809 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.1414, allocations: 4 kB / 339.9 MB, free: 8.805 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.1416, allocations: 31.94 kB / 339.9 MB, free: 8.773 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.1416, allocations: 19.92 kB / 340 MB, free: 8.754 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (elastoGap1.contact,elastoGap2.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.00017/0.1418, allocations: 153.8 kB / 340.1 MB, free: 8.594 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.673e-05/0.1419, allocations: 35.62 kB / 340.1 MB, free: 8.559 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.142, allocations: 51.34 kB / 340.2 MB, free: 8.512 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.142, allocations: 4 kB / 340.2 MB, free: 8.508 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.142, allocations: 4 kB / 340.2 MB, free: 8.504 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.142, allocations: 3.984 kB / 340.2 MB, free: 8.5 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002091/0.1441, allocations: 1.329 MB / 341.5 MB, free: 7.059 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.1442, allocations: 4 kB / 341.5 MB, free: 7.055 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004626/0.1446, allocations: 128.4 kB / 341.7 MB, free: 6.93 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/0.1446, allocations: 12 kB / 341.7 MB, free: 6.918 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.458e-05/0.1447, allocations: 19.95 kB / 341.7 MB, free: 6.898 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.158e-05/0.1447, allocations: 11.94 kB / 341.7 MB, free: 6.887 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/0.1447, allocations: 4 kB / 341.7 MB, free: 6.883 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/0.1461, allocations: 0.898 MB / 342.6 MB, free: 5.91 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.1462, allocations: 112.7 kB / 342.7 MB, free: 5.781 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.891e-05/0.1463, allocations: 20.03 kB / 342.7 MB, free: 5.762 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.1465, allocations: 39.94 kB / 342.8 MB, free: 5.723 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.079e-05/0.1466, allocations: 39.89 kB / 342.8 MB, free: 5.684 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.598e-05/0.1467, allocations: 23.98 kB / 342.8 MB, free: 5.66 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000153/0.1468, allocations: 152.3 kB / 343 MB, free: 5.512 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1468, allocations: 7.875 kB / 343 MB, free: 5.504 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004079/0.1472, allocations: 96 kB / 343.1 MB, free: 5.41 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 4 (springDamper2.s_rel,springDamper2.v_rel,elastoGap2.s_rel,elastoGap2.v_rel) * Number of discrete variables: 2 (elastoGap1.contact,elastoGap2.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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.0001922/0.1474, allocations: 115.1 kB / 343.2 MB, free: 5.289 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008598/0.1483, allocations: 454.6 kB / 343.6 MB, free: 4.844 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.1483, allocations: 0 / 343.6 MB, free: 4.844 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004377/0.1488, allocations: 264.6 kB / 343.9 MB, free: 4.586 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006342/0.1494, allocations: 79.55 kB / 344 MB, free: 4.512 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/0.1512, allocations: 1.234 MB / 345.2 MB, free: 3.184 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.1516, allocations: 0.7896 MB / 346 MB, free: 2.371 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.1517, allocations: 43.42 kB / 346 MB, free: 2.328 MB / 286.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1517, allocations: 0 / 346 MB, free: 2.328 MB / 286.1 MB Notification: Performance of Templates: time 0.0075/0.1592, allocations: 4.495 MB / 350.5 MB, free: 13.84 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.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.ElastoGapCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGapCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGapCalcHelperMain.o] Error 1