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.0008965/0.0008969, allocations: 96.19 kB / 17.96 MB, free: 5.328 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.001118/0.001118, allocations: 180.3 kB / 18.86 MB, free: 4.641 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.927/1.927, allocations: 205.4 MB / 225 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.0005572/0.0005572, allocations: 12 kB / 282 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1226, allocations: 47.59 MB / 329.6 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Brake): time 0.003366/0.126, allocations: 2.115 MB / 331.7 MB, free: 1.629 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.1275, allocations: 0.5038 MB / 332.2 MB, free: 1.121 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002942/0.1279, allocations: 3.938 kB / 332.2 MB, free: 1.117 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003133/0.1282, allocations: 31.77 kB / 332.3 MB, free: 1.086 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003511/0.1286, allocations: 79.45 kB / 332.3 MB, free: 1.008 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006479/0.1292, allocations: 155.8 kB / 332.5 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007865/0.13, allocations: 467.1 kB / 332.9 MB, free: 408 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002111/0.1303, allocations: 56.72 kB / 333 MB, free: 356 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004058/0.1307, allocations: 191.3 kB / 333.2 MB, free: 164 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004938/0.1312, allocations: 223.1 kB / 333.4 MB, free: 15.94 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.1313, allocations: 20 kB / 333.4 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002309/0.1315, allocations: 63.97 kB / 333.5 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.1317, allocations: 79.7 kB / 333.6 MB, free: 15.78 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002587/0.132, allocations: 188.9 kB / 333.7 MB, free: 15.59 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004367/0.1324, allocations: 323.4 kB / 334.1 MB, free: 15.27 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.1324, allocations: 3.938 kB / 334.1 MB, free: 15.27 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1324, allocations: 0 / 334.1 MB, free: 15.27 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.1325, allocations: 0 / 334.1 MB, free: 15.27 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.001382/0.1338, allocations: 0.6277 MB / 334.7 MB, free: 14.59 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/0.1339, allocations: 8.031 kB / 334.7 MB, free: 14.58 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.786e-05/0.134, allocations: 36.5 kB / 334.7 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003475/0.1344, allocations: 276.7 kB / 335 MB, free: 14.24 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.918e-05/0.1344, allocations: 20.94 kB / 335 MB, free: 14.22 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.645e-05/0.1345, allocations: 32.28 kB / 335.1 MB, free: 14.19 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007472/0.1352, allocations: 393.2 kB / 335.4 MB, free: 13.79 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.1353, allocations: 192 / 335.4 MB, free: 13.79 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.587e-05/0.1353, allocations: 15.94 kB / 335.5 MB, free: 13.78 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.1353, allocations: 4 kB / 335.5 MB, free: 13.77 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008479/0.1362, allocations: 410 kB / 335.9 MB, free: 13.38 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002206/0.1384, allocations: 1.131 MB / 337 MB, free: 12.16 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005286/0.139, allocations: 299.5 kB / 337.3 MB, free: 11.86 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003559/0.1393, allocations: 197.8 kB / 337.5 MB, free: 11.67 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.564e-05/0.1394, allocations: 4 kB / 337.5 MB, free: 11.66 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.1394, allocations: 42.5 kB / 337.5 MB, free: 11.61 MB / 286.1 MB Notification: Performance of pre-optimization done (n=39): time 3.687e-06/0.1394, allocations: 4 kB / 337.5 MB, free: 11.61 MB / 286.1 MB Notification: Performance of matching and sorting (n=45): time 0.004631/0.1441, allocations: 2.119 MB / 339.7 MB, free: 9.355 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.1441, allocations: 55.41 kB / 339.7 MB, free: 9.289 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002411/0.1444, allocations: 232.9 kB / 339.9 MB, free: 9.051 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.784e-05/0.1445, allocations: 49.69 kB / 340 MB, free: 8.996 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.1446, allocations: 144.8 kB / 340.1 MB, free: 8.848 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000147/0.1447, allocations: 157.9 kB / 340.3 MB, free: 8.691 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.785e-05/0.1448, allocations: 49.69 kB / 340.3 MB, free: 8.637 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.145, allocations: 338.8 kB / 340.7 MB, free: 8.297 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003894/0.1454, allocations: 213 kB / 340.9 MB, free: 8.09 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004497/0.1458, allocations: 288.8 kB / 341.1 MB, free: 7.781 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006382/0.1465, allocations: 381.7 kB / 341.5 MB, free: 7.383 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1465, allocations: 0 / 341.5 MB, free: 7.383 MB / 286.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001437/0.1479, allocations: 0.7002 MB / 342.2 MB, free: 6.668 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.148, allocations: 4 kB / 342.2 MB, free: 6.664 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.148, allocations: 8.156 kB / 342.2 MB, free: 6.656 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009061/0.1489, allocations: 493.4 kB / 342.7 MB, free: 6.168 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/0.1492, allocations: 71.84 kB / 342.8 MB, free: 6.098 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/0.1505, allocations: 1.39 MB / 344.2 MB, free: 4.656 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004346/0.151, allocations: 96.03 kB / 344.3 MB, free: 4.562 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.1e-05/0.151, allocations: 23.94 kB / 344.3 MB, free: 4.539 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 (brake1.mode,$PRE.brake1.mode,brake1.locked,brake1.startBackward,$PRE.brake1.startBackward,brake1.startForward,$PRE.brake1.startForward,brake1.free,brake.mode,$PRE.brake.mode,brake.locked,brake.startBackward,$PRE.brake.startBackward,brake.startForward,$PRE.brake.startForward,brake.free) * 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,7), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002124/0.1513, allocations: 165.4 kB / 344.5 MB, free: 4.367 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.2e-05/0.1513, allocations: 35.55 kB / 344.5 MB, free: 4.332 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/0.1515, allocations: 47.31 kB / 344.5 MB, free: 4.289 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.1515, allocations: 8 kB / 344.5 MB, free: 4.281 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.1515, allocations: 0 / 344.5 MB, free: 4.281 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.1515, allocations: 3.984 kB / 344.5 MB, free: 4.277 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002927/0.1544, allocations: 1.395 MB / 345.9 MB, free: 2.805 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.1545, allocations: 4 kB / 345.9 MB, free: 2.801 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000265/0.1547, allocations: 59.91 kB / 346 MB, free: 2.742 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007315/0.1555, allocations: 469.5 kB / 346.5 MB, free: 2.277 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.724e-05/0.1555, allocations: 19.97 kB / 346.5 MB, free: 2.258 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001327/0.1569, allocations: 1.339 MB / 347.8 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1569, allocations: 0 / 347.8 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/0.1588, allocations: 0.955 MB / 348.8 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001927/0.159, allocations: 156.7 kB / 348.9 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.216e-05/0.1591, allocations: 20.12 kB / 348.9 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003124/0.1594, allocations: 55.95 kB / 349 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002013/0.1596, allocations: 83.84 kB / 349.1 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.013e-05/0.1597, allocations: 15.98 kB / 349.1 MB, free: 15.53 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001853/0.1598, allocations: 176.4 kB / 349.3 MB, free: 15.35 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1599, allocations: 4 kB / 349.3 MB, free: 15.35 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004642/0.1603, allocations: 104 kB / 349.4 MB, free: 15.25 MB / 302.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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002991/0.1606, allocations: 135.1 kB / 349.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.1617, allocations: 0.5063 MB / 350 MB, free: 14.6 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1618, allocations: 4 kB / 350 MB, free: 14.6 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005944/0.1624, allocations: 295.9 kB / 350.3 MB, free: 14.31 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005177/0.1629, allocations: 52.73 kB / 350.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002506/0.1654, allocations: 1.234 MB / 351.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004708/0.1659, allocations: 0.7764 MB / 352.4 MB, free: 12.17 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.166, allocations: 31.42 kB / 352.4 MB, free: 12.14 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.166, allocations: 0 / 352.4 MB, free: 12.14 MB / 302.1 MB Notification: Performance of Templates: time 0.0118/0.1778, allocations: 6.586 MB / 359 MB, free: 5.547 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++ -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.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