Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutch.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.OneWayClutch,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.OneWayClutch") translateModel(Modelica.Mechanics.Rotational.Examples.OneWayClutch,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.OneWayClutch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009133/0.0009136, allocations: 94.67 kB / 17.96 MB, free: 5.594 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.001134/0.001134, allocations: 173 kB / 18.86 MB, free: 4.75 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.929/1.929, allocations: 205.4 MB / 225 MB, free: 13.07 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.0004941/0.0004941, allocations: 8 kB / 282 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1342, allocations: 47.59 MB / 329.6 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.OneWayClutch): time 0.002762/0.137, allocations: 1.858 MB / 331.5 MB, free: 1.879 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.1385, allocations: 0.7296 MB / 332.2 MB, free: 1.141 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.1386, allocations: 7.938 kB / 332.2 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001759/0.1388, allocations: 23.84 kB / 332.2 MB, free: 1.109 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.139, allocations: 59.55 kB / 332.3 MB, free: 1.051 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003108/0.1393, allocations: 83.91 kB / 332.4 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002903/0.1396, allocations: 267.4 kB / 332.6 MB, free: 0.707 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.1398, allocations: 52.36 kB / 332.7 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.14, allocations: 107.6 kB / 332.8 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.1402, allocations: 115.5 kB / 332.9 MB, free: 448 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.047e-05/0.1403, allocations: 11.94 kB / 332.9 MB, free: 436 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.1404, allocations: 59.95 kB / 333 MB, free: 376 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.741e-05/0.1405, allocations: 39.83 kB / 333 MB, free: 336 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.1407, allocations: 129.1 kB / 333.1 MB, free: 200 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.1409, allocations: 195.8 kB / 333.3 MB, free: 4 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1409, allocations: 0 / 333.3 MB, free: 4 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.1409, allocations: 0 / 333.3 MB, free: 4 kB / 270.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.141, allocations: 0 / 333.3 MB, free: 4 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001072/0.142, allocations: 0.5316 MB / 333.9 MB, free: 15.42 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.1421, allocations: 15.97 kB / 333.9 MB, free: 15.4 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.569e-05/0.1422, allocations: 32.59 kB / 333.9 MB, free: 15.37 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.1425, allocations: 235.8 kB / 334.1 MB, free: 15.1 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/0.1425, allocations: 16.38 kB / 334.2 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.237e-05/0.1426, allocations: 20.38 kB / 334.2 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005645/0.1432, allocations: 243.5 kB / 334.4 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.1432, allocations: 4 kB / 334.4 MB, free: 14.81 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.635e-05/0.1432, allocations: 8 kB / 334.4 MB, free: 14.8 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.1432, allocations: 4 kB / 334.4 MB, free: 14.8 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005155/0.1438, allocations: 211.8 kB / 334.6 MB, free: 14.59 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.1449, allocations: 0.6759 MB / 335.3 MB, free: 13.86 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006248/0.1455, allocations: 214.3 kB / 335.5 MB, free: 13.64 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002706/0.1458, allocations: 112.8 kB / 335.6 MB, free: 13.53 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.1459, allocations: 7.984 kB / 335.6 MB, free: 13.52 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004555/0.1463, allocations: 171.5 kB / 335.8 MB, free: 13.34 MB / 286.1 MB Notification: Performance of pre-optimization done (n=24): time 1.834e-06/0.1463, allocations: 0 / 335.8 MB, free: 13.34 MB / 286.1 MB Notification: Performance of matching and sorting (n=26): time 0.002787/0.1491, allocations: 1.214 MB / 337 MB, free: 12.02 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.1492, allocations: 55.41 kB / 337.1 MB, free: 11.95 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.1494, allocations: 198.8 kB / 337.3 MB, free: 11.75 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.069e-05/0.1495, allocations: 37.7 kB / 337.3 MB, free: 11.7 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.1496, allocations: 132.3 kB / 337.4 MB, free: 11.57 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.218e-05/0.1497, allocations: 90.73 kB / 337.5 MB, free: 11.48 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.785e-05/0.1497, allocations: 37.64 kB / 337.6 MB, free: 11.44 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.1499, allocations: 334.8 kB / 337.9 MB, free: 11.1 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002917/0.1502, allocations: 116.2 kB / 338 MB, free: 10.98 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003544/0.1506, allocations: 152.3 kB / 338.1 MB, free: 10.82 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005367/0.1511, allocations: 258.7 kB / 338.4 MB, free: 10.55 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1511, allocations: 0 / 338.4 MB, free: 10.55 MB / 286.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009148/0.1521, allocations: 413 kB / 338.8 MB, free: 10.14 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.261e-05/0.1521, allocations: 40.34 kB / 338.8 MB, free: 10.09 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.1521, allocations: 3.938 kB / 338.8 MB, free: 10.09 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002919/0.1524, allocations: 72.89 kB / 338.9 MB, free: 10.02 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/0.1527, allocations: 51.91 kB / 339 MB, free: 9.965 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007352/0.1534, allocations: 0.6147 MB / 339.6 MB, free: 9.324 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002732/0.1537, allocations: 44.06 kB / 339.6 MB, free: 9.281 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.621e-05/0.1537, allocations: 12 kB / 339.6 MB, free: 9.27 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: 11 (signalEngagement.count,$PRE.signalEngagement.count,signalEngagement.T_start,$PRE.signalEngagement.T_start,oneWayClutch.free,oneWayClutch.stuck,$PRE.oneWayClutch.stuck,oneWayClutch.locked,oneWayClutch.startForward,$PRE.oneWayClutch.startForward,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * 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.0002486/0.154, allocations: 146 kB / 339.8 MB, free: 9.117 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.892e-05/0.154, allocations: 19.81 kB / 339.8 MB, free: 9.098 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.57e-05/0.1541, allocations: 29.88 kB / 339.8 MB, free: 9.066 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1541, allocations: 0 / 339.8 MB, free: 9.066 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.1542, allocations: 3.938 kB / 339.8 MB, free: 9.062 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/0.1542, allocations: 3.984 kB / 339.8 MB, free: 9.059 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.1556, allocations: 0.6941 MB / 340.5 MB, free: 8.305 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.1556, allocations: 3.984 kB / 340.5 MB, free: 8.301 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/0.1558, allocations: 44.02 kB / 340.6 MB, free: 8.258 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001688/0.156, allocations: 72.75 kB / 340.6 MB, free: 8.184 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.156, allocations: 7.984 kB / 340.7 MB, free: 8.176 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005177/0.1565, allocations: 0.6032 MB / 341.3 MB, free: 7.547 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1565, allocations: 0 / 341.3 MB, free: 7.547 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.1576, allocations: 0.5388 MB / 341.8 MB, free: 6.988 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.1577, allocations: 112.8 kB / 341.9 MB, free: 6.859 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.1578, allocations: 8 kB / 341.9 MB, free: 6.852 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002492/0.158, allocations: 39.95 kB / 342 MB, free: 6.812 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.1581, allocations: 27.95 kB / 342 MB, free: 6.785 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.1582, allocations: 12 kB / 342 MB, free: 6.773 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001363/0.1583, allocations: 139.5 kB / 342.1 MB, free: 6.637 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1583, allocations: 7.875 kB / 342.1 MB, free: 6.629 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003655/0.1587, allocations: 72 kB / 342.2 MB, free: 6.559 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (inertiaOut.phi,inertiaOut.w,oneWayClutch.phi_rel,oneWayClutch.w_rel) * Number of discrete variables: 7 ($whenCondition1,oneWayClutch.startForward,oneWayClutch.locked,oneWayClutch.stuck,oneWayClutch.free,signalEngagement.T_start,signalEngagement.count) * Number of discrete states: 3 (signalEngagement.count,oneWayClutch.stuck,oneWayClutch.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002534/0.1589, allocations: 123.2 kB / 342.3 MB, free: 6.43 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007977/0.1598, allocations: 336.6 kB / 342.7 MB, free: 6.09 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1598, allocations: 4 kB / 342.7 MB, free: 6.086 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003575/0.1601, allocations: 155.9 kB / 342.8 MB, free: 5.934 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000451/0.1606, allocations: 43.86 kB / 342.9 MB, free: 5.891 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.1622, allocations: 0.8323 MB / 343.7 MB, free: 5.027 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.1626, allocations: 0.7438 MB / 344.4 MB, free: 4.258 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.85e-05/0.1627, allocations: 27.42 kB / 344.5 MB, free: 4.23 MB / 286.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1627, allocations: 3.938 kB / 344.5 MB, free: 4.227 MB / 286.1 MB Notification: Performance of Templates: time 0.008227/0.1709, allocations: 3.747 MB / 348.2 MB, free: 484 kB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutch.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutch.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.OneWayClutchCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchCalcHelperMain.o] Error 1