Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 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.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_4.0.0_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_4.0.0_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.0009908/0.0009913, allocations: 90.52 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.0009903/0.0009907, allocations: 176.4 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.612/1.612, allocations: 223.2 MB / 241.9 MB, free: 228 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002889/0.000289, allocations: 7.938 kB / 301.4 MB, free: 6.457 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.131, allocations: 50.42 MB / 351.9 MB, free: 4.039 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003858/0.135, allocations: 3.022 MB / 354.9 MB, free: 1 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.1364, allocations: 0.8377 MB / 355.7 MB, free: 160 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001733/0.1366, allocations: 15.94 kB / 355.7 MB, free: 144 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.1368, allocations: 59.53 kB / 355.8 MB, free: 84 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002526/0.1371, allocations: 119.1 kB / 355.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004134/0.1375, allocations: 123.7 kB / 356 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006483/0.1381, allocations: 0.5412 MB / 356.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003029/0.1384, allocations: 146.1 kB / 356.7 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002737/0.1387, allocations: 203.2 kB / 356.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002981/0.139, allocations: 239 kB / 357.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.42e-05/0.1391, allocations: 24 kB / 357.2 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.317e-05/0.1392, allocations: 28 kB / 357.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.999e-05/0.1393, allocations: 83.67 kB / 357.3 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.1394, allocations: 117.4 kB / 357.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004323/0.1398, allocations: 435 kB / 357.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.1398, allocations: 0 / 357.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1398, allocations: 0 / 357.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1399, allocations: 0 / 357.8 MB, free: 14.04 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001511/0.1414, allocations: 0.8029 MB / 358.6 MB, free: 13.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.1414, allocations: 8.031 kB / 358.6 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.1415, allocations: 63.12 kB / 358.7 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004214/0.142, allocations: 314.1 kB / 359 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.958e-05/0.142, allocations: 37 kB / 359 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.106e-05/0.1421, allocations: 48 kB / 359.1 MB, free: 12.69 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009173/0.143, allocations: 462.4 kB / 359.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.1431, allocations: 8 kB / 359.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.29e-05/0.1431, allocations: 16 kB / 359.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.1431, allocations: 12 kB / 359.6 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.1442, allocations: 499.6 kB / 360.1 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002404/0.1466, allocations: 1.405 MB / 361.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009753/0.1476, allocations: 0.5519 MB / 362 MB, free: 9.684 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000759/0.1484, allocations: 383.8 kB / 362.4 MB, free: 9.305 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.316e-05/0.1484, allocations: 12.55 kB / 362.4 MB, free: 9.293 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.1485, allocations: 43.11 kB / 362.4 MB, free: 9.242 MB / 302.1 MB Notification: Performance of pre-optimization done (n=67): time 1.573e-06/0.1485, allocations: 0 / 362.4 MB, free: 9.242 MB / 302.1 MB Notification: Performance of matching and sorting (n=103): time 0.007056/0.1555, allocations: 3.294 MB / 365.7 MB, free: 5.863 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.1556, allocations: 64.41 kB / 365.8 MB, free: 5.789 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002506/0.1559, allocations: 246.9 kB / 366 MB, free: 5.543 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.512e-05/0.1559, allocations: 41.7 kB / 366.1 MB, free: 5.496 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.1561, allocations: 205.2 kB / 366.3 MB, free: 5.289 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000259/0.1563, allocations: 346.8 kB / 366.6 MB, free: 4.945 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.925e-05/0.1564, allocations: 20 kB / 366.6 MB, free: 4.926 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.1566, allocations: 358.8 kB / 367 MB, free: 4.566 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005638/0.1571, allocations: 289.8 kB / 367.3 MB, free: 4.281 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006211/0.1578, allocations: 361.4 kB / 367.6 MB, free: 3.918 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005994/0.1584, allocations: 318.9 kB / 367.9 MB, free: 3.609 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.1584, allocations: 11.89 kB / 367.9 MB, free: 3.598 MB / 302.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.00141/0.1598, allocations: 0.8132 MB / 368.8 MB, free: 2.777 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.1598, allocations: 4 kB / 368.8 MB, free: 2.773 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.1599, allocations: 4 kB / 368.8 MB, free: 2.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.1599, allocations: 4 kB / 368.8 MB, free: 2.766 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007615/0.1606, allocations: 207.8 kB / 369 MB, free: 2.562 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/0.1607, allocations: 8 kB / 369 MB, free: 2.555 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000314/0.161, allocations: 67.89 kB / 369 MB, free: 2.488 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.272e-05/0.1611, allocations: 28 kB / 369.1 MB, free: 2.461 MB / 302.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.0002348/0.1613, allocations: 189.7 kB / 369.3 MB, free: 2.266 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.478e-05/0.1614, allocations: 63.3 kB / 369.3 MB, free: 2.203 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001685/0.1616, allocations: 73.39 kB / 369.4 MB, free: 2.129 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.387e-06/0.1616, allocations: 8 kB / 369.4 MB, free: 2.121 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.1616, allocations: 0 / 369.4 MB, free: 2.121 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.1616, allocations: 3.984 kB / 369.4 MB, free: 2.117 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2569/0.4185, allocations: 2.029 MB / 371.4 MB, free: 24.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.187e-05/0.4186, allocations: 4.219 kB / 371.4 MB, free: 24.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/0.4198, allocations: 216.4 kB / 371.6 MB, free: 24.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.081e-05/0.4198, allocations: 8.75 kB / 371.7 MB, free: 24.24 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.151e-05/0.4199, allocations: 27.89 kB / 371.7 MB, free: 24.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.026e-05/0.4199, allocations: 12.8 kB / 371.7 MB, free: 24.24 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/0.4199, allocations: 7.094 kB / 371.7 MB, free: 24.24 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003003/0.4229, allocations: 1.421 MB / 373.1 MB, free: 23.94 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001774/0.4231, allocations: 127.3 kB / 373.2 MB, free: 23.85 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.699e-05/0.4232, allocations: 25.47 kB / 373.3 MB, free: 23.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004197/0.4236, allocations: 63.81 kB / 373.3 MB, free: 23.85 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002042/0.4239, allocations: 71.31 kB / 373.4 MB, free: 23.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.37e-05/0.4239, allocations: 32.81 kB / 373.4 MB, free: 23.85 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002036/0.4241, allocations: 177.9 kB / 373.6 MB, free: 23.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4242, allocations: 0 / 373.6 MB, free: 23.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005756/0.4247, allocations: 157.8 kB / 373.8 MB, free: 23.77 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.0001861/0.4249, allocations: 126.9 kB / 373.9 MB, free: 23.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001811/0.4267, allocations: 0.757 MB / 374.6 MB, free: 23.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.4268, allocations: 1.094 kB / 374.6 MB, free: 23.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008467/0.4276, allocations: 462.5 kB / 375.1 MB, free: 23.61 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007511/0.4284, allocations: 117.1 kB / 375.2 MB, free: 23.61 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/0.4311, allocations: 1.882 MB / 377.1 MB, free: 22.51 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/0.4316, allocations: 0.865 MB / 378 MB, free: 21.81 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002236/0.4318, allocations: 65.77 kB / 378 MB, free: 21.8 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4318, allocations: 0 / 378 MB, free: 21.8 MB / 302.1 MB Notification: Performance of Templates: time 0.01585/0.4477, allocations: 7.171 MB / 385.2 MB, free: 19.89 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoadCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoadCalcHelperMain.o] Error 1