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.001851/0.001851, allocations: 101.4 kB / 17.96 MB, free: 5.617 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.002294/0.002294, allocations: 172.1 kB / 18.86 MB, free: 4.777 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.923/1.923, allocations: 205.4 MB / 225 MB, free: 12.98 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.0004931/0.0004931, allocations: 10.97 kB / 282 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.117, allocations: 47.58 MB / 329.6 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged): time 0.003094/0.1202, allocations: 1.905 MB / 331.5 MB, free: 1.84 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.1218, allocations: 0.7179 MB / 332.2 MB, free: 1.113 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001974/0.122, allocations: 4 kB / 332.2 MB, free: 1.109 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.1222, allocations: 23.78 kB / 332.3 MB, free: 1.086 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002522/0.1225, allocations: 59.59 kB / 332.3 MB, free: 1.027 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003976/0.1229, allocations: 83.84 kB / 332.4 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004019/0.1233, allocations: 247.4 kB / 332.6 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002172/0.1236, allocations: 64.38 kB / 332.7 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003005/0.1239, allocations: 95.56 kB / 332.8 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000309/0.1242, allocations: 107.5 kB / 332.9 MB, free: 452 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.694e-05/0.1242, allocations: 12 kB / 332.9 MB, free: 440 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001839/0.1244, allocations: 55.95 kB / 333 MB, free: 384 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.943e-05/0.1245, allocations: 39.78 kB / 333 MB, free: 344 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.1247, allocations: 125.2 kB / 333.1 MB, free: 212 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002924/0.125, allocations: 195.8 kB / 333.3 MB, free: 16 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.125, allocations: 3.938 kB / 333.3 MB, free: 12 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.125, allocations: 4 kB / 333.3 MB, free: 8 kB / 270.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.125, allocations: 0 / 333.3 MB, free: 8 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0009934/0.1261, allocations: 491.2 kB / 333.8 MB, free: 15.48 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.1261, allocations: 12.03 kB / 333.8 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.931e-05/0.1262, allocations: 24.66 kB / 333.8 MB, free: 15.44 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.1266, allocations: 232 kB / 334.1 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.1266, allocations: 12.81 kB / 334.1 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.848e-05/0.1267, allocations: 28.27 kB / 334.1 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004974/0.1272, allocations: 226 kB / 334.3 MB, free: 14.9 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.1272, allocations: 4 kB / 334.3 MB, free: 14.9 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.1273, allocations: 8 kB / 334.3 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.1273, allocations: 4 kB / 334.3 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003535/0.1276, allocations: 173 kB / 334.5 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.1289, allocations: 0.7836 MB / 335.3 MB, free: 13.87 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003688/0.1293, allocations: 134.5 kB / 335.4 MB, free: 13.73 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.1295, allocations: 68.83 kB / 335.5 MB, free: 13.66 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.1295, allocations: 4 kB / 335.5 MB, free: 13.65 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.439e-05/0.1296, allocations: 42.56 kB / 335.5 MB, free: 13.6 MB / 286.1 MB Notification: Performance of pre-optimization done (n=18): time 1.252e-06/0.1296, allocations: 3.938 kB / 335.5 MB, free: 13.6 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.002046/0.1316, allocations: 1.013 MB / 336.6 MB, free: 12.47 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.1317, allocations: 51.41 kB / 336.6 MB, free: 12.41 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.1319, allocations: 206.7 kB / 336.8 MB, free: 12.2 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.1319, allocations: 33.7 kB / 336.8 MB, free: 12.16 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.132, allocations: 136.2 kB / 337 MB, free: 12.02 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.466e-05/0.1321, allocations: 74.98 kB / 337 MB, free: 11.95 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.623e-05/0.1322, allocations: 29.7 kB / 337.1 MB, free: 11.91 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1323, allocations: 334.8 kB / 337.4 MB, free: 11.58 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.1325, allocations: 83.89 kB / 337.5 MB, free: 11.5 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.1327, allocations: 115.6 kB / 337.6 MB, free: 11.37 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003127/0.133, allocations: 172.7 kB / 337.8 MB, free: 11.19 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1331, allocations: 4 kB / 337.8 MB, free: 11.19 MB / 286.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005013/0.1336, allocations: 291.8 kB / 338.1 MB, free: 10.89 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1336, allocations: 4 kB / 338.1 MB, free: 10.89 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1336, allocations: 4.062 kB / 338.1 MB, free: 10.89 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002893/0.1339, allocations: 68.81 kB / 338.1 MB, free: 10.82 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.1341, allocations: 43.92 kB / 338.2 MB, free: 10.77 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000611/0.1347, allocations: 0.607 MB / 338.8 MB, free: 10.14 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.1349, allocations: 40 kB / 338.8 MB, free: 10.1 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/0.1349, allocations: 12.05 kB / 338.8 MB, free: 10.09 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.0001363/0.1351, allocations: 137.4 kB / 339 MB, free: 9.949 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.465e-05/0.1351, allocations: 27.7 kB / 339 MB, free: 9.922 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.206e-05/0.1352, allocations: 21.88 kB / 339 MB, free: 9.898 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.1352, allocations: 7.938 kB / 339 MB, free: 9.891 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.1352, allocations: 4 kB / 339 MB, free: 9.887 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1352, allocations: 0 / 339 MB, free: 9.887 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008564/0.1361, allocations: 0.6061 MB / 339.6 MB, free: 9.215 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1361, allocations: 0 / 339.6 MB, free: 9.215 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/0.1363, allocations: 31.92 kB / 339.7 MB, free: 9.184 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001648/0.1365, allocations: 76.8 kB / 339.7 MB, free: 9.105 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.1365, allocations: 4 kB / 339.7 MB, free: 9.102 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000488/0.137, allocations: 0.6187 MB / 340.4 MB, free: 8.457 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.137, allocations: 160 / 340.4 MB, free: 8.457 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006184/0.1376, allocations: 421.6 kB / 340.8 MB, free: 8.02 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.762e-05/0.1377, allocations: 108.9 kB / 340.9 MB, free: 7.895 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.434e-05/0.1378, allocations: 8 kB / 340.9 MB, free: 7.887 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.138, allocations: 23.97 kB / 340.9 MB, free: 7.863 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.908e-05/0.138, allocations: 27.91 kB / 340.9 MB, free: 7.836 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.1381, allocations: 12 kB / 341 MB, free: 7.824 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000218/0.1383, allocations: 156 kB / 341.1 MB, free: 7.672 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1383, allocations: 0 / 341.1 MB, free: 7.672 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003258/0.1386, allocations: 67.92 kB / 341.2 MB, free: 7.605 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.0002379/0.1389, allocations: 119.2 kB / 341.3 MB, free: 7.48 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005153/0.1394, allocations: 215.8 kB / 341.5 MB, free: 7.27 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1394, allocations: 3.938 kB / 341.5 MB, free: 7.266 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002251/0.1396, allocations: 95.89 kB / 341.6 MB, free: 7.172 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004481/0.1401, allocations: 35.7 kB / 341.6 MB, free: 7.137 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.1417, allocations: 0.8711 MB / 342.5 MB, free: 6.234 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000435/0.1422, allocations: 0.7443 MB / 343.2 MB, free: 5.465 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.549e-05/0.1422, allocations: 19.44 kB / 343.3 MB, free: 5.445 MB / 286.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1422, allocations: 0 / 343.3 MB, free: 5.445 MB / 286.1 MB Notification: Performance of Templates: time 0.005712/0.148, allocations: 3.415 MB / 346.7 MB, free: 2.023 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