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.001229/0.00123, allocations: 105.5 kB / 17.81 MB, free: 5.695 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.001523/0.001523, allocations: 190 kB / 18.72 MB, free: 4.781 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.875/1.875, allocations: 205.1 MB / 224.6 MB, free: 12.47 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.001587/0.001587, allocations: 47.92 kB / 280.6 MB, free: 3.605 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1428, allocations: 46.64 MB / 327.2 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Brake): time 0.006115/0.149, allocations: 2.466 MB / 329.7 MB, free: 2.414 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.1508, allocations: 0.5076 MB / 330.2 MB, free: 1.902 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003425/0.1511, allocations: 4 kB / 330.2 MB, free: 1.898 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003462/0.1515, allocations: 47.62 kB / 330.3 MB, free: 1.852 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003483/0.1519, allocations: 67.47 kB / 330.3 MB, free: 1.785 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006703/0.1526, allocations: 163.7 kB / 330.5 MB, free: 1.625 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007327/0.1533, allocations: 475.1 kB / 331 MB, free: 1.16 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002267/0.1536, allocations: 52.72 kB / 331 MB, free: 1.113 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003816/0.154, allocations: 187.3 kB / 331.2 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004822/0.1545, allocations: 231.2 kB / 331.4 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.1546, allocations: 20 kB / 331.4 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002524/0.1548, allocations: 71.89 kB / 331.5 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001741/0.155, allocations: 79.72 kB / 331.6 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002225/0.1553, allocations: 163.1 kB / 331.7 MB, free: 384 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004469/0.1557, allocations: 327.5 kB / 332.1 MB, free: 56 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1557, allocations: 8 kB / 332.1 MB, free: 48 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1557, allocations: 0 / 332.1 MB, free: 48 kB / 270.1 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.1558, allocations: 0 / 332.1 MB, free: 48 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001799/0.1576, allocations: 0.6549 MB / 332.7 MB, free: 15.34 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/0.1576, allocations: 8.031 kB / 332.7 MB, free: 15.33 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.1578, allocations: 36.47 kB / 332.8 MB, free: 15.3 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004112/0.1582, allocations: 288.6 kB / 333.1 MB, free: 14.98 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.972e-05/0.1583, allocations: 24.94 kB / 333.1 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.27e-05/0.1584, allocations: 28.38 kB / 333.1 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008415/0.1592, allocations: 373.2 kB / 333.5 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.1592, allocations: 4.094 kB / 333.5 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.731e-05/0.1593, allocations: 15.94 kB / 333.5 MB, free: 14.53 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.1593, allocations: 8 kB / 333.5 MB, free: 14.52 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000837/0.1602, allocations: 405.9 kB / 333.9 MB, free: 14.13 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00226/0.1624, allocations: 1.104 MB / 335 MB, free: 12.95 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005748/0.163, allocations: 299.4 kB / 335.3 MB, free: 12.64 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003902/0.1634, allocations: 201.4 kB / 335.5 MB, free: 12.45 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.363e-05/0.1635, allocations: 11.94 kB / 335.5 MB, free: 12.43 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.652e-05/0.1635, allocations: 34.56 kB / 335.5 MB, free: 12.39 MB / 286.1 MB Notification: Performance of pre-optimization done (n=39): time 4.829e-06/0.1636, allocations: 0 / 335.5 MB, free: 12.39 MB / 286.1 MB Notification: Performance of matching and sorting (n=45): time 0.00492/0.1685, allocations: 2.025 MB / 337.6 MB, free: 10.23 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.1685, allocations: 55.41 kB / 337.6 MB, free: 10.16 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/0.1688, allocations: 241 kB / 337.8 MB, free: 9.918 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.724e-05/0.1689, allocations: 37.7 kB / 337.9 MB, free: 9.875 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.1691, allocations: 152.7 kB / 338 MB, free: 9.719 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/0.1693, allocations: 150 kB / 338.2 MB, free: 9.57 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/0.1695, allocations: 102.1 kB / 338.3 MB, free: 9.465 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.1697, allocations: 342.8 kB / 338.6 MB, free: 9.121 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004307/0.1701, allocations: 205 kB / 338.8 MB, free: 8.922 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004823/0.1706, allocations: 296.7 kB / 339.1 MB, free: 8.605 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007248/0.1714, allocations: 377.7 kB / 339.5 MB, free: 8.211 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1714, allocations: 0 / 339.5 MB, free: 8.211 MB / 286.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001527/0.1729, allocations: 0.6924 MB / 340.2 MB, free: 7.504 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.1729, allocations: 8 kB / 340.2 MB, free: 7.496 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.173, allocations: 3.984 kB / 340.2 MB, free: 7.492 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009918/0.174, allocations: 497.5 kB / 340.7 MB, free: 7 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002902/0.1743, allocations: 75.91 kB / 340.7 MB, free: 6.926 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/0.1757, allocations: 1.394 MB / 342.1 MB, free: 5.48 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004346/0.1761, allocations: 63.92 kB / 342.2 MB, free: 5.418 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.098e-05/0.1762, allocations: 19.98 kB / 342.2 MB, free: 5.398 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.0002665/0.1765, allocations: 169.4 kB / 342.4 MB, free: 5.223 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.014e-05/0.1766, allocations: 31.56 kB / 342.4 MB, free: 5.191 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.1767, allocations: 51.3 kB / 342.5 MB, free: 5.145 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.1767, allocations: 4 kB / 342.5 MB, free: 5.141 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.1767, allocations: 0 / 342.5 MB, free: 5.141 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.1767, allocations: 3.984 kB / 342.5 MB, free: 5.137 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003066/0.1798, allocations: 1.353 MB / 343.8 MB, free: 3.707 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/0.1798, allocations: 4 kB / 343.8 MB, free: 3.703 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000288/0.1801, allocations: 60.06 kB / 343.9 MB, free: 3.645 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000824/0.181, allocations: 465.3 kB / 344.3 MB, free: 3.184 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.443e-05/0.181, allocations: 19.97 kB / 344.4 MB, free: 3.164 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001401/0.1824, allocations: 1.335 MB / 345.7 MB, free: 1.777 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.1825, allocations: 8.094 kB / 345.7 MB, free: 1.77 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001989/0.1845, allocations: 0.947 MB / 346.6 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000201/0.1847, allocations: 156.7 kB / 346.8 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.1848, allocations: 19.94 kB / 346.8 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003085/0.1851, allocations: 35.95 kB / 346.9 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002212/0.1854, allocations: 87.84 kB / 346.9 MB, free: 484 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.265e-05/0.1854, allocations: 16.11 kB / 347 MB, free: 468 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000193/0.1856, allocations: 172.5 kB / 347.1 MB, free: 292 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1856, allocations: 0 / 347.1 MB, free: 292 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005054/0.1861, allocations: 100 kB / 347.2 MB, free: 192 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 (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.0002885/0.1864, allocations: 139.2 kB / 347.4 MB, free: 44 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001227/0.1877, allocations: 0.506 MB / 347.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.1877, allocations: 0 / 347.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006437/0.1883, allocations: 292.6 kB / 348.1 MB, free: 15.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005546/0.1889, allocations: 64.45 kB / 348.2 MB, free: 15.19 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/0.1915, allocations: 1.125 MB / 349.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004893/0.192, allocations: 0.7803 MB / 350.1 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.1921, allocations: 31.44 kB / 350.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1922, allocations: 0 / 350.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of Templates: time 0.01196/0.2041, allocations: 6.622 MB / 356.8 MB, free: 6.551 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