Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.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.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007904/0.0007904, allocations: 93.84 kB / 17.59 MB, free: 6.168 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.0007917/0.000792, allocations: 183.8 kB / 18.47 MB, free: 5.336 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.646/1.646, allocations: 205.4 MB / 224.6 MB, free: 13.16 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.0004463/0.0004463, allocations: 8 kB / 281.4 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1206, allocations: 47.58 MB / 329 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002654/0.1233, allocations: 1.633 MB / 330.6 MB, free: 2.449 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.1243, allocations: 0.5038 MB / 331.1 MB, free: 1.938 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.927e-05/0.1244, allocations: 4 kB / 331.1 MB, free: 1.934 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.1245, allocations: 15.86 kB / 331.1 MB, free: 1.918 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.226e-05/0.1246, allocations: 27.77 kB / 331.2 MB, free: 1.891 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.1248, allocations: 35.97 kB / 331.2 MB, free: 1.855 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.125, allocations: 131.5 kB / 331.3 MB, free: 1.727 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001882/0.1252, allocations: 62.12 kB / 331.4 MB, free: 1.664 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.875e-05/0.1253, allocations: 51.78 kB / 331.4 MB, free: 1.613 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.1255, allocations: 55.77 kB / 331.5 MB, free: 1.559 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.1255, allocations: 8 kB / 331.5 MB, free: 1.551 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.415e-05/0.1255, allocations: 8 kB / 331.5 MB, free: 1.543 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.883e-05/0.1256, allocations: 19.92 kB / 331.5 MB, free: 1.523 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.775e-05/0.1256, allocations: 53.58 kB / 331.6 MB, free: 1.465 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.1258, allocations: 119.9 kB / 331.7 MB, free: 1.348 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.1258, allocations: 0 / 331.7 MB, free: 1.348 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1258, allocations: 4 kB / 331.7 MB, free: 1.344 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1258, allocations: 3.938 kB / 331.7 MB, free: 1.34 MB / 270.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.0006495/0.1265, allocations: 418.9 kB / 332.1 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.1265, allocations: 8.031 kB / 332.1 MB, free: 0.875 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.888e-05/0.1266, allocations: 11.91 kB / 332.1 MB, free: 0.8633 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.1269, allocations: 218.6 kB / 332.3 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.1269, allocations: 8 kB / 332.4 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.259e-05/0.1269, allocations: 20 kB / 332.4 MB, free: 0.582 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003233/0.1273, allocations: 141.1 kB / 332.5 MB, free: 448 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.1273, allocations: 0 / 332.5 MB, free: 448 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.706e-05/0.1273, allocations: 12 kB / 332.5 MB, free: 436 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.219e-05/0.1274, allocations: 4 kB / 332.5 MB, free: 432 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002748/0.1276, allocations: 95.88 kB / 332.6 MB, free: 336 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008914/0.1285, allocations: 0.5249 MB / 333.1 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.1287, allocations: 82.55 kB / 333.2 MB, free: 15.66 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.345e-05/0.1288, allocations: 28.84 kB / 333.3 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.1288, allocations: 4 kB / 333.3 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.1289, allocations: 34.56 kB / 333.3 MB, free: 15.58 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.1289, allocations: 0 / 333.3 MB, free: 15.58 MB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009998/0.1299, allocations: 0.6185 MB / 333.9 MB, free: 14.87 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.13, allocations: 55.78 kB / 334 MB, free: 14.8 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.1301, allocations: 129.8 kB / 334.1 MB, free: 14.66 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.1301, allocations: 25.7 kB / 334.1 MB, free: 14.63 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.661e-05/0.1302, allocations: 128 kB / 334.2 MB, free: 14.5 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.528e-05/0.1303, allocations: 51.23 kB / 334.3 MB, free: 14.45 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-06/0.1303, allocations: 0 / 334.3 MB, free: 14.45 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1304, allocations: 322.8 kB / 334.6 MB, free: 14.13 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.465e-05/0.1305, allocations: 35.98 kB / 334.6 MB, free: 14.09 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.1306, allocations: 90.78 kB / 334.7 MB, free: 13.98 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.455e-05/0.1307, allocations: 47.98 kB / 334.8 MB, free: 13.93 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.1308, allocations: 0 / 334.8 MB, free: 13.93 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000252/0.131, allocations: 157.3 kB / 334.9 MB, free: 13.77 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.131, allocations: 8 kB / 334.9 MB, free: 13.77 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1311, allocations: 192 / 334.9 MB, free: 13.77 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.1311, allocations: 8 kB / 334.9 MB, free: 13.76 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.1312, allocations: 35.92 kB / 335 MB, free: 13.72 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.1313, allocations: 8 kB / 335 MB, free: 13.71 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.953e-05/0.1313, allocations: 11.98 kB / 335 MB, free: 13.7 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.1314, allocations: 8 kB / 335 MB, free: 13.7 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: 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.0001142/0.1315, allocations: 121.8 kB / 335.1 MB, free: 13.57 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.1315, allocations: 11.86 kB / 335.1 MB, free: 13.55 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001801/0.1317, allocations: 20.38 kB / 335.2 MB, free: 13.54 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1317, allocations: 0 / 335.2 MB, free: 13.54 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1317, allocations: 0 / 335.2 MB, free: 13.54 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.1317, allocations: 3.984 kB / 335.2 MB, free: 13.53 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005994/0.1323, allocations: 452 kB / 335.6 MB, free: 13.03 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1324, allocations: 4 kB / 335.6 MB, free: 13.02 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.1325, allocations: 23.98 kB / 335.6 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.1325, allocations: 192 / 335.6 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.1325, allocations: 8 kB / 335.6 MB, free: 12.99 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1325, allocations: 7.875 kB / 335.6 MB, free: 12.98 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1326, allocations: 0 / 335.6 MB, free: 12.98 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003503/0.1329, allocations: 257.1 kB / 335.9 MB, free: 12.71 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.133, allocations: 89.03 kB / 336 MB, free: 12.61 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.133, allocations: 4 kB / 336 MB, free: 12.6 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.922e-05/0.1331, allocations: 8 kB / 336 MB, free: 12.59 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.1331, allocations: 11.92 kB / 336 MB, free: 12.58 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.1332, allocations: 4.062 kB / 336 MB, free: 12.58 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.199e-05/0.1332, allocations: 99.27 kB / 336.1 MB, free: 12.48 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1332, allocations: 0 / 336.1 MB, free: 12.48 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.1335, allocations: 28 kB / 336.1 MB, free: 12.45 MB / 286.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.0001198/0.1336, allocations: 91.25 kB / 336.2 MB, free: 12.35 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002406/0.1339, allocations: 100.2 kB / 336.3 MB, free: 12.25 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1339, allocations: 3.938 kB / 336.3 MB, free: 12.25 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.19e-05/0.134, allocations: 39.92 kB / 336.4 MB, free: 12.21 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.1343, allocations: 20.3 kB / 336.4 MB, free: 12.19 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009474/0.1353, allocations: 0.5325 MB / 336.9 MB, free: 11.62 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004335/0.1357, allocations: 0.7122 MB / 337.6 MB, free: 10.89 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.965e-05/0.1358, allocations: 19.42 kB / 337.7 MB, free: 10.87 MB / 286.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1358, allocations: 0 / 337.7 MB, free: 10.87 MB / 286.1 MB Notification: Performance of Templates: time 0.003434/0.1393, allocations: 1.434 MB / 339.1 MB, free: 9.43 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.makefile make -j1 -f Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.SensorsCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.SensorsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.SensorsCalcHelperMain.o] Error 1