Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Brake.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.Translational.Examples.Brake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|brake.mode|brake.startBackward|brake.startForward|brake1.mode|brake1.startBackward|brake1.startForward",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Brake") translateModel(Modelica.Mechanics.Translational.Examples.Brake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|brake.mode|brake.startBackward|brake.startForward|brake1.mode|brake1.startBackward|brake1.startForward",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Brake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001065, allocations: 95.19 kB / 17.58 MB, free: 5.801 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.001138/0.001139, allocations: 181.4 kB / 18.48 MB, free: 5.254 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.677/1.677, allocations: 205.4 MB / 224.6 MB, free: 13.06 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.0004761/0.0004761, allocations: 12 kB / 281.4 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.124, allocations: 47.58 MB / 329 MB, free: 4.066 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Brake): time 0.002604/0.1267, allocations: 2.027 MB / 331 MB, free: 2.02 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009752/0.1277, allocations: 0.4921 MB / 331.5 MB, free: 1.523 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.1278, allocations: 7.938 kB / 331.5 MB, free: 1.516 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000273/0.1281, allocations: 35.77 kB / 331.5 MB, free: 1.48 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.1283, allocations: 71.45 kB / 331.6 MB, free: 1.41 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005215/0.1288, allocations: 147.7 kB / 331.8 MB, free: 1.266 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000482/0.1293, allocations: 423.2 kB / 332.2 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.1295, allocations: 48.72 kB / 332.2 MB, free: 0.8086 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002352/0.1297, allocations: 191.3 kB / 332.4 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002928/0.13, allocations: 215.2 kB / 332.6 MB, free: 420 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.079e-05/0.1301, allocations: 20 kB / 332.6 MB, free: 400 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.1303, allocations: 59.95 kB / 332.7 MB, free: 340 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.1304, allocations: 79.72 kB / 332.8 MB, free: 260 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.501e-05/0.1305, allocations: 77.52 kB / 332.8 MB, free: 176 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003447/0.1308, allocations: 327.4 kB / 333.2 MB, free: 15.85 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.1308, allocations: 0 / 333.2 MB, free: 15.85 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1309, allocations: 0 / 333.2 MB, free: 15.85 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.1309, allocations: 0 / 333.2 MB, free: 15.85 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001143/0.132, allocations: 0.6275 MB / 333.8 MB, free: 15.18 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.1321, allocations: 12.03 kB / 333.8 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.652e-05/0.1321, allocations: 31.62 kB / 333.8 MB, free: 15.13 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.1325, allocations: 275.5 kB / 334.1 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.137e-05/0.1325, allocations: 24.52 kB / 334.1 MB, free: 14.8 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.912e-05/0.1326, allocations: 35.98 kB / 334.2 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006966/0.1333, allocations: 372.7 kB / 334.5 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.1334, allocations: 3.906 kB / 334.5 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.762e-05/0.1334, allocations: 12 kB / 334.5 MB, free: 14.38 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.1334, allocations: 4 kB / 334.5 MB, free: 14.37 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007285/0.1342, allocations: 410 kB / 334.9 MB, free: 13.97 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001967/0.1361, allocations: 1.123 MB / 336.1 MB, free: 12.77 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005254/0.1367, allocations: 303.4 kB / 336.4 MB, free: 12.46 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003521/0.137, allocations: 201.8 kB / 336.6 MB, free: 12.27 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.321e-05/0.1371, allocations: 11.92 kB / 336.6 MB, free: 12.25 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.1371, allocations: 42.5 kB / 336.6 MB, free: 12.2 MB / 286.1 MB Notification: Performance of pre-optimization done (n=39): time 1.633e-06/0.1371, allocations: 0 / 336.6 MB, free: 12.2 MB / 286.1 MB Notification: Performance of matching and sorting (n=45): time 0.004587/0.1417, allocations: 2.112 MB / 338.7 MB, free: 9.953 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.1418, allocations: 59.36 kB / 338.8 MB, free: 9.883 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/0.1421, allocations: 233 kB / 339 MB, free: 9.645 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.982e-05/0.1421, allocations: 45.64 kB / 339.1 MB, free: 9.594 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.1423, allocations: 152.7 kB / 339.2 MB, free: 9.438 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.1424, allocations: 154 kB / 339.4 MB, free: 9.285 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.1424, allocations: 8 kB / 339.4 MB, free: 9.277 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.1426, allocations: 338.8 kB / 339.7 MB, free: 8.938 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003743/0.143, allocations: 205 kB / 339.9 MB, free: 8.738 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004606/0.1435, allocations: 288.8 kB / 340.2 MB, free: 8.43 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003516/0.1438, allocations: 168.7 kB / 340.3 MB, free: 8.262 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.1439, allocations: 4 kB / 340.3 MB, free: 8.258 MB / 286.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001448/0.1453, allocations: 0.6885 MB / 341 MB, free: 7.559 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.1453, allocations: 8 kB / 341 MB, free: 7.551 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.1454, allocations: 4.156 kB / 341 MB, free: 7.547 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008909/0.1463, allocations: 0.4896 MB / 341.5 MB, free: 7.051 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/0.1466, allocations: 75.91 kB / 341.6 MB, free: 6.977 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.1479, allocations: 1.382 MB / 343 MB, free: 5.543 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004054/0.1483, allocations: 96.03 kB / 343.1 MB, free: 5.449 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.431e-05/0.1483, allocations: 20 kB / 343.1 MB, free: 5.43 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 16 (brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode,brake1.free,$PRE.brake1.startForward,brake1.startForward,$PRE.brake1.startBackward,brake1.startBackward,brake1.locked,$PRE.brake1.mode,brake1.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 7,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002352/0.1486, allocations: 162 kB / 343.3 MB, free: 5.262 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.258e-05/0.1487, allocations: 31.58 kB / 343.3 MB, free: 5.23 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/0.1488, allocations: 51.3 kB / 343.3 MB, free: 5.184 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.1488, allocations: 8 kB / 343.4 MB, free: 5.176 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.1488, allocations: 0 / 343.4 MB, free: 5.176 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.1488, allocations: 3.938 kB / 343.4 MB, free: 5.172 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00263/0.1515, allocations: 1.38 MB / 344.7 MB, free: 3.715 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.1515, allocations: 3.953 kB / 344.7 MB, free: 3.711 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002562/0.1518, allocations: 59.91 kB / 344.8 MB, free: 3.652 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007206/0.1525, allocations: 473.5 kB / 345.3 MB, free: 3.184 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.342e-05/0.1525, allocations: 15.98 kB / 345.3 MB, free: 3.168 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001261/0.1538, allocations: 1.351 MB / 346.6 MB, free: 1.766 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1538, allocations: 0 / 346.6 MB, free: 1.766 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.1556, allocations: 0.951 MB / 347.6 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001843/0.1558, allocations: 152.7 kB / 347.7 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.565e-05/0.1558, allocations: 19.98 kB / 347.8 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002847/0.1561, allocations: 51.92 kB / 347.8 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/0.1563, allocations: 103.7 kB / 347.9 MB, free: 448 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.812e-05/0.1564, allocations: 23.97 kB / 347.9 MB, free: 424 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001721/0.1566, allocations: 168.5 kB / 348.1 MB, free: 256 kB / 286.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.1566, allocations: 4 kB / 348.1 MB, free: 252 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004796/0.1571, allocations: 104 kB / 348.2 MB, free: 148 kB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (mass1.s,mass1.v,mass2.s,mass2.v) * Number of discrete variables: 10 (brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,brake1.free,brake1.startForward,brake1.startBackward,brake1.locked,brake1.mode) * Number of discrete states: 6 (brake1.mode,brake1.startForward,brake1.startBackward,brake.mode,brake.startForward,brake.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002416/0.1573, allocations: 135 kB / 348.3 MB, free: 4 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00109/0.1584, allocations: 0.5102 MB / 348.8 MB, free: 15.49 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1584, allocations: 0 / 348.8 MB, free: 15.49 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005578/0.159, allocations: 291.6 kB / 349.1 MB, free: 15.21 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005122/0.1595, allocations: 60.73 kB / 349.2 MB, free: 15.15 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00235/0.1619, allocations: 1.189 MB / 350.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004105/0.1623, allocations: 0.7803 MB / 351.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.1624, allocations: 27.42 kB / 351.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of SimCode: time 1.072e-06/0.1624, allocations: 0 / 351.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of Templates: time 0.009715/0.1721, allocations: 6.586 MB / 357.8 MB, free: 6.48 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Brake.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Brake.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.BrakeCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.BrakeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.BrakeCalcHelperMain.o] Error 1