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.001379/0.001378, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001439/0.001439, allocations: 194 kB / 18.72 MB, free: 4.762 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.822/1.822, allocations: 205.1 MB / 224.6 MB, free: 12.49 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.001134/0.001134, allocations: 47.94 kB / 280.6 MB, free: 3.609 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1245, allocations: 46.63 MB / 327.2 MB, free: 4.91 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.SimpleGearShift): time 0.0044/0.129, allocations: 2.841 MB / 330.1 MB, free: 2.047 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.1307, allocations: 0.9357 MB / 331 MB, free: 1.102 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.1308, allocations: 7.938 kB / 331 MB, free: 1.094 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002722/0.1311, allocations: 47.67 kB / 331.1 MB, free: 1.047 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002462/0.1314, allocations: 87.31 kB / 331.2 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004681/0.1318, allocations: 183.7 kB / 331.3 MB, free: 0.7812 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005726/0.1324, allocations: 0.5384 MB / 331.9 MB, free: 248 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002634/0.1327, allocations: 98.59 kB / 332 MB, free: 144 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003185/0.133, allocations: 223.2 kB / 332.2 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003223/0.1334, allocations: 259 kB / 332.4 MB, free: 15.67 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.121e-05/0.1334, allocations: 31.94 kB / 332.5 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.1336, allocations: 79.88 kB / 332.6 MB, free: 15.56 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.1338, allocations: 95.62 kB / 332.7 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002109/0.134, allocations: 195 kB / 332.8 MB, free: 15.27 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003972/0.1344, allocations: 391.3 kB / 333.2 MB, free: 14.89 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1344, allocations: 0 / 333.2 MB, free: 14.89 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1344, allocations: 0 / 333.2 MB, free: 14.89 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.1344, allocations: 0 / 333.2 MB, free: 14.89 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.001446/0.1359, allocations: 0.7369 MB / 334 MB, free: 14.11 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.1359, allocations: 8.031 kB / 334 MB, free: 14.1 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.1361, allocations: 52.41 kB / 334 MB, free: 14.05 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004029/0.1365, allocations: 306.5 kB / 334.3 MB, free: 13.7 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.618e-05/0.1365, allocations: 29.38 kB / 334.3 MB, free: 13.67 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.455e-05/0.1366, allocations: 32.38 kB / 334.4 MB, free: 13.64 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008363/0.1374, allocations: 442.6 kB / 334.8 MB, free: 13.2 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.1375, allocations: 7.891 kB / 334.8 MB, free: 13.2 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.751e-05/0.1375, allocations: 12 kB / 334.8 MB, free: 13.18 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.1375, allocations: 8 kB / 334.8 MB, free: 13.18 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009126/0.1385, allocations: 455.7 kB / 335.3 MB, free: 12.73 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002273/0.1407, allocations: 1.265 MB / 336.6 MB, free: 11.39 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000786/0.1415, allocations: 379.6 kB / 336.9 MB, free: 11.02 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004604/0.142, allocations: 245.2 kB / 337.2 MB, free: 10.77 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.496e-05/0.1421, allocations: 8.375 kB / 337.2 MB, free: 10.77 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.1421, allocations: 30.94 kB / 337.2 MB, free: 10.73 MB / 286.1 MB Notification: Performance of pre-optimization done (n=45): time 1.483e-06/0.1421, allocations: 8 kB / 337.2 MB, free: 10.72 MB / 286.1 MB Notification: Performance of matching and sorting (n=49): time 0.005117/0.1472, allocations: 2.256 MB / 339.5 MB, free: 8.324 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.1473, allocations: 55.84 kB / 339.5 MB, free: 8.258 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/0.1475, allocations: 258.5 kB / 339.8 MB, free: 7.996 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.26e-05/0.1476, allocations: 41.7 kB / 339.8 MB, free: 7.949 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.1478, allocations: 168.6 kB / 340 MB, free: 7.781 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/0.1479, allocations: 161.7 kB / 340.1 MB, free: 7.621 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001833/0.1481, allocations: 102.1 kB / 340.2 MB, free: 7.516 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.1483, allocations: 346.8 kB / 340.6 MB, free: 7.168 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004734/0.1488, allocations: 237 kB / 340.8 MB, free: 6.938 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005004/0.1493, allocations: 295.2 kB / 341.1 MB, free: 6.629 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007723/0.1501, allocations: 419.7 kB / 341.5 MB, free: 6.203 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1501, allocations: 4 kB / 341.5 MB, free: 6.199 MB / 286.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001541/0.1516, allocations: 0.7547 MB / 342.3 MB, free: 5.43 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1516, allocations: 8 kB / 342.3 MB, free: 5.422 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.1517, allocations: 0 / 342.3 MB, free: 5.422 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001143/0.1528, allocations: 0.5522 MB / 342.8 MB, free: 4.863 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.1531, allocations: 67.89 kB / 342.9 MB, free: 4.797 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002898/0.156, allocations: 3.471 MB / 346.4 MB, free: 1.031 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004519/0.1565, allocations: 72.06 kB / 346.4 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.486e-05/0.1565, allocations: 27.98 kB / 346.5 MB, free: 0.9336 MB / 286.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.0002279/0.1567, allocations: 165.3 kB / 346.6 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.702e-05/0.1568, allocations: 31.62 kB / 346.6 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/0.1583, allocations: 0.7286 MB / 347.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.1584, allocations: 4 kB / 347.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.1584, allocations: 0 / 347.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.1584, allocations: 3.938 kB / 347.4 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002066/0.1605, allocations: 1.263 MB / 348.6 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1605, allocations: 0 / 348.6 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002559/0.1607, allocations: 59.89 kB / 348.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009328/0.1617, allocations: 0.5255 MB / 349.2 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.979e-05/0.1617, allocations: 15.98 kB / 349.2 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002768/0.1645, allocations: 3.436 MB / 352.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1645, allocations: 0 / 352.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001853/0.1664, allocations: 1.032 MB / 353.7 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001691/0.1666, allocations: 160.7 kB / 353.9 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.433e-05/0.1666, allocations: 12 kB / 353.9 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004252/0.1671, allocations: 87.77 kB / 354 MB, free: 8.98 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002101/0.1673, allocations: 84.28 kB / 354.1 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.213e-05/0.1673, allocations: 19.98 kB / 354.1 MB, free: 8.879 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001764/0.1675, allocations: 178 kB / 354.2 MB, free: 8.703 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1675, allocations: 0 / 354.2 MB, free: 8.703 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005053/0.168, allocations: 128 kB / 354.4 MB, free: 8.578 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.0002492/0.1683, allocations: 139.1 kB / 354.5 MB, free: 8.434 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001503/0.1698, allocations: 0.8098 MB / 355.3 MB, free: 7.602 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1698, allocations: 0 / 355.3 MB, free: 7.602 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008423/0.1707, allocations: 0.5331 MB / 355.8 MB, free: 7.039 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005031/0.1712, allocations: 64.7 kB / 355.9 MB, free: 6.977 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.1732, allocations: 1.149 MB / 357.1 MB, free: 5.801 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004777/0.1737, allocations: 0.7957 MB / 357.9 MB, free: 4.973 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.419e-05/0.1738, allocations: 31.42 kB / 357.9 MB, free: 4.941 MB / 302.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1738, allocations: 0 / 357.9 MB, free: 4.941 MB / 302.1 MB Notification: Performance of Templates: time 0.0127/0.1865, allocations: 8.864 MB / 366.8 MB, free: 12.07 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