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.0008989/0.0008991, allocations: 88.67 kB / 17.58 MB, free: 5.758 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.0008775/0.0008778, allocations: 183 kB / 18.48 MB, free: 5.207 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.803/1.803, allocations: 205.4 MB / 224.6 MB, free: 13.17 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.0005012/0.0005013, allocations: 12 kB / 281.4 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1216, allocations: 47.59 MB / 329 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002847/0.1245, allocations: 1.96 MB / 330.9 MB, free: 2.109 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.1256, allocations: 0.5817 MB / 331.5 MB, free: 1.52 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.1258, allocations: 8 kB / 331.5 MB, free: 1.512 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.1259, allocations: 27.78 kB / 331.6 MB, free: 1.484 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.126, allocations: 59.47 kB / 331.6 MB, free: 1.426 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002011/0.1262, allocations: 39.95 kB / 331.7 MB, free: 1.387 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002784/0.1265, allocations: 238.9 kB / 331.9 MB, free: 1.152 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.1267, allocations: 72.72 kB / 332 MB, free: 1.082 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.1269, allocations: 83.66 kB / 332 MB, free: 1 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001713/0.127, allocations: 91.55 kB / 332.1 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.913e-05/0.1271, allocations: 15.94 kB / 332.1 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.96e-05/0.1272, allocations: 12 kB / 332.2 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.077e-05/0.1272, allocations: 31.84 kB / 332.2 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.443e-05/0.1273, allocations: 69.58 kB / 332.3 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002775/0.1276, allocations: 179.7 kB / 332.4 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.617e-06/0.1276, allocations: 0 / 332.4 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1276, allocations: 0 / 332.4 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1277, allocations: 4 kB / 332.4 MB, free: 0.5977 MB / 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.000941/0.1286, allocations: 478.9 kB / 332.9 MB, free: 80 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.1287, allocations: 8.031 kB / 332.9 MB, free: 72 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.245e-05/0.1287, allocations: 27.66 kB / 332.9 MB, free: 44 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003963/0.1292, allocations: 243.2 kB / 333.2 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.1292, allocations: 12.44 kB / 333.2 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.494e-05/0.1293, allocations: 24 kB / 333.2 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005655/0.1298, allocations: 209.9 kB / 333.4 MB, free: 15.51 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/0.1299, allocations: 3.984 kB / 333.4 MB, free: 15.51 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.308e-05/0.1299, allocations: 11.94 kB / 333.4 MB, free: 15.5 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.1299, allocations: 11.98 kB / 333.4 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002637/0.1302, allocations: 121.7 kB / 333.6 MB, free: 15.37 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.1313, allocations: 0.7133 MB / 334.3 MB, free: 14.6 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/0.1316, allocations: 154.5 kB / 334.4 MB, free: 14.44 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.1318, allocations: 72.83 kB / 334.5 MB, free: 14.36 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.1318, allocations: 352 / 334.5 MB, free: 14.36 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.1319, allocations: 46.52 kB / 334.5 MB, free: 14.31 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.062e-06/0.1319, allocations: 0 / 334.5 MB, free: 14.31 MB / 286.1 MB Notification: Performance of matching and sorting (n=24): time 0.001648/0.1335, allocations: 0.8904 MB / 335.4 MB, free: 13.32 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.1336, allocations: 55.36 kB / 335.5 MB, free: 13.26 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.1338, allocations: 174.7 kB / 335.7 MB, free: 13.07 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.1338, allocations: 29.7 kB / 335.7 MB, free: 13.04 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.1339, allocations: 140.3 kB / 335.8 MB, free: 12.9 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.315e-05/0.134, allocations: 90.66 kB / 335.9 MB, free: 12.81 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.739e-06/0.134, allocations: 8 kB / 335.9 MB, free: 12.8 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1342, allocations: 326.8 kB / 336.2 MB, free: 12.47 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.1343, allocations: 59.91 kB / 336.3 MB, free: 12.41 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.1345, allocations: 108.2 kB / 336.4 MB, free: 12.29 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.1346, allocations: 68 kB / 336.5 MB, free: 12.23 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1346, allocations: 0 / 336.5 MB, free: 12.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004237/0.1351, allocations: 254 kB / 336.7 MB, free: 11.97 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.1351, allocations: 12.12 kB / 336.7 MB, free: 11.96 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.1351, allocations: 0 / 336.7 MB, free: 11.96 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001606/0.1353, allocations: 36.81 kB / 336.8 MB, free: 11.92 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/0.1355, allocations: 47.92 kB / 336.8 MB, free: 11.87 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001231/0.1367, allocations: 1.378 MB / 338.2 MB, free: 10.36 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.1369, allocations: 8 kB / 338.2 MB, free: 10.35 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.1369, allocations: 15.98 kB / 338.2 MB, free: 10.33 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001453/0.137, allocations: 133.8 kB / 338.3 MB, free: 10.19 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.811e-05/0.1371, allocations: 19.77 kB / 338.4 MB, free: 10.17 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.206e-05/0.1371, allocations: 25.88 kB / 338.4 MB, free: 10.15 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1372, allocations: 4 kB / 338.4 MB, free: 10.14 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1372, allocations: 0 / 338.4 MB, free: 10.14 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.1372, allocations: 3.984 kB / 338.4 MB, free: 10.14 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008841/0.1381, allocations: 0.6569 MB / 339.1 MB, free: 9.414 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1381, allocations: 3.938 kB / 339.1 MB, free: 9.41 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/0.1383, allocations: 43.92 kB / 339.1 MB, free: 9.367 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001052/0.1384, allocations: 36.83 kB / 339.1 MB, free: 9.328 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.1384, allocations: 16.16 kB / 339.2 MB, free: 9.312 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001199/0.1396, allocations: 1.374 MB / 340.5 MB, free: 7.805 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1397, allocations: 4.031 kB / 340.5 MB, free: 7.801 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005354/0.1402, allocations: 406.3 kB / 340.9 MB, free: 7.379 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.546e-05/0.1403, allocations: 92.92 kB / 341 MB, free: 7.27 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.1403, allocations: 4 kB / 341 MB, free: 7.266 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.1404, allocations: 12.03 kB / 341 MB, free: 7.254 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.337e-05/0.1405, allocations: 19.98 kB / 341.1 MB, free: 7.234 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.1405, allocations: 4 kB / 341.1 MB, free: 7.23 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001126/0.1406, allocations: 128.8 kB / 341.2 MB, free: 7.105 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1406, allocations: 0 / 341.2 MB, free: 7.105 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003198/0.1409, allocations: 60 kB / 341.2 MB, free: 7.047 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001429/0.1411, allocations: 111.1 kB / 341.4 MB, free: 6.926 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005456/0.1417, allocations: 310.2 kB / 341.7 MB, free: 6.609 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1417, allocations: 4.25 kB / 341.7 MB, free: 6.605 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003037/0.142, allocations: 210.6 kB / 341.9 MB, free: 6.387 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004204/0.1424, allocations: 39.92 kB / 341.9 MB, free: 6.348 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.1437, allocations: 0.8466 MB / 342.8 MB, free: 5.469 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.1441, allocations: 0.7481 MB / 343.5 MB, free: 4.695 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.957e-05/0.1441, allocations: 23.42 kB / 343.5 MB, free: 4.672 MB / 286.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1442, allocations: 0 / 343.5 MB, free: 4.672 MB / 286.1 MB Notification: Performance of Templates: time 0.00549/0.1497, allocations: 3.392 MB / 346.9 MB, free: 1.277 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++ 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_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