Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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.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_3.2.3_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_3.2.3_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.00115/0.00115, allocations: 94.22 kB / 17.96 MB, free: 5.629 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.001328/0.001328, allocations: 184.1 kB / 18.87 MB, free: 4.773 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.814/1.814, allocations: 205.4 MB / 225 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.0005179/0.0005186, allocations: 8 kB / 282 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1436, allocations: 47.59 MB / 329.6 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003358/0.147, allocations: 2.111 MB / 331.7 MB, free: 1.637 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.1484, allocations: 0.6048 MB / 332.3 MB, free: 1.023 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002839/0.1488, allocations: 7.938 kB / 332.3 MB, free: 1.016 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002089/0.149, allocations: 27.77 kB / 332.4 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003203/0.1493, allocations: 71.47 kB / 332.4 MB, free: 0.918 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.1496, allocations: 47.95 kB / 332.5 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004836/0.1501, allocations: 286.7 kB / 332.8 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002805/0.1504, allocations: 87.5 kB / 332.8 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002403/0.1506, allocations: 99.58 kB / 332.9 MB, free: 420 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002261/0.1509, allocations: 103.5 kB / 333 MB, free: 316 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.349e-05/0.1509, allocations: 16 kB / 333.1 MB, free: 300 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.398e-05/0.151, allocations: 12 kB / 333.1 MB, free: 288 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.112e-05/0.151, allocations: 47.72 kB / 333.1 MB, free: 240 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.1512, allocations: 149.1 kB / 333.3 MB, free: 84 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003009/0.1515, allocations: 207.6 kB / 333.5 MB, free: 15.88 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.1515, allocations: 4 kB / 333.5 MB, free: 15.88 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1515, allocations: 0 / 333.5 MB, free: 15.88 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.1516, allocations: 0 / 333.5 MB, free: 15.88 MB / 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.0009009/0.1525, allocations: 0.4953 MB / 334 MB, free: 15.33 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.265e-05/0.1525, allocations: 16.02 kB / 334 MB, free: 15.32 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.448e-05/0.1526, allocations: 32.5 kB / 334 MB, free: 15.29 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003513/0.153, allocations: 236.4 kB / 334.2 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.153, allocations: 24.88 kB / 334.3 MB, free: 14.99 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.547e-05/0.1531, allocations: 32.11 kB / 334.3 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005494/0.1537, allocations: 228.9 kB / 334.5 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/0.1537, allocations: 7.984 kB / 334.5 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.1537, allocations: 8 kB / 334.5 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.1538, allocations: 8 kB / 334.5 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004611/0.1542, allocations: 190.1 kB / 334.7 MB, free: 14.52 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001453/0.1557, allocations: 0.7734 MB / 335.5 MB, free: 13.69 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005726/0.1563, allocations: 222.5 kB / 335.7 MB, free: 13.46 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002292/0.1565, allocations: 116.8 kB / 335.8 MB, free: 13.35 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.1565, allocations: 0 / 335.8 MB, free: 13.35 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.1566, allocations: 38.56 kB / 335.9 MB, free: 13.3 MB / 286.1 MB Notification: Performance of pre-optimization done (n=26): time 2.665e-06/0.1566, allocations: 4 kB / 335.9 MB, free: 13.3 MB / 286.1 MB Notification: Performance of matching and sorting (n=28): time 0.001851/0.1584, allocations: 0.9963 MB / 336.9 MB, free: 12.21 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.1585, allocations: 55.41 kB / 336.9 MB, free: 12.14 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.1587, allocations: 159.8 kB / 337.1 MB, free: 11.98 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.1587, allocations: 29.7 kB / 337.1 MB, free: 11.95 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.1588, allocations: 144.6 kB / 337.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.1589, allocations: 98.55 kB / 337.4 MB, free: 11.7 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.034e-05/0.159, allocations: 33.7 kB / 337.4 MB, free: 11.66 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.1592, allocations: 330.8 kB / 337.7 MB, free: 11.33 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.1594, allocations: 79.95 kB / 337.8 MB, free: 11.25 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.1596, allocations: 123.2 kB / 337.9 MB, free: 11.12 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004112/0.16, allocations: 211.3 kB / 338.1 MB, free: 10.9 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.16, allocations: 0 / 338.1 MB, free: 10.9 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005125/0.1605, allocations: 273.2 kB / 338.4 MB, free: 10.62 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.1606, allocations: 8 kB / 338.4 MB, free: 10.62 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.1606, allocations: 3.984 kB / 338.4 MB, free: 10.61 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.1606, allocations: 4 kB / 338.4 MB, free: 10.61 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003019/0.1609, allocations: 75.91 kB / 338.5 MB, free: 10.54 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.161, allocations: 0 / 338.5 MB, free: 10.54 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.1611, allocations: 28.02 kB / 338.5 MB, free: 10.51 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.1611, allocations: 4 kB / 338.5 MB, free: 10.5 MB / 286.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001476/0.1613, allocations: 145.7 kB / 338.6 MB, free: 10.35 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.669e-05/0.1613, allocations: 19.81 kB / 338.7 MB, free: 10.33 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.33e-05/0.1614, allocations: 26.55 kB / 338.7 MB, free: 10.31 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.1614, allocations: 4 kB / 338.7 MB, free: 10.3 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.1614, allocations: 0 / 338.7 MB, free: 10.3 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1615, allocations: 4 kB / 338.7 MB, free: 10.3 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.1626, allocations: 0.6599 MB / 339.4 MB, free: 9.578 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.1626, allocations: 7.938 kB / 339.4 MB, free: 9.57 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003181/0.1629, allocations: 71.91 kB / 339.4 MB, free: 9.5 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.163, allocations: 7.984 kB / 339.4 MB, free: 9.492 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.163, allocations: 4 kB / 339.4 MB, free: 9.488 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.163, allocations: 7.938 kB / 339.5 MB, free: 9.48 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.163, allocations: 0 / 339.5 MB, free: 9.48 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007542/0.1638, allocations: 463.4 kB / 339.9 MB, free: 9.008 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.747e-05/0.1638, allocations: 92.92 kB / 340 MB, free: 8.898 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.318e-05/0.1639, allocations: 8.047 kB / 340 MB, free: 8.891 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.164, allocations: 15.94 kB / 340 MB, free: 8.875 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.277e-05/0.1641, allocations: 15.97 kB / 340 MB, free: 8.859 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.1641, allocations: 12 kB / 340 MB, free: 8.848 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001002/0.1642, allocations: 115.2 kB / 340.2 MB, free: 8.734 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1642, allocations: 0 / 340.2 MB, free: 8.734 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003188/0.1646, allocations: 64 kB / 340.2 MB, free: 8.672 MB / 286.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001559/0.1647, allocations: 103.2 kB / 340.3 MB, free: 8.559 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000512/0.1652, allocations: 211.7 kB / 340.5 MB, free: 8.352 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1653, allocations: 4.188 kB / 340.5 MB, free: 8.348 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002259/0.1655, allocations: 111.8 kB / 340.6 MB, free: 8.238 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004642/0.166, allocations: 35.97 kB / 340.7 MB, free: 8.203 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.1677, allocations: 1.049 MB / 341.7 MB, free: 7.121 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/0.1681, allocations: 0.7525 MB / 342.5 MB, free: 6.34 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.432e-05/0.1682, allocations: 23.44 kB / 342.5 MB, free: 6.316 MB / 286.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1682, allocations: 0 / 342.5 MB, free: 6.316 MB / 286.1 MB Notification: Performance of Templates: time 0.006407/0.1746, allocations: 2.737 MB / 345.2 MB, free: 3.578 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearingCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearingCalcHelperMain.o] Error 1