Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") translateModel(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001167/0.001168, allocations: 93.55 kB / 17.64 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001591/0.001592, allocations: 197.6 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002721/0.0002726, allocations: 8 kB / 307.3 MB, free: 1.402 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1465, allocations: 51.49 MB / 358.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.002587/0.1491, allocations: 1.966 MB / 360.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.1504, allocations: 0.7287 MB / 361.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.1506, allocations: 7.938 kB / 361.5 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.1507, allocations: 27.77 kB / 361.5 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002528/0.151, allocations: 71.45 kB / 361.6 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000289/0.1513, allocations: 87.84 kB / 361.7 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003153/0.1516, allocations: 282.7 kB / 362 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.1517, allocations: 51.42 kB / 362 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.1519, allocations: 99.58 kB / 362.1 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.1521, allocations: 107.5 kB / 362.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.845e-05/0.1521, allocations: 12 kB / 362.2 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.326e-05/0.1521, allocations: 16 kB / 362.2 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.65e-05/0.1522, allocations: 51.75 kB / 362.3 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.655e-05/0.1523, allocations: 65.58 kB / 362.4 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.1525, allocations: 195.7 kB / 362.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1525, allocations: 0 / 362.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1525, allocations: 0 / 362.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.473e-06/0.1525, allocations: 0 / 362.5 MB, free: 10.14 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008481/0.1533, allocations: 0.5145 MB / 363.1 MB, free: 9.574 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.1534, allocations: 8.031 kB / 363.1 MB, free: 9.566 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.98e-05/0.1535, allocations: 27.72 kB / 363.1 MB, free: 9.539 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.1538, allocations: 248.2 kB / 363.3 MB, free: 9.254 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.1538, allocations: 16.44 kB / 363.4 MB, free: 9.238 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.531e-05/0.1539, allocations: 31.95 kB / 363.4 MB, free: 9.207 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004381/0.1543, allocations: 230.7 kB / 363.6 MB, free: 8.961 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.1543, allocations: 11.78 kB / 363.6 MB, free: 8.949 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/0.1544, allocations: 15.98 kB / 363.6 MB, free: 8.934 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.1544, allocations: 4 kB / 363.6 MB, free: 8.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003727/0.1548, allocations: 171.8 kB / 363.8 MB, free: 8.762 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.1562, allocations: 1.016 MB / 364.8 MB, free: 7.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005733/0.1568, allocations: 310.4 kB / 365.1 MB, free: 7.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.157, allocations: 91.41 kB / 365.2 MB, free: 7.219 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.157, allocations: 15.94 kB / 365.2 MB, free: 7.203 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.1571, allocations: 34.5 kB / 365.3 MB, free: 7.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 1.473e-06/0.1571, allocations: 0 / 365.3 MB, free: 7.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.002051/0.1592, allocations: 1.344 MB / 366.6 MB, free: 5.625 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.384e-05/0.1593, allocations: 132.5 kB / 366.7 MB, free: 5.465 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.1595, allocations: 202.9 kB / 366.9 MB, free: 5.254 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.1595, allocations: 33.7 kB / 367 MB, free: 5.215 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.1596, allocations: 152.4 kB / 367.1 MB, free: 5.062 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.1597, allocations: 118.3 kB / 367.2 MB, free: 4.945 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.35e-05/0.1598, allocations: 4 kB / 367.2 MB, free: 4.941 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1599, allocations: 350.8 kB / 367.6 MB, free: 4.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.1601, allocations: 80.78 kB / 367.7 MB, free: 4.512 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/0.1604, allocations: 194.1 kB / 367.8 MB, free: 4.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.1606, allocations: 112.8 kB / 368 MB, free: 4.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1606, allocations: 0 / 368 MB, free: 4.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005334/0.1611, allocations: 341.2 kB / 368.3 MB, free: 3.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.1612, allocations: 8 kB / 368.3 MB, free: 3.812 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.1612, allocations: 4.188 kB / 368.3 MB, free: 3.809 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.1612, allocations: 4 kB / 368.3 MB, free: 3.805 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003416/0.1616, allocations: 99.83 kB / 368.4 MB, free: 3.707 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.1616, allocations: 4 kB / 368.4 MB, free: 3.703 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.1617, allocations: 23.97 kB / 368.4 MB, free: 3.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-05/0.1618, allocations: 16 kB / 368.4 MB, free: 3.664 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001398/0.1619, allocations: 153.7 kB / 368.6 MB, free: 3.504 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.396e-05/0.162, allocations: 23.72 kB / 368.6 MB, free: 3.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.54e-05/0.1621, allocations: 33.39 kB / 368.7 MB, free: 3.445 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.1621, allocations: 4 kB / 368.7 MB, free: 3.441 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.1621, allocations: 4 kB / 368.7 MB, free: 3.438 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1621, allocations: 0 / 368.7 MB, free: 3.438 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/0.1635, allocations: 0.9828 MB / 369.6 MB, free: 2.371 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.1635, allocations: 4 kB / 369.6 MB, free: 2.367 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003371/0.1639, allocations: 83.83 kB / 369.7 MB, free: 2.285 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.1639, allocations: 8 kB / 369.7 MB, free: 2.277 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.1639, allocations: 8 kB / 369.7 MB, free: 2.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.688e-06/0.1639, allocations: 11.89 kB / 369.8 MB, free: 2.258 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.1639, allocations: 7.938 kB / 369.8 MB, free: 2.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008211/0.1648, allocations: 0.7128 MB / 370.5 MB, free: 1.492 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.448e-05/0.1648, allocations: 100.8 kB / 370.6 MB, free: 1.375 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.94e-05/0.1649, allocations: 8 kB / 370.6 MB, free: 1.367 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/0.1651, allocations: 19.98 kB / 370.6 MB, free: 1.348 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.456e-05/0.1652, allocations: 27.92 kB / 370.6 MB, free: 1.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.1652, allocations: 15.94 kB / 370.6 MB, free: 1.305 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001843/0.1654, allocations: 144.4 kB / 370.8 MB, free: 1.164 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1654, allocations: 0 / 370.8 MB, free: 1.164 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004631/0.1659, allocations: 68 kB / 370.9 MB, free: 1.098 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 8 (mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001476/0.1661, allocations: 107.5 kB / 371 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004813/0.1665, allocations: 240.1 kB / 371.2 MB, free: 0.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.1666, allocations: 4 kB / 371.2 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002248/0.1668, allocations: 124.4 kB / 371.3 MB, free: 0.625 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007529/0.1676, allocations: 74.36 kB / 371.4 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2235/0.3911, allocations: 1.162 MB / 372.6 MB, free: 19.2 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004248/0.3916, allocations: 0.7566 MB / 373.3 MB, free: 18.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.3917, allocations: 34.41 kB / 373.3 MB, free: 18.48 MB / 302.1 MB Notification: Performance of SimCode: time 2.395e-06/0.3917, allocations: 0.5938 kB / 373.3 MB, free: 18.48 MB / 302.1 MB Notification: Performance of Templates: time 0.007343/0.3991, allocations: 3.278 MB / 376.6 MB, free: 18.26 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.makefile make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.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_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForceCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForceCalcHelperMain.o] Error 1