Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.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.SimpleGearShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|clutch.phi_rel|clutch.w_rel|engine.phi|engine.w|load.phi|load.w|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift") translateModel(Modelica.Mechanics.Rotational.Examples.SimpleGearShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|clutch.phi_rel|clutch.w_rel|engine.phi|engine.w|load.phi|load.w|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 93.5 kB / 17.96 MB, free: 5.418 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.001227/0.001227, allocations: 176.3 kB / 18.86 MB, free: 4.637 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.847/1.847, allocations: 205.4 MB / 225 MB, free: 12.84 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.0004857/0.0004858, allocations: 12 kB / 282 MB, free: 3.383 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1226, allocations: 47.59 MB / 329.6 MB, free: 3.723 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.SimpleGearShift): time 0.003606/0.1262, allocations: 2.471 MB / 332.1 MB, free: 1.234 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002658/0.1289, allocations: 0.928 MB / 333 MB, free: 304 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003417/0.1293, allocations: 4 kB / 333 MB, free: 300 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002817/0.1296, allocations: 51.62 kB / 333.1 MB, free: 248 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004664/0.1301, allocations: 91.3 kB / 333.2 MB, free: 156 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007115/0.1308, allocations: 187.7 kB / 333.3 MB, free: 15.97 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007454/0.1316, allocations: 0.5306 MB / 333.9 MB, free: 15.44 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002333/0.1318, allocations: 94.59 kB / 334 MB, free: 15.34 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002941/0.1321, allocations: 219.2 kB / 334.2 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003226/0.1325, allocations: 251 kB / 334.4 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.615e-05/0.1325, allocations: 24 kB / 334.4 MB, free: 14.86 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.1327, allocations: 75.89 kB / 334.5 MB, free: 14.78 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.1329, allocations: 87.64 kB / 334.6 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001962/0.1331, allocations: 220.7 kB / 334.8 MB, free: 14.47 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003898/0.1335, allocations: 379.2 kB / 335.2 MB, free: 14.1 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1335, allocations: 0 / 335.2 MB, free: 14.1 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1335, allocations: 0 / 335.2 MB, free: 14.1 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.1335, allocations: 0 / 335.2 MB, free: 14.1 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001399/0.1349, allocations: 0.6903 MB / 335.9 MB, free: 13.36 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.135, allocations: 8.031 kB / 335.9 MB, free: 13.36 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.1351, allocations: 40.47 kB / 335.9 MB, free: 13.32 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004665/0.1355, allocations: 302.6 kB / 336.2 MB, free: 12.98 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.5e-05/0.1356, allocations: 29.31 kB / 336.3 MB, free: 12.95 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.43e-05/0.1357, allocations: 44.34 kB / 336.3 MB, free: 12.9 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008586/0.1366, allocations: 446.6 kB / 336.7 MB, free: 12.46 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.1366, allocations: 11.84 kB / 336.7 MB, free: 12.45 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.126e-05/0.1367, allocations: 12 kB / 336.8 MB, free: 12.44 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.1367, allocations: 8 kB / 336.8 MB, free: 12.43 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009333/0.1376, allocations: 475.7 kB / 337.2 MB, free: 11.97 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002344/0.14, allocations: 1.3 MB / 338.5 MB, free: 10.59 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008201/0.1408, allocations: 371.7 kB / 338.9 MB, free: 10.22 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004853/0.1413, allocations: 261.2 kB / 339.1 MB, free: 9.965 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.121e-05/0.1414, allocations: 8.359 kB / 339.2 MB, free: 9.957 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.1414, allocations: 38.94 kB / 339.2 MB, free: 9.91 MB / 286.1 MB Notification: Performance of pre-optimization done (n=45): time 1.663e-06/0.1414, allocations: 0 / 339.2 MB, free: 9.91 MB / 286.1 MB Notification: Performance of matching and sorting (n=49): time 0.005679/0.1471, allocations: 2.373 MB / 341.6 MB, free: 7.398 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.1471, allocations: 55.84 kB / 341.6 MB, free: 7.332 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003041/0.1475, allocations: 254.6 kB / 341.9 MB, free: 7.074 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.948e-05/0.1475, allocations: 41.69 kB / 341.9 MB, free: 7.027 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.1477, allocations: 172.6 kB / 342.1 MB, free: 6.855 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/0.1478, allocations: 165.7 kB / 342.2 MB, free: 6.691 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.103e-05/0.1479, allocations: 49.69 kB / 342.3 MB, free: 6.637 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.1481, allocations: 342.8 kB / 342.6 MB, free: 6.293 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004872/0.1486, allocations: 241 kB / 342.9 MB, free: 6.059 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005441/0.1492, allocations: 311.1 kB / 343.2 MB, free: 5.734 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008064/0.15, allocations: 435.7 kB / 343.6 MB, free: 5.297 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.15, allocations: 0 / 343.6 MB, free: 5.297 MB / 286.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001598/0.1516, allocations: 0.7743 MB / 344.4 MB, free: 4.504 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.1516, allocations: 4 kB / 344.4 MB, free: 4.5 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.1516, allocations: 4 kB / 344.4 MB, free: 4.496 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.1528, allocations: 0.549 MB / 344.9 MB, free: 3.938 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/0.153, allocations: 75.91 kB / 345 MB, free: 3.863 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003066/0.1561, allocations: 3.463 MB / 348.5 MB, free: 112 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000503/0.1566, allocations: 108 kB / 348.6 MB, free: 4 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.374e-05/0.1567, allocations: 16.08 kB / 348.6 MB, free: 15.98 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 16 (brake.mode,$PRE.brake.mode,brake.locked,brake.startBackward,$PRE.brake.startBackward,brake.startForward,$PRE.brake.startForward,brake.free,clutch.mode,$PRE.clutch.mode,clutch.locked,clutch.startBackward,$PRE.clutch.startBackward,clutch.startForward,$PRE.clutch.startForward,clutch.free) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0002421/0.157, allocations: 185.2 kB / 348.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.878e-05/0.157, allocations: 35.53 kB / 348.8 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001577/0.1586, allocations: 0.7365 MB / 349.5 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.1587, allocations: 4 kB / 349.5 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1587, allocations: 0 / 349.5 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.1587, allocations: 7.922 kB / 349.5 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002174/0.1609, allocations: 1.275 MB / 350.8 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1609, allocations: 0 / 350.8 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002604/0.1611, allocations: 59.91 kB / 350.9 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000937/0.1621, allocations: 0.5256 MB / 351.4 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.438e-05/0.1621, allocations: 23.91 kB / 351.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002811/0.165, allocations: 3.44 MB / 354.9 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.165, allocations: 0 / 354.9 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001929/0.1669, allocations: 1.055 MB / 355.9 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001739/0.1671, allocations: 156.7 kB / 356.1 MB, free: 8.055 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.236e-05/0.1672, allocations: 16 kB / 356.1 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004802/0.1677, allocations: 99.84 kB / 356.2 MB, free: 7.941 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001961/0.1679, allocations: 92.22 kB / 356.3 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.724e-05/0.1679, allocations: 23.97 kB / 356.3 MB, free: 7.828 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001599/0.1681, allocations: 178 kB / 356.5 MB, free: 7.652 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1681, allocations: 0 / 356.5 MB, free: 7.652 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004917/0.1686, allocations: 132 kB / 356.6 MB, free: 7.523 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (load.w,quadraticSpeedDependentTorque.phi,clutch.phi_rel,clutch.w_rel) * Number of discrete variables: 10 (clutch.free,clutch.startForward,clutch.startBackward,clutch.locked,clutch.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode) * Number of discrete states: 6 (clutch.mode,clutch.startBackward,brake.mode,brake.startBackward,brake.startForward,clutch.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002562/0.1688, allocations: 131.2 kB / 356.7 MB, free: 7.387 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001535/0.1704, allocations: 0.8294 MB / 357.6 MB, free: 6.535 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.1704, allocations: 0 / 357.6 MB, free: 6.535 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008676/0.1713, allocations: 0.5448 MB / 358.1 MB, free: 5.961 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005289/0.1718, allocations: 56.72 kB / 358.2 MB, free: 5.906 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/0.174, allocations: 1.232 MB / 359.4 MB, free: 4.645 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004668/0.1745, allocations: 0.7996 MB / 360.2 MB, free: 3.816 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.89e-05/0.1746, allocations: 23.44 kB / 360.2 MB, free: 3.793 MB / 302.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1746, allocations: 3.938 kB / 360.2 MB, free: 3.789 MB / 302.1 MB Notification: Performance of Templates: time 0.01185/0.1865, allocations: 8.815 MB / 369 MB, free: 10.96 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.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.SimpleGearShiftCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShiftCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.Rotational.Examples.SimpleGearShiftCalcHelperMain.o] Error 1