Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.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.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors") translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007525/0.0007526, allocations: 88.88 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008538/0.0008538, allocations: 198.1 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.536/1.536, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000225/0.000225, allocations: 7.984 kB / 307.3 MB, free: 1.602 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.143, allocations: 51.49 MB / 358.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002419/0.1455, allocations: 1.64 MB / 360.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008666/0.1464, allocations: 0.5223 MB / 360.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.067e-05/0.1465, allocations: 3.938 kB / 361 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.272e-05/0.1466, allocations: 15.92 kB / 361 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.484e-05/0.1467, allocations: 31.77 kB / 361 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.1469, allocations: 35.91 kB / 361 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001722/0.147, allocations: 131.5 kB / 361.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.1472, allocations: 64.8 kB / 361.2 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.1474, allocations: 63.83 kB / 361.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.1475, allocations: 55.72 kB / 361.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.1475, allocations: 8 kB / 361.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.288e-05/0.1476, allocations: 8 kB / 361.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.69e-05/0.1476, allocations: 23.91 kB / 361.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.489e-05/0.1477, allocations: 49.64 kB / 361.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.1478, allocations: 119.9 kB / 361.5 MB, free: 11.33 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.1479, allocations: 4 kB / 361.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1479, allocations: 4 kB / 361.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.1479, allocations: 0 / 361.6 MB, free: 11.32 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005736/0.1485, allocations: 418.7 kB / 362 MB, free: 10.86 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.1485, allocations: 12.03 kB / 362 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/0.1487, allocations: 27.8 kB / 362 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.1489, allocations: 198.8 kB / 362.2 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.149, allocations: 12 kB / 362.2 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.212e-05/0.149, allocations: 23.86 kB / 362.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002906/0.1493, allocations: 141.6 kB / 362.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.1493, allocations: 4 kB / 362.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/0.1494, allocations: 4 kB / 362.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.985e-05/0.1494, allocations: 4 kB / 362.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002019/0.1496, allocations: 95.69 kB / 362.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007987/0.1504, allocations: 0.529 MB / 363 MB, free: 9.719 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.1506, allocations: 82.53 kB / 363.1 MB, free: 9.629 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.408e-05/0.1507, allocations: 37.02 kB / 363.1 MB, free: 9.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.1507, allocations: 3.938 kB / 363.1 MB, free: 9.586 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.1507, allocations: 30.56 kB / 363.2 MB, free: 9.547 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.1507, allocations: 0 / 363.2 MB, free: 9.547 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.001015/0.1518, allocations: 0.6071 MB / 363.8 MB, free: 8.848 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.1518, allocations: 55.41 kB / 363.8 MB, free: 8.781 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.152, allocations: 135.8 kB / 363.9 MB, free: 8.641 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.152, allocations: 33.69 kB / 364 MB, free: 8.602 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.1521, allocations: 128 kB / 364.1 MB, free: 8.473 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/0.1521, allocations: 43.44 kB / 364.1 MB, free: 8.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-06/0.1522, allocations: 4 kB / 364.2 MB, free: 8.426 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1523, allocations: 322.8 kB / 364.5 MB, free: 8.102 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.453e-05/0.1524, allocations: 31.98 kB / 364.5 MB, free: 8.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.1525, allocations: 86.84 kB / 364.6 MB, free: 7.961 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.394e-05/0.1526, allocations: 56.02 kB / 364.6 MB, free: 7.906 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1526, allocations: 0 / 364.6 MB, free: 7.906 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002735/0.1529, allocations: 157.3 kB / 364.8 MB, free: 7.746 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.1529, allocations: 4 kB / 364.8 MB, free: 7.742 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1529, allocations: 4 kB / 364.8 MB, free: 7.738 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.153, allocations: 8.141 kB / 364.8 MB, free: 7.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.1531, allocations: 39.98 kB / 364.8 MB, free: 7.691 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.1531, allocations: 3.938 kB / 364.9 MB, free: 7.688 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.115e-05/0.1532, allocations: 11.98 kB / 364.9 MB, free: 7.676 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.1532, allocations: 11.94 kB / 364.9 MB, free: 7.664 MB / 302.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001176/0.1533, allocations: 125.8 kB / 365 MB, free: 7.531 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.1534, allocations: 7.906 kB / 365 MB, free: 7.523 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.764e-05/0.1534, allocations: 12.38 kB / 365 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.1534, allocations: 8 kB / 365 MB, free: 7.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1534, allocations: 3.953 kB / 365 MB, free: 7.496 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.1535, allocations: 3.984 kB / 365 MB, free: 7.492 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005575/0.154, allocations: 432 kB / 365.5 MB, free: 7.008 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.154, allocations: 4.062 kB / 365.5 MB, free: 7.004 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.1542, allocations: 35.88 kB / 365.5 MB, free: 6.969 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.1542, allocations: 4 kB / 365.5 MB, free: 6.965 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.1542, allocations: 3.984 kB / 365.5 MB, free: 6.961 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1542, allocations: 4 kB / 365.5 MB, free: 6.957 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1542, allocations: 0 / 365.5 MB, free: 6.957 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003303/0.1545, allocations: 257.1 kB / 365.8 MB, free: 6.684 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.016e-05/0.1546, allocations: 85.05 kB / 365.8 MB, free: 6.582 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.1546, allocations: 19.88 kB / 365.9 MB, free: 6.562 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.055e-05/0.1547, allocations: 4 kB / 365.9 MB, free: 6.559 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.688e-05/0.1548, allocations: 7.984 kB / 365.9 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.1548, allocations: 8.062 kB / 365.9 MB, free: 6.543 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.173e-05/0.1549, allocations: 101.7 kB / 366 MB, free: 6.445 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1549, allocations: 0 / 366 MB, free: 6.445 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.1551, allocations: 24 kB / 366 MB, free: 6.422 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mass.s,mass.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 (11): * Single equations (assignments): 11 * 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.000113/0.1553, allocations: 95.25 kB / 366.1 MB, free: 6.316 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002071/0.1555, allocations: 100.2 kB / 366.2 MB, free: 6.219 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.1555, allocations: 0 / 366.2 MB, free: 6.219 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9e-05/0.1556, allocations: 39.92 kB / 366.2 MB, free: 6.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.1559, allocations: 12 kB / 366.2 MB, free: 6.168 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007402/0.1566, allocations: 0.5326 MB / 366.8 MB, free: 5.598 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.157, allocations: 0.716 MB / 367.5 MB, free: 4.855 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.398e-05/0.157, allocations: 15.44 kB / 367.5 MB, free: 4.844 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.157, allocations: 0 / 367.5 MB, free: 4.844 MB / 302.1 MB Notification: Performance of Templates: time 0.003172/0.1602, allocations: 1.43 MB / 368.9 MB, free: 3.418 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.makefile make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.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.SensorsCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.Translational.Examples.SensorsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.Translational.Examples.SensorsCalcHelperMain.o] Error 1