Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 99.02 kB / 17.96 MB, free: 5.77 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.0014/0.0014, allocations: 177.7 kB / 18.86 MB, free: 4.902 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.838/1.838, allocations: 205.4 MB / 225 MB, free: 13.09 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.0004739/0.0004739, allocations: 12 kB / 282 MB, free: 3.434 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1203, allocations: 47.59 MB / 329.6 MB, free: 3.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003137/0.1235, allocations: 2.029 MB / 331.6 MB, free: 1.73 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.1247, allocations: 0.6203 MB / 332.3 MB, free: 1.102 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.1248, allocations: 4 kB / 332.3 MB, free: 1.098 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001614/0.125, allocations: 23.78 kB / 332.3 MB, free: 1.074 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.1252, allocations: 63.53 kB / 332.3 MB, free: 1.012 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.1254, allocations: 51.89 kB / 332.4 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003498/0.1258, allocations: 238.9 kB / 332.6 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002352/0.126, allocations: 76.73 kB / 332.7 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.1262, allocations: 87.59 kB / 332.8 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.1264, allocations: 95.48 kB / 332.9 MB, free: 484 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.897e-05/0.1264, allocations: 12 kB / 332.9 MB, free: 472 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.444e-05/0.1265, allocations: 16 kB / 332.9 MB, free: 456 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.075e-05/0.1266, allocations: 31.84 kB / 332.9 MB, free: 424 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000152/0.1267, allocations: 133.1 kB / 333.1 MB, free: 284 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.1269, allocations: 179.7 kB / 333.3 MB, free: 104 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.127, allocations: 0 / 333.3 MB, free: 104 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.127, allocations: 0 / 333.3 MB, free: 104 kB / 270.1 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.127, allocations: 0 / 333.3 MB, free: 104 kB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007925/0.1278, allocations: 487.1 kB / 333.7 MB, free: 15.57 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.1278, allocations: 8.031 kB / 333.7 MB, free: 15.57 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.858e-05/0.1279, allocations: 28.66 kB / 333.8 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.1282, allocations: 240.5 kB / 334 MB, free: 15.27 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.1282, allocations: 12.81 kB / 334 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.944e-05/0.1283, allocations: 24.38 kB / 334 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004019/0.1287, allocations: 222.1 kB / 334.3 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.1287, allocations: 7.984 kB / 334.3 MB, free: 14.99 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.1288, allocations: 11.94 kB / 334.3 MB, free: 14.98 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.1288, allocations: 8 kB / 334.3 MB, free: 14.97 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002747/0.1291, allocations: 129.7 kB / 334.4 MB, free: 14.85 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.1301, allocations: 0.7054 MB / 335.1 MB, free: 14.09 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002809/0.1304, allocations: 154.5 kB / 335.3 MB, free: 13.93 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.1306, allocations: 68.83 kB / 335.3 MB, free: 13.86 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.1306, allocations: 4 kB / 335.3 MB, free: 13.85 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.1306, allocations: 34.56 kB / 335.4 MB, free: 13.81 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.623e-06/0.1307, allocations: 0 / 335.4 MB, free: 13.81 MB / 286.1 MB Notification: Performance of matching and sorting (n=24): time 0.001651/0.1323, allocations: 0.8961 MB / 336.3 MB, free: 12.82 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.1324, allocations: 59.41 kB / 336.3 MB, free: 12.75 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.1325, allocations: 174.7 kB / 336.5 MB, free: 12.56 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.1326, allocations: 33.7 kB / 336.5 MB, free: 12.52 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.1327, allocations: 144.2 kB / 336.7 MB, free: 12.38 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.1328, allocations: 98.58 kB / 336.8 MB, free: 12.28 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.796e-05/0.1329, allocations: 25.72 kB / 336.8 MB, free: 12.25 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000206/0.1331, allocations: 330.8 kB / 337.1 MB, free: 11.92 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.1332, allocations: 59.97 kB / 337.2 MB, free: 11.86 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.1334, allocations: 96.27 kB / 337.3 MB, free: 11.75 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002956/0.1337, allocations: 172.1 kB / 337.4 MB, free: 11.57 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.1337, allocations: 4 kB / 337.4 MB, free: 11.56 MB / 286.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004295/0.1341, allocations: 250 kB / 337.7 MB, free: 11.31 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.1342, allocations: 8.125 kB / 337.7 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.1342, allocations: 0 / 337.7 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000161/0.1343, allocations: 40.83 kB / 337.7 MB, free: 11.26 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.1346, allocations: 47.92 kB / 337.8 MB, free: 11.21 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/0.1358, allocations: 1.374 MB / 339.1 MB, free: 9.699 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.136, allocations: 8 kB / 339.2 MB, free: 9.691 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.136, allocations: 15.94 kB / 339.2 MB, free: 9.676 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.1361, allocations: 133.8 kB / 339.3 MB, free: 9.535 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.213e-05/0.1362, allocations: 27.78 kB / 339.3 MB, free: 9.508 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.026e-05/0.1362, allocations: 25.88 kB / 339.4 MB, free: 9.484 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.1362, allocations: 4 kB / 339.4 MB, free: 9.48 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1362, allocations: 0 / 339.4 MB, free: 9.48 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-06/0.1363, allocations: 3.984 kB / 339.4 MB, free: 9.477 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008868/0.1372, allocations: 0.6558 MB / 340 MB, free: 8.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1372, allocations: 0 / 340 MB, free: 8.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.1374, allocations: 44.06 kB / 340.1 MB, free: 8.707 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001105/0.1375, allocations: 40.81 kB / 340.1 MB, free: 8.664 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.1375, allocations: 12.06 kB / 340.1 MB, free: 8.652 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001124/0.1387, allocations: 1.37 MB / 341.5 MB, free: 7.148 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.1387, allocations: 8 kB / 341.5 MB, free: 7.141 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005602/0.1392, allocations: 414.1 kB / 341.9 MB, free: 6.711 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.973e-05/0.1393, allocations: 92.92 kB / 342 MB, free: 6.602 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.1393, allocations: 0 / 342 MB, free: 6.602 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.1395, allocations: 12.03 kB / 342 MB, free: 6.59 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.1395, allocations: 19.98 kB / 342 MB, free: 6.57 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.1395, allocations: 4 kB / 342 MB, free: 6.566 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001045/0.1396, allocations: 132.8 kB / 342.1 MB, free: 6.438 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1397, allocations: 3.938 kB / 342.2 MB, free: 6.434 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003039/0.14, allocations: 56 kB / 342.2 MB, free: 6.379 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001236/0.1401, allocations: 107.2 kB / 342.3 MB, free: 6.262 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005353/0.1406, allocations: 298.3 kB / 342.6 MB, free: 5.957 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1407, allocations: 4 kB / 342.6 MB, free: 5.953 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002994/0.141, allocations: 219.2 kB / 342.8 MB, free: 5.727 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004537/0.1414, allocations: 35.97 kB / 342.9 MB, free: 5.691 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.1427, allocations: 0.8661 MB / 343.7 MB, free: 4.793 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.1431, allocations: 0.7482 MB / 344.5 MB, free: 4.02 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.971e-05/0.1431, allocations: 19.44 kB / 344.5 MB, free: 4 MB / 286.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1431, allocations: 3.938 kB / 344.5 MB, free: 3.996 MB / 286.1 MB Notification: Performance of Templates: time 0.005485/0.1486, allocations: 3.408 MB / 347.9 MB, free: 0.5859 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.FirstGroundedCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGroundedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGroundedCalcHelperMain.o] Error 1