Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.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.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing") translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 91.69 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.001239/0.001238, allocations: 178.8 kB / 17.84 MB, free: 5.617 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.601/1.601, allocations: 223.2 MB / 241.8 MB, free: 232 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002825/0.0002825, allocations: 8 kB / 301.4 MB, free: 6.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1157, allocations: 50.42 MB / 351.9 MB, free: 4.027 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002827/0.1186, allocations: 2.028 MB / 353.9 MB, free: 1.984 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009218/0.1196, allocations: 0.5574 MB / 354.4 MB, free: 1.422 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.1197, allocations: 7.938 kB / 354.5 MB, free: 1.414 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001481/0.1199, allocations: 23.78 kB / 354.5 MB, free: 1.391 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001504/0.12, allocations: 71.45 kB / 354.5 MB, free: 1.32 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001716/0.1202, allocations: 43.95 kB / 354.6 MB, free: 1.277 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003056/0.1205, allocations: 266.7 kB / 354.9 MB, free: 1.016 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002122/0.1207, allocations: 89.78 kB / 354.9 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.1209, allocations: 91.59 kB / 355 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.121, allocations: 107.5 kB / 355.1 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.265e-05/0.1211, allocations: 15.94 kB / 355.2 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.541e-05/0.1211, allocations: 12 kB / 355.2 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.796e-05/0.1212, allocations: 47.83 kB / 355.2 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.455e-05/0.1212, allocations: 69.58 kB / 355.3 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.1215, allocations: 211.6 kB / 355.5 MB, free: 384 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.1215, allocations: 0 / 355.5 MB, free: 384 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1215, allocations: 0 / 355.5 MB, free: 384 kB / 286.1 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.1215, allocations: 0 / 355.5 MB, free: 384 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007639/0.1223, allocations: 0.5106 MB / 356 MB, free: 15.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.1223, allocations: 8.031 kB / 356 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.333e-05/0.1224, allocations: 31.66 kB / 356 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.1227, allocations: 231.2 kB / 356.3 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.1227, allocations: 20.56 kB / 356.3 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.248e-05/0.1228, allocations: 24 kB / 356.3 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004683/0.1233, allocations: 236.8 kB / 356.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.1233, allocations: 7.891 kB / 356.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.1233, allocations: 12 kB / 356.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.1233, allocations: 4 kB / 356.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003864/0.1237, allocations: 186.1 kB / 356.7 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.125, allocations: 0.7771 MB / 357.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004776/0.1254, allocations: 218.8 kB / 357.7 MB, free: 13.97 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/0.1257, allocations: 112.8 kB / 357.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.1257, allocations: 4 kB / 357.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.1257, allocations: 30.56 kB / 357.9 MB, free: 13.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.213e-06/0.1257, allocations: 0 / 357.9 MB, free: 13.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.00173/0.1275, allocations: 0.9956 MB / 358.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.1275, allocations: 55.41 kB / 358.9 MB, free: 12.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.1277, allocations: 150.7 kB / 359.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.1277, allocations: 33.7 kB / 359.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.735e-05/0.1278, allocations: 144.6 kB / 359.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.505e-05/0.1279, allocations: 106.5 kB / 359.3 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.152e-05/0.1279, allocations: 4 kB / 359.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1281, allocations: 334.8 kB / 359.7 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.1283, allocations: 75.97 kB / 359.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/0.1285, allocations: 123.2 kB / 359.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.1287, allocations: 91.98 kB / 360 MB, free: 11.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1287, allocations: 4 kB / 360 MB, free: 11.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004568/0.1291, allocations: 261.4 kB / 360.2 MB, free: 11.31 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.1292, allocations: 4 kB / 360.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.1292, allocations: 4 kB / 360.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1292, allocations: 8.031 kB / 360.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002764/0.1295, allocations: 75.91 kB / 360.3 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.1295, allocations: 7.984 kB / 360.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.1296, allocations: 12 kB / 360.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.1297, allocations: 12 kB / 360.3 MB, free: 11.19 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.000141/0.1298, allocations: 138.2 kB / 360.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.427e-05/0.1299, allocations: 27.8 kB / 360.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.609e-05/0.1299, allocations: 22.56 kB / 360.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.1299, allocations: 7.984 kB / 360.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.13, allocations: 0 / 360.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.13, allocations: 0 / 360.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009569/0.1309, allocations: 0.6676 MB / 361.2 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1309, allocations: 3.938 kB / 361.2 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003139/0.1313, allocations: 79.89 kB / 361.3 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.1313, allocations: 0 / 361.3 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.1313, allocations: 8.062 kB / 361.3 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.1313, allocations: 4 kB / 361.3 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.1313, allocations: 3.953 kB / 361.3 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006711/0.132, allocations: 462.8 kB / 361.8 MB, free: 9.684 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.212e-05/0.1321, allocations: 92.91 kB / 361.8 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.1321, allocations: 8.062 kB / 361.9 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.1322, allocations: 12 kB / 361.9 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.573e-05/0.1323, allocations: 27.92 kB / 361.9 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.1323, allocations: 8 kB / 361.9 MB, free: 9.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.285e-05/0.1324, allocations: 119.5 kB / 362 MB, free: 9.402 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1324, allocations: 0 / 362 MB, free: 9.402 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002973/0.1327, allocations: 56 kB / 362.1 MB, free: 9.348 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (shaft.phi,shaft.w,load.phi,load.w,springDamper.phi_rel,springDamper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.0001337/0.1329, allocations: 107.2 kB / 362.2 MB, free: 9.234 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004262/0.1333, allocations: 208.1 kB / 362.4 MB, free: 9.031 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.1333, allocations: 0 / 362.4 MB, free: 9.031 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001892/0.1335, allocations: 111.8 kB / 362.5 MB, free: 8.922 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.134, allocations: 43.03 kB / 362.5 MB, free: 8.883 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.1355, allocations: 1.041 MB / 363.6 MB, free: 7.805 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.1358, allocations: 0.7525 MB / 364.3 MB, free: 7.023 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.492e-05/0.1359, allocations: 19.44 kB / 364.3 MB, free: 7.004 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1359, allocations: 3.938 kB / 364.3 MB, free: 7 MB / 302.1 MB Notification: Performance of Templates: time 0.00473/0.1406, allocations: 2.707 MB / 367.1 MB, free: 4.297 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.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.Rotational.Examples.ElasticBearingCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearingCalcHelperMain.o] Error 1