Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.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.ElastoGap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|elastoGap1.v_rel|elastoGap2.s_rel|springDamper1.v_rel|springDamper2.s_rel",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008678/0.0008736, allocations: 92.11 kB / 17.63 MB, free: 6.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001011/0.001011, allocations: 192.5 kB / 18.54 MB, free: 5.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.503/1.503, allocations: 227.3 MB / 246.6 MB, free: 12.05 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002864/0.0002864, allocations: 4 kB / 307.3 MB, free: 1.637 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1307, allocations: 51.49 MB / 358.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.002623/0.1334, allocations: 2.196 MB / 361 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006951/0.1341, allocations: 374.7 kB / 361.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.1343, allocations: 8 kB / 361.4 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001412/0.1344, allocations: 35.69 kB / 361.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.1346, allocations: 87.25 kB / 361.5 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000311/0.1349, allocations: 67.86 kB / 361.5 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003723/0.1353, allocations: 346.4 kB / 361.9 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002047/0.1355, allocations: 81.64 kB / 362 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.1356, allocations: 123.5 kB / 362.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.1358, allocations: 135.5 kB / 362.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.2e-05/0.1359, allocations: 16 kB / 362.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.32e-05/0.1359, allocations: 16 kB / 362.2 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.502e-05/0.136, allocations: 55.75 kB / 362.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.603e-05/0.1361, allocations: 85.5 kB / 362.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.1364, allocations: 263.5 kB / 362.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.126e-06/0.1364, allocations: 0 / 362.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1364, allocations: 0 / 362.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.1364, allocations: 0 / 362.6 MB, free: 10.27 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001044/0.1375, allocations: 0.5958 MB / 363.2 MB, free: 9.625 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.1375, allocations: 8.031 kB / 363.2 MB, free: 9.617 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.852e-05/0.1376, allocations: 39.62 kB / 363.3 MB, free: 9.578 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003152/0.1379, allocations: 262.3 kB / 363.5 MB, free: 9.281 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.866e-05/0.138, allocations: 24.5 kB / 363.6 MB, free: 9.258 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.815e-05/0.138, allocations: 35.94 kB / 363.6 MB, free: 9.223 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005739/0.1386, allocations: 284.8 kB / 363.9 MB, free: 8.941 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.1387, allocations: 8 kB / 363.9 MB, free: 8.934 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.814e-05/0.1387, allocations: 8 kB / 363.9 MB, free: 8.926 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.1387, allocations: 8 kB / 363.9 MB, free: 8.918 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005677/0.1393, allocations: 282.1 kB / 364.2 MB, free: 8.637 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.1406, allocations: 0.7952 MB / 365 MB, free: 7.793 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006535/0.1413, allocations: 370.5 kB / 365.3 MB, free: 7.418 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003558/0.1416, allocations: 197.9 kB / 365.5 MB, free: 7.223 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.1417, allocations: 4 kB / 365.5 MB, free: 7.219 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.1417, allocations: 46.56 kB / 365.6 MB, free: 7.164 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.603e-06/0.1417, allocations: 0 / 365.6 MB, free: 7.164 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.004066/0.1458, allocations: 2.038 MB / 367.6 MB, free: 5.035 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.1459, allocations: 59.97 kB / 367.7 MB, free: 4.965 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.146, allocations: 195 kB / 367.9 MB, free: 4.762 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.1461, allocations: 33.7 kB / 367.9 MB, free: 4.723 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.99e-05/0.1462, allocations: 149 kB / 368 MB, free: 4.57 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/0.1464, allocations: 212.9 kB / 368.2 MB, free: 4.359 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.546e-05/0.1464, allocations: 12 kB / 368.3 MB, free: 4.348 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1466, allocations: 354.7 kB / 368.6 MB, free: 3.992 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000322/0.1469, allocations: 161 kB / 368.8 MB, free: 3.832 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000319/0.1472, allocations: 188.9 kB / 368.9 MB, free: 3.652 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003474/0.1476, allocations: 178.2 kB / 369.1 MB, free: 3.477 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1476, allocations: 0 / 369.1 MB, free: 3.477 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008345/0.1484, allocations: 0.4908 MB / 369.6 MB, free: 2.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.1484, allocations: 8 kB / 369.6 MB, free: 2.973 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1485, allocations: 0 / 369.6 MB, free: 2.973 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.1485, allocations: 0 / 369.6 MB, free: 2.973 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004575/0.1489, allocations: 131.8 kB / 369.7 MB, free: 2.844 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.149, allocations: 0 / 369.7 MB, free: 2.844 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.1492, allocations: 31.97 kB / 369.8 MB, free: 2.812 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-05/0.1492, allocations: 16 kB / 369.8 MB, free: 2.797 MB / 302.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.000175/0.1494, allocations: 165.7 kB / 370 MB, free: 2.625 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.155e-05/0.1494, allocations: 31.62 kB / 370 MB, free: 2.594 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.1496, allocations: 55.33 kB / 370 MB, free: 2.543 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.926e-06/0.1496, allocations: 4 kB / 370 MB, free: 2.539 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.1496, allocations: 0 / 370 MB, free: 2.539 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.1496, allocations: 3.984 kB / 370.1 MB, free: 2.535 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002/0.1516, allocations: 1.332 MB / 371.4 MB, free: 1.086 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.1516, allocations: 4 kB / 371.4 MB, free: 1.082 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004801/0.1521, allocations: 132.4 kB / 371.5 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.347e-05/0.1521, allocations: 8 kB / 371.5 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.555e-05/0.1522, allocations: 19.94 kB / 371.5 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.166e-05/0.1522, allocations: 19.88 kB / 371.6 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.1522, allocations: 4 kB / 371.6 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2674/0.4196, allocations: 0.8955 MB / 372.5 MB, free: 19.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00018/0.4198, allocations: 117.5 kB / 372.6 MB, free: 19.31 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.42, allocations: 16.42 kB / 372.6 MB, free: 19.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003473/0.4203, allocations: 31.81 kB / 372.6 MB, free: 19.31 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.4204, allocations: 50.92 kB / 372.7 MB, free: 19.31 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.334e-05/0.4205, allocations: 22.25 kB / 372.7 MB, free: 19.31 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001567/0.4207, allocations: 139.3 kB / 372.8 MB, free: 19.24 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4207, allocations: 0 / 372.8 MB, free: 19.24 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005193/0.4212, allocations: 99.03 kB / 372.9 MB, free: 19.24 MB / 302.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.0001723/0.4214, allocations: 122.9 kB / 373 MB, free: 19.15 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009745/0.4224, allocations: 448.5 kB / 373.5 MB, free: 19.15 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.4224, allocations: 0 / 373.5 MB, free: 19.15 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005083/0.4229, allocations: 267 kB / 373.7 MB, free: 19.13 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00065/0.4235, allocations: 84.86 kB / 373.8 MB, free: 19.13 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/0.4255, allocations: 1.227 MB / 375.1 MB, free: 18.4 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.4258, allocations: 0.7924 MB / 375.8 MB, free: 17.7 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.426, allocations: 44.42 kB / 375.9 MB, free: 17.69 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.426, allocations: 0 / 375.9 MB, free: 17.69 MB / 302.1 MB Notification: Performance of Templates: time 0.0105/0.4365, allocations: 4.507 MB / 380.4 MB, free: 17.32 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.ElastoGapCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGapCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGapCalcHelperMain.o] Error 1