Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Rotational.Drive.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/Modelica 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/HanserModelica 2.0.0/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Rotational.Drive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.Drive") translateModel(HanserModelica.Rotational.Drive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.Drive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008076/0.0008076, allocations: 102.6 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 223.3 MB / 239.7 MB, free: 5.656 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 176.5 kB / 290.9 MB, free: 2.344 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03303/0.03303, allocations: 8.788 MB / 350.8 MB, free: 4.746 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005564/0.0005567, allocations: 10.28 kB / 413.8 MB, free: 43.11 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1384, allocations: 52.56 MB / 466.4 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.Drive): time 0.00251/0.1409, allocations: 1.698 MB / 468.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.1425, allocations: 0.9009 MB / 469 MB, free: 11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.1426, allocations: 4 kB / 469 MB, free: 11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003728/0.143, allocations: 111.7 kB / 469.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002547/0.1433, allocations: 91.62 kB / 469.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003354/0.1436, allocations: 113.8 kB / 469.3 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000269/0.1439, allocations: 191.2 kB / 469.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.144, allocations: 33.67 kB / 469.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.1442, allocations: 79.67 kB / 469.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.1444, allocations: 95.66 kB / 469.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.1444, allocations: 8 kB / 469.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.1445, allocations: 39.98 kB / 469.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.642e-05/0.1446, allocations: 47.83 kB / 469.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.916e-05/0.1447, allocations: 53.58 kB / 469.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.1449, allocations: 163.9 kB / 470 MB, free: 9.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.1449, allocations: 0 / 470 MB, free: 9.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1449, allocations: 0 / 470 MB, free: 9.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.1449, allocations: 4 kB / 470 MB, free: 9.977 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007466/0.1457, allocations: 482.6 kB / 470.4 MB, free: 9.453 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.1457, allocations: 8.031 kB / 470.5 MB, free: 9.445 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.579e-05/0.1458, allocations: 23.77 kB / 470.5 MB, free: 9.422 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.1462, allocations: 238.8 kB / 470.7 MB, free: 9.148 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.718e-05/0.1462, allocations: 12.23 kB / 470.7 MB, free: 9.137 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.829e-05/0.1462, allocations: 15.98 kB / 470.7 MB, free: 9.121 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003149/0.1466, allocations: 137.4 kB / 470.9 MB, free: 8.977 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.1466, allocations: 11.83 kB / 470.9 MB, free: 8.965 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.1466, allocations: 4 kB / 470.9 MB, free: 8.961 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.1466, allocations: 7.953 kB / 470.9 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.1468, allocations: 68.66 kB / 471 MB, free: 8.887 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009414/0.1478, allocations: 0.6264 MB / 471.6 MB, free: 8.195 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/0.148, allocations: 90.69 kB / 471.7 MB, free: 8.098 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.456e-05/0.1481, allocations: 32.84 kB / 471.7 MB, free: 8.062 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.1481, allocations: 7.922 kB / 471.7 MB, free: 8.055 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002313/0.1484, allocations: 79.38 kB / 471.8 MB, free: 7.965 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.1484, allocations: 4 kB / 471.8 MB, free: 7.961 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003672/0.1487, allocations: 145.4 kB / 471.9 MB, free: 7.812 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.1488, allocations: 55.36 kB / 472 MB, free: 7.746 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000282/0.1491, allocations: 272.1 kB / 472.3 MB, free: 7.469 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.1491, allocations: 29.7 kB / 472.3 MB, free: 7.434 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.1492, allocations: 140.1 kB / 472.4 MB, free: 7.289 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.95e-05/0.1493, allocations: 35.55 kB / 472.5 MB, free: 7.254 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-06/0.1493, allocations: 0 / 472.5 MB, free: 7.254 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1494, allocations: 330.8 kB / 472.8 MB, free: 6.922 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.993e-05/0.1495, allocations: 35.92 kB / 472.8 MB, free: 6.887 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.1496, allocations: 76.14 kB / 472.9 MB, free: 6.797 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.614e-05/0.1497, allocations: 35.94 kB / 472.9 MB, free: 6.762 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1497, allocations: 0 / 472.9 MB, free: 6.762 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002654/0.15, allocations: 153.2 kB / 473.1 MB, free: 6.605 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.15, allocations: 4 kB / 473.1 MB, free: 6.602 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.1501, allocations: 4 kB / 473.1 MB, free: 6.598 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1501, allocations: 0 / 473.1 MB, free: 6.598 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.1503, allocations: 28.36 kB / 473.1 MB, free: 6.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.1503, allocations: 3.953 kB / 473.1 MB, free: 6.566 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.426e-05/0.1504, allocations: 15.91 kB / 473.1 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.1504, allocations: 4 kB / 473.1 MB, free: 6.547 MB / 302.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: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001464/0.1505, allocations: 160.7 kB / 473.3 MB, free: 6.383 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.1506, allocations: 15.81 kB / 473.3 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.496e-05/0.1506, allocations: 25.39 kB / 473.3 MB, free: 6.344 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1506, allocations: 0 / 473.3 MB, free: 6.344 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1506, allocations: 0 / 473.3 MB, free: 6.344 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.1507, allocations: 3.953 kB / 473.3 MB, free: 6.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.1509, allocations: 245.5 kB / 473.6 MB, free: 6.051 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1509, allocations: 0 / 473.6 MB, free: 6.051 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.151, allocations: 19.98 kB / 473.6 MB, free: 6.031 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.151, allocations: 0 / 473.6 MB, free: 6.031 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.151, allocations: 4 kB / 473.6 MB, free: 6.027 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.151, allocations: 4 kB / 473.6 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.1511, allocations: 3.938 kB / 473.6 MB, free: 6.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003408/0.1514, allocations: 192.7 kB / 473.8 MB, free: 5.812 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.163e-05/0.1515, allocations: 92.94 kB / 473.9 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/0.1515, allocations: 4 kB / 473.9 MB, free: 5.699 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.095e-05/0.1516, allocations: 7.984 kB / 473.9 MB, free: 5.691 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.1516, allocations: 8.062 kB / 473.9 MB, free: 5.684 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.1517, allocations: 7.984 kB / 473.9 MB, free: 5.676 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001802/0.1518, allocations: 201.6 kB / 474.1 MB, free: 5.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1519, allocations: 0 / 474.1 MB, free: 5.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.1521, allocations: 39.92 kB / 474.2 MB, free: 5.441 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.w,load.phi) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009737/0.1531, allocations: 411.7 kB / 474.6 MB, free: 5.195 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002331/0.1533, allocations: 88.09 kB / 474.6 MB, free: 5.109 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1533, allocations: 3.938 kB / 474.6 MB, free: 5.105 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.528e-05/0.1534, allocations: 31.98 kB / 474.7 MB, free: 5.074 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.1537, allocations: 36.36 kB / 474.7 MB, free: 5.039 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009483/0.1547, allocations: 0.6132 MB / 475.3 MB, free: 4.391 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.1551, allocations: 0.7402 MB / 476.1 MB, free: 3.625 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.56e-05/0.1551, allocations: 15.44 kB / 476.1 MB, free: 3.609 MB / 302.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1551, allocations: 3.938 kB / 476.1 MB, free: 3.605 MB / 302.1 MB Notification: Performance of Templates: time 0.005269/0.1604, allocations: 2.536 MB / 478.6 MB, free: 1.078 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.Rotational.Drive.makefile make -j1 -f HanserModelica_HanserModelica.Rotational.Drive.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 OMCppHanserModelica_HanserModelica.Rotational.DriveCalcHelperMain.o OMCppHanserModelica_HanserModelica.Rotational.DriveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.Rotational.DriveCalcHelperMain.o] Error 1