Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.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.OneWayClutchDisengaged,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|inertiaIn.phi|inertiaIn.w|oneWayClutch.phi_rel|oneWayClutch.w_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") translateModel(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|inertiaIn.phi|inertiaIn.w|oneWayClutch.phi_rel|oneWayClutch.w_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 105.4 kB / 17.8 MB, free: 5.688 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.00151/0.00151, allocations: 197.9 kB / 18.73 MB, free: 4.77 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.795/1.795, allocations: 205.1 MB / 224.6 MB, free: 12.46 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.001314/0.001314, allocations: 47.94 kB / 280.6 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.118, allocations: 46.63 MB / 327.3 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.004631/0.1227, allocations: 2.251 MB / 329.5 MB, free: 2.613 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.1245, allocations: 0.7333 MB / 330.2 MB, free: 1.871 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002484/0.1248, allocations: 0 / 330.2 MB, free: 1.871 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002452/0.125, allocations: 27.78 kB / 330.3 MB, free: 1.844 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000261/0.1253, allocations: 59.59 kB / 330.3 MB, free: 1.785 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003562/0.1257, allocations: 79.86 kB / 330.4 MB, free: 1.707 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004112/0.1261, allocations: 251.5 kB / 330.6 MB, free: 1.461 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.1263, allocations: 60.34 kB / 330.7 MB, free: 1.402 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/0.1264, allocations: 95.58 kB / 330.8 MB, free: 1.309 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002461/0.1267, allocations: 111.5 kB / 330.9 MB, free: 1.199 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.351e-05/0.1267, allocations: 16 kB / 330.9 MB, free: 1.184 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.1269, allocations: 59.95 kB / 331 MB, free: 1.125 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.615e-05/0.127, allocations: 43.83 kB / 331 MB, free: 1.082 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.1271, allocations: 99.45 kB / 331.1 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.1274, allocations: 199.8 kB / 331.3 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1274, allocations: 4 kB / 331.3 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.1274, allocations: 0 / 331.3 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.1274, allocations: 0 / 331.3 MB, free: 0.7852 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0008684/0.1283, allocations: 0.5185 MB / 331.8 MB, free: 220 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.1283, allocations: 12.03 kB / 331.8 MB, free: 208 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.386e-05/0.1284, allocations: 24.66 kB / 331.9 MB, free: 184 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.1287, allocations: 224 kB / 332.1 MB, free: 15.92 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.1287, allocations: 16.81 kB / 332.1 MB, free: 15.91 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.099e-05/0.1288, allocations: 28.27 kB / 332.1 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004401/0.1292, allocations: 222 kB / 332.4 MB, free: 15.65 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.1293, allocations: 7.875 kB / 332.4 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.916e-05/0.1293, allocations: 12 kB / 332.4 MB, free: 15.63 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.1293, allocations: 4 kB / 332.4 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003327/0.1297, allocations: 165 kB / 332.5 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.1308, allocations: 0.7758 MB / 333.3 MB, free: 14.62 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003747/0.1312, allocations: 130.5 kB / 333.4 MB, free: 14.48 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.1314, allocations: 72.81 kB / 333.5 MB, free: 14.41 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.1314, allocations: 4 kB / 333.5 MB, free: 14.41 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.1314, allocations: 34.5 kB / 333.5 MB, free: 14.36 MB / 286.1 MB Notification: Performance of pre-optimization done (n=18): time 1.212e-06/0.1314, allocations: 4 kB / 333.6 MB, free: 14.36 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.001956/0.1334, allocations: 0.9818 MB / 334.5 MB, free: 13.27 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.1335, allocations: 55.41 kB / 334.6 MB, free: 13.2 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.1337, allocations: 206.7 kB / 334.8 MB, free: 12.99 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.1337, allocations: 25.7 kB / 334.8 MB, free: 12.96 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.1339, allocations: 144.2 kB / 335 MB, free: 12.81 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.534e-05/0.1339, allocations: 71 kB / 335 MB, free: 12.74 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.212e-05/0.134, allocations: 53.61 kB / 335.1 MB, free: 12.68 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.1342, allocations: 342.8 kB / 335.4 MB, free: 12.34 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.1344, allocations: 71.97 kB / 335.5 MB, free: 12.27 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.1346, allocations: 115.6 kB / 335.6 MB, free: 12.14 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/0.1349, allocations: 172.7 kB / 335.8 MB, free: 11.96 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1349, allocations: 0 / 335.8 MB, free: 11.96 MB / 286.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005182/0.1355, allocations: 283.8 kB / 336 MB, free: 11.68 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.1355, allocations: 4 kB / 336 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.1355, allocations: 4 kB / 336 MB, free: 11.67 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003447/0.1359, allocations: 68.81 kB / 336.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.136, allocations: 47.97 kB / 336.2 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005765/0.1366, allocations: 0.6186 MB / 336.8 MB, free: 10.91 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.1368, allocations: 24 kB / 336.8 MB, free: 10.89 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.1368, allocations: 8 kB / 336.8 MB, free: 10.88 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: 6 (oneWayClutch.free,oneWayClutch.stuck,$PRE.oneWayClutch.stuck,oneWayClutch.locked,oneWayClutch.startForward,$PRE.oneWayClutch.startForward) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000167/0.137, allocations: 145.5 kB / 337 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.557e-05/0.1371, allocations: 15.81 kB / 337 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.227e-05/0.1371, allocations: 25.86 kB / 337 MB, free: 10.69 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.1371, allocations: 11.88 kB / 337 MB, free: 10.68 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1372, allocations: 0 / 337 MB, free: 10.68 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1372, allocations: 0 / 337 MB, free: 10.68 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009989/0.1382, allocations: 0.606 MB / 337.6 MB, free: 10 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.1382, allocations: 3.984 kB / 337.6 MB, free: 10 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.1383, allocations: 27.98 kB / 337.6 MB, free: 9.973 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000182/0.1385, allocations: 64.81 kB / 337.7 MB, free: 9.906 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/0.1386, allocations: 15.98 kB / 337.7 MB, free: 9.891 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005857/0.1392, allocations: 0.6187 MB / 338.3 MB, free: 9.246 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1392, allocations: 0 / 338.3 MB, free: 9.246 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006837/0.1399, allocations: 421.5 kB / 338.8 MB, free: 8.809 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.755e-05/0.14, allocations: 105 kB / 338.9 MB, free: 8.688 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.806e-05/0.14, allocations: 3.984 kB / 338.9 MB, free: 8.684 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.1402, allocations: 19.98 kB / 338.9 MB, free: 8.664 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.9e-05/0.1403, allocations: 23.97 kB / 338.9 MB, free: 8.641 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.1403, allocations: 7.984 kB / 338.9 MB, free: 8.633 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000147/0.1405, allocations: 156 kB / 339.1 MB, free: 8.48 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1405, allocations: 0 / 339.1 MB, free: 8.48 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003345/0.1408, allocations: 67.94 kB / 339.1 MB, free: 8.414 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertiaOut.w,oneWayClutch.phi_rel,oneWayClutch.w_rel,torqueLoad.phi) * Number of discrete variables: 3 (oneWayClutch.startForward,oneWayClutch.locked,oneWayClutch.stuck) * Number of discrete states: 2 (oneWayClutch.stuck,oneWayClutch.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002071/0.141, allocations: 127.1 kB / 339.3 MB, free: 8.281 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004981/0.1415, allocations: 199.7 kB / 339.4 MB, free: 8.086 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1416, allocations: 0 / 339.4 MB, free: 8.086 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002257/0.1418, allocations: 95.89 kB / 339.5 MB, free: 7.992 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.1422, allocations: 47.94 kB / 339.6 MB, free: 7.945 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.1439, allocations: 0.7623 MB / 340.4 MB, free: 7.148 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004705/0.1444, allocations: 0.7443 MB / 341.1 MB, free: 6.379 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.896e-05/0.1444, allocations: 19.44 kB / 341.1 MB, free: 6.359 MB / 286.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1444, allocations: 0 / 341.1 MB, free: 6.359 MB / 286.1 MB Notification: Performance of Templates: time 0.006523/0.151, allocations: 3.452 MB / 344.6 MB, free: 2.902 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged.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.OneWayClutchDisengagedCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengagedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengagedCalcHelperMain.o] Error 1