Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0009612/0.0009616, allocations: 87.77 kB / 16.95 MB, free: 5.953 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.001002/0.001002, allocations: 177.3 kB / 17.84 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 223.2 MB / 241.9 MB, free: 224 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003398, allocations: 12 kB / 301.5 MB, free: 6.438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1445, allocations: 50.42 MB / 351.9 MB, free: 4.012 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003136/0.1477, allocations: 2.183 MB / 354.1 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007753/0.1485, allocations: 370.7 kB / 354.4 MB, free: 1.453 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.1486, allocations: 7.938 kB / 354.4 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001558/0.1488, allocations: 35.7 kB / 354.5 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001698/0.149, allocations: 83.31 kB / 354.5 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003446/0.1493, allocations: 63.92 kB / 354.6 MB, free: 1.266 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000365/0.1497, allocations: 346.4 kB / 354.9 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002167/0.1499, allocations: 85.67 kB / 355 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.1501, allocations: 119.5 kB / 355.1 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.1503, allocations: 139.4 kB / 355.3 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.178e-05/0.1503, allocations: 16 kB / 355.3 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.327e-05/0.1504, allocations: 16 kB / 355.3 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.847e-05/0.1505, allocations: 55.77 kB / 355.4 MB, free: 0.5 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.544e-05/0.1505, allocations: 77.58 kB / 355.4 MB, free: 428 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.1508, allocations: 271.5 kB / 355.7 MB, free: 156 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.1508, allocations: 0 / 355.7 MB, free: 156 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1509, allocations: 0 / 355.7 MB, free: 156 kB / 286.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1509, allocations: 0 / 355.7 MB, free: 156 kB / 286.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.001066/0.1519, allocations: 0.5886 MB / 356.3 MB, free: 15.51 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.152, allocations: 16.03 kB / 356.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.187e-05/0.1521, allocations: 39.34 kB / 356.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.1524, allocations: 266.2 kB / 356.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.839e-05/0.1525, allocations: 20.56 kB / 356.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.715e-05/0.1525, allocations: 31.91 kB / 356.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005708/0.1531, allocations: 276.8 kB / 356.9 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.1531, allocations: 4 kB / 356.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.471e-05/0.1532, allocations: 16 kB / 356.9 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.1532, allocations: 7.953 kB / 357 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000567/0.1538, allocations: 278.1 kB / 357.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.1551, allocations: 0.8031 MB / 358 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006813/0.1558, allocations: 374.1 kB / 358.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004032/0.1562, allocations: 204.8 kB / 358.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.439e-05/0.1563, allocations: 4 kB / 358.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.1563, allocations: 38.56 kB / 358.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.653e-06/0.1563, allocations: 3.938 kB / 358.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=63): time 0.00446/0.1608, allocations: 2.034 MB / 360.7 MB, free: 10.92 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/0.1609, allocations: 59.97 kB / 360.7 MB, free: 10.85 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/0.1611, allocations: 194.9 kB / 360.9 MB, free: 10.65 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.602e-05/0.1612, allocations: 33.7 kB / 361 MB, free: 10.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.1613, allocations: 149 kB / 361.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002088/0.1616, allocations: 216.9 kB / 361.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.326e-05/0.1616, allocations: 12 kB / 361.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.1618, allocations: 342.8 kB / 361.7 MB, free: 9.891 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003343/0.1621, allocations: 165 kB / 361.8 MB, free: 9.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003336/0.1625, allocations: 177 kB / 362 MB, free: 9.555 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003847/0.1629, allocations: 186.2 kB / 362.2 MB, free: 9.375 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1629, allocations: 0 / 362.2 MB, free: 9.375 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009129/0.1638, allocations: 0.4908 MB / 362.7 MB, free: 8.879 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.1638, allocations: 8 kB / 362.7 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.1639, allocations: 0 / 362.7 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.1639, allocations: 4 kB / 362.7 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004714/0.1644, allocations: 123.9 kB / 362.8 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/0.1644, allocations: 4 kB / 362.8 MB, free: 8.742 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.1646, allocations: 23.98 kB / 362.8 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-05/0.1646, allocations: 19.98 kB / 362.8 MB, free: 8.699 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.0002021/0.1649, allocations: 165.7 kB / 363 MB, free: 8.527 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.339e-05/0.1649, allocations: 43.48 kB / 363 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.1651, allocations: 43.34 kB / 363.1 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.1651, allocations: 4 kB / 363.1 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.426e-05/0.1651, allocations: 3.984 kB / 363.1 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.1651, allocations: 4 kB / 363.1 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002446/0.1676, allocations: 1.337 MB / 364.4 MB, free: 6.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/0.1676, allocations: 4.562 kB / 364.4 MB, free: 6.977 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004861/0.1681, allocations: 135.7 kB / 364.6 MB, free: 6.844 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.539e-05/0.1681, allocations: 8 kB / 364.6 MB, free: 6.836 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.719e-05/0.1682, allocations: 20 kB / 364.6 MB, free: 6.816 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.365e-05/0.1682, allocations: 11.94 kB / 364.6 MB, free: 6.805 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.1682, allocations: 4 kB / 364.6 MB, free: 6.801 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001525/0.1697, allocations: 0.9018 MB / 365.5 MB, free: 5.824 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.1699, allocations: 108.7 kB / 365.6 MB, free: 5.699 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.558e-05/0.1699, allocations: 20.03 kB / 365.6 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002442/0.1702, allocations: 27.98 kB / 365.7 MB, free: 5.652 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.1703, allocations: 59.78 kB / 365.7 MB, free: 5.594 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.776e-05/0.1703, allocations: 23.98 kB / 365.8 MB, free: 5.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001338/0.1705, allocations: 136.6 kB / 365.9 MB, free: 5.438 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.355e-06/0.1705, allocations: 0 / 365.9 MB, free: 5.438 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004298/0.1709, allocations: 99.94 kB / 366 MB, free: 5.34 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.0001813/0.1711, allocations: 119.1 kB / 366.1 MB, free: 5.215 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008566/0.172, allocations: 450.6 kB / 366.5 MB, free: 4.773 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.172, allocations: 0 / 366.5 MB, free: 4.773 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005626/0.1726, allocations: 255.6 kB / 366.8 MB, free: 4.523 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007275/0.1733, allocations: 84.86 kB / 366.9 MB, free: 4.441 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/0.1755, allocations: 1.241 MB / 368.1 MB, free: 3.109 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005143/0.1761, allocations: 0.7896 MB / 368.9 MB, free: 2.297 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.1762, allocations: 43.42 kB / 368.9 MB, free: 2.254 MB / 302.1 MB Notification: Performance of SimCode: time 8.62e-07/0.1762, allocations: 0 / 368.9 MB, free: 2.254 MB / 302.1 MB Notification: Performance of Templates: time 0.2352/0.4115, allocations: 4.49 MB / 373.4 MB, free: 23.27 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGapCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGapCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGapCalcHelperMain.o] Error 1