Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0009402/0.0009453, allocations: 98.36 kB / 16.96 MB, free: 5.953 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.001134/0.001134, allocations: 178.6 kB / 17.84 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.57/1.57, allocations: 223.2 MB / 241.9 MB, free: 256 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003464, allocations: 4 kB / 301.5 MB, free: 6.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1386, allocations: 50.41 MB / 351.9 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002361/0.141, allocations: 1.635 MB / 353.5 MB, free: 2.375 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007976/0.1419, allocations: 483.1 kB / 354 MB, free: 1.898 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.952e-05/0.142, allocations: 0 / 354 MB, free: 1.898 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.976e-05/0.1421, allocations: 15.86 kB / 354 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.765e-05/0.1422, allocations: 27.77 kB / 354 MB, free: 1.855 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.1424, allocations: 35.97 kB / 354 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.1426, allocations: 135.4 kB / 354.2 MB, free: 1.688 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.1427, allocations: 54 kB / 354.2 MB, free: 1.633 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.1428, allocations: 55.78 kB / 354.3 MB, free: 1.578 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.143, allocations: 51.77 kB / 354.3 MB, free: 1.527 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.143, allocations: 8 kB / 354.3 MB, free: 1.52 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.245e-05/0.143, allocations: 8 kB / 354.4 MB, free: 1.512 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.848e-05/0.1431, allocations: 27.86 kB / 354.4 MB, free: 1.484 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.777e-05/0.1431, allocations: 49.64 kB / 354.4 MB, free: 1.43 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.1433, allocations: 127.8 kB / 354.6 MB, free: 1.305 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1433, allocations: 0 / 354.6 MB, free: 1.305 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1433, allocations: 0 / 354.6 MB, free: 1.305 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1433, allocations: 0 / 354.6 MB, free: 1.305 MB / 286.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.0005682/0.1439, allocations: 414.9 kB / 355 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.1439, allocations: 12.03 kB / 355 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/0.144, allocations: 23.75 kB / 355 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.1442, allocations: 194.9 kB / 355.2 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.1442, allocations: 12 kB / 355.2 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.313e-05/0.1443, allocations: 23.89 kB / 355.2 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003043/0.1446, allocations: 137.6 kB / 355.4 MB, free: 420 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.1446, allocations: 0 / 355.4 MB, free: 420 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.1446, allocations: 4 kB / 355.4 MB, free: 416 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.487e-06/0.1446, allocations: 15.83 kB / 355.4 MB, free: 400 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000208/0.1449, allocations: 99.69 kB / 355.5 MB, free: 300 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008128/0.1457, allocations: 0.5291 MB / 356 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.1459, allocations: 78.5 kB / 356.1 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.194e-05/0.1459, allocations: 32.84 kB / 356.1 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.146, allocations: 0 / 356.1 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.146, allocations: 38.56 kB / 356.1 MB, free: 15.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.146, allocations: 0 / 356.1 MB, free: 15.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009877/0.147, allocations: 0.5985 MB / 356.7 MB, free: 14.85 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.1471, allocations: 59.39 kB / 356.8 MB, free: 14.78 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.1472, allocations: 121.8 kB / 356.9 MB, free: 14.65 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.1472, allocations: 29.7 kB / 357 MB, free: 14.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.669e-05/0.1473, allocations: 135.9 kB / 357.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/0.1473, allocations: 43.44 kB / 357.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-06/0.1473, allocations: 4 kB / 357.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.1475, allocations: 326.8 kB / 357.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.176e-05/0.1476, allocations: 29.02 kB / 357.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.1477, allocations: 97.48 kB / 357.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.731e-05/0.1478, allocations: 44 kB / 357.6 MB, free: 13.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1478, allocations: 0 / 357.6 MB, free: 13.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002777/0.1481, allocations: 165.3 kB / 357.8 MB, free: 13.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.1481, allocations: 4 kB / 357.8 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.1481, allocations: 4 kB / 357.8 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1481, allocations: 0 / 357.8 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.1483, allocations: 43.92 kB / 357.8 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.1483, allocations: 4 kB / 357.8 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.509e-05/0.1484, allocations: 4 kB / 357.8 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.1484, allocations: 8.172 kB / 357.8 MB, free: 13.68 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.0001188/0.1485, allocations: 141.7 kB / 358 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.1486, allocations: 7.906 kB / 358 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.715e-05/0.1486, allocations: 8.375 kB / 358 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1486, allocations: 4 kB / 358 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1486, allocations: 0 / 358 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.1486, allocations: 0 / 358 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005645/0.1492, allocations: 448 kB / 358.4 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1492, allocations: 3.938 kB / 358.4 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.1493, allocations: 31.98 kB / 358.5 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.1494, allocations: 0 / 358.5 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.1494, allocations: 0 / 358.5 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/0.1494, allocations: 15.92 kB / 358.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1494, allocations: 4.062 kB / 358.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003471/0.1497, allocations: 245.1 kB / 358.7 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-05/0.1498, allocations: 85.05 kB / 358.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.1498, allocations: 8.062 kB / 358.8 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.995e-05/0.1499, allocations: 7.984 kB / 358.8 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.15, allocations: 11.89 kB / 358.8 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.15, allocations: 7.984 kB / 358.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.008e-05/0.1501, allocations: 102.8 kB / 359 MB, free: 12.46 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1501, allocations: 0 / 359 MB, free: 12.46 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.1503, allocations: 24.19 kB / 359 MB, free: 12.43 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.0001324/0.1505, allocations: 107.2 kB / 359.1 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002208/0.1507, allocations: 95.78 kB / 359.2 MB, free: 12.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1507, allocations: 0 / 359.2 MB, free: 12.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.477e-05/0.1508, allocations: 47.91 kB / 359.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.1512, allocations: 12.62 kB / 359.2 MB, free: 12.17 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008378/0.152, allocations: 0.5403 MB / 359.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.1523, allocations: 0.7082 MB / 360.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.94e-05/0.1524, allocations: 15.44 kB / 360.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1524, allocations: 4 kB / 360.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of Templates: time 0.003271/0.1556, allocations: 1.422 MB / 361.9 MB, free: 9.414 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.SensorsCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.Translational.Examples.SensorsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.Translational.Examples.SensorsCalcHelperMain.o] Error 1