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.001447/0.001446, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001452/0.001453, allocations: 194 kB / 18.72 MB, free: 4.762 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.866/1.866, allocations: 205.1 MB / 224.6 MB, free: 12.49 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.001233/0.001233, allocations: 44.16 kB / 280.6 MB, free: 3.609 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.132, allocations: 46.64 MB / 327.2 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003844/0.1359, allocations: 2.021 MB / 329.3 MB, free: 2.863 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009509/0.1368, allocations: 0.5386 MB / 329.8 MB, free: 2.316 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.137, allocations: 4 kB / 329.8 MB, free: 2.312 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.1371, allocations: 11.86 kB / 329.8 MB, free: 2.301 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.835e-05/0.1372, allocations: 23.78 kB / 329.8 MB, free: 2.277 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.1375, allocations: 43.95 kB / 329.9 MB, free: 2.234 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.1377, allocations: 143.4 kB / 330 MB, free: 2.094 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002209/0.1379, allocations: 57.95 kB / 330.1 MB, free: 2.035 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.138, allocations: 55.78 kB / 330.1 MB, free: 1.98 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.1382, allocations: 67.64 kB / 330.2 MB, free: 1.914 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.583e-05/0.1382, allocations: 12 kB / 330.2 MB, free: 1.902 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.189e-05/0.1383, allocations: 8 kB / 330.2 MB, free: 1.895 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.14e-05/0.1383, allocations: 35.83 kB / 330.3 MB, free: 1.859 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.1385, allocations: 67.67 kB / 330.3 MB, free: 1.793 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.1387, allocations: 119.9 kB / 330.4 MB, free: 1.676 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.1387, allocations: 8 kB / 330.5 MB, free: 1.668 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1387, allocations: 0 / 330.5 MB, free: 1.668 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.1387, allocations: 0 / 330.5 MB, free: 1.668 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.0009105/0.1396, allocations: 439.1 kB / 330.9 MB, free: 1.191 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.002e-05/0.1397, allocations: 8.031 kB / 330.9 MB, free: 1.184 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.163e-05/0.1398, allocations: 20.75 kB / 330.9 MB, free: 1.164 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/0.1401, allocations: 204.1 kB / 331.1 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.1401, allocations: 12.38 kB / 331.1 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.875e-05/0.1402, allocations: 20.38 kB / 331.1 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003622/0.1405, allocations: 145.4 kB / 331.3 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.1406, allocations: 3.938 kB / 331.3 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.1406, allocations: 8 kB / 331.3 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.1406, allocations: 7.984 kB / 331.3 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002379/0.1409, allocations: 83.95 kB / 331.4 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.1419, allocations: 0.5404 MB / 331.9 MB, free: 48 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.1422, allocations: 78.55 kB / 332 MB, free: 15.96 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.646e-05/0.1423, allocations: 28.84 kB / 332 MB, free: 15.93 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.1423, allocations: 4 kB / 332 MB, free: 15.93 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.21e-05/0.1424, allocations: 30.75 kB / 332.1 MB, free: 15.89 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 3.606e-06/0.1424, allocations: 0 / 332.1 MB, free: 15.89 MB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.001226/0.1436, allocations: 0.6026 MB / 332.7 MB, free: 15.19 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.1437, allocations: 59.34 kB / 332.7 MB, free: 15.12 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.1438, allocations: 121.8 kB / 332.8 MB, free: 14.99 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.1439, allocations: 29.7 kB / 332.9 MB, free: 14.96 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.144, allocations: 132 kB / 333 MB, free: 14.82 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.555e-05/0.1441, allocations: 43.39 kB / 333 MB, free: 14.78 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.661e-05/0.1441, allocations: 33.62 kB / 333.1 MB, free: 14.74 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.1443, allocations: 330.8 kB / 333.4 MB, free: 14.41 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.844e-05/0.1444, allocations: 27.98 kB / 333.4 MB, free: 14.38 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.1446, allocations: 86.78 kB / 333.5 MB, free: 14.27 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/0.1448, allocations: 126.7 kB / 333.6 MB, free: 14.12 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.1448, allocations: 7.984 kB / 333.6 MB, free: 14.12 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002793/0.1451, allocations: 157.4 kB / 333.8 MB, free: 13.96 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.1452, allocations: 4 kB / 333.8 MB, free: 13.95 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.1452, allocations: 4 kB / 333.8 MB, free: 13.95 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.523e-05/0.1452, allocations: 4 kB / 333.8 MB, free: 13.95 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.1454, allocations: 35.92 kB / 333.8 MB, free: 13.91 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.1454, allocations: 3.938 kB / 333.8 MB, free: 13.91 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.812e-05/0.1455, allocations: 12.55 kB / 333.9 MB, free: 13.89 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.1456, allocations: 12.19 kB / 333.9 MB, free: 13.88 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001319/0.1457, allocations: 117.8 kB / 334 MB, free: 13.76 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/0.1457, allocations: 11.91 kB / 334 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.999e-05/0.1458, allocations: 12.38 kB / 334 MB, free: 13.73 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1458, allocations: 3.938 kB / 334 MB, free: 13.73 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.1458, allocations: 11.88 kB / 334 MB, free: 13.72 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.1458, allocations: 0 / 334 MB, free: 13.72 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006787/0.1465, allocations: 447.9 kB / 334.5 MB, free: 13.22 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1465, allocations: 0 / 334.5 MB, free: 13.22 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.1467, allocations: 23.98 kB / 334.5 MB, free: 13.2 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1467, allocations: 0 / 334.5 MB, free: 13.2 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.1467, allocations: 7.984 kB / 334.5 MB, free: 13.19 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1467, allocations: 0 / 334.5 MB, free: 13.19 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/0.1467, allocations: 4 kB / 334.5 MB, free: 13.18 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004163/0.1472, allocations: 257 kB / 334.7 MB, free: 12.91 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.419e-05/0.1472, allocations: 89.08 kB / 334.8 MB, free: 12.8 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.1473, allocations: 7.984 kB / 334.8 MB, free: 12.8 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.882e-05/0.1474, allocations: 0 / 334.8 MB, free: 12.8 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.251e-05/0.1474, allocations: 12.06 kB / 334.9 MB, free: 12.79 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.1475, allocations: 7.984 kB / 334.9 MB, free: 12.78 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.017e-05/0.1475, allocations: 96.53 kB / 335 MB, free: 12.68 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1476, allocations: 0 / 335 MB, free: 12.68 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.1478, allocations: 28 kB / 335 MB, free: 12.66 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001755/0.148, allocations: 99.19 kB / 335.1 MB, free: 12.55 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002583/0.1483, allocations: 80.28 kB / 335.2 MB, free: 12.47 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.1483, allocations: 11.94 kB / 335.2 MB, free: 12.46 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.657e-05/0.1484, allocations: 39.91 kB / 335.2 MB, free: 12.42 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004889/0.1489, allocations: 20.5 kB / 335.2 MB, free: 12.4 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.15, allocations: 0.5029 MB / 335.7 MB, free: 11.86 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006945/0.1507, allocations: 0.7165 MB / 336.4 MB, free: 11.12 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.402e-05/0.1508, allocations: 11.44 kB / 336.5 MB, free: 11.11 MB / 286.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1508, allocations: 0 / 336.5 MB, free: 11.11 MB / 286.1 MB Notification: Performance of Templates: time 0.003997/0.1548, allocations: 1.434 MB / 337.9 MB, free: 9.668 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++ -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.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