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.000817/0.0008169, allocations: 97.7 kB / 17.96 MB, free: 5.633 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.001303/0.001304, allocations: 176.3 kB / 18.86 MB, free: 4.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2/2, allocations: 205.4 MB / 225 MB, free: 12.97 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.0005098/0.0005101, allocations: 8 kB / 282 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1303, allocations: 47.58 MB / 329.6 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002901/0.1332, allocations: 1.683 MB / 331.3 MB, free: 2.059 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.1345, allocations: 0.5152 MB / 331.8 MB, free: 1.535 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001797/0.1347, allocations: 4 kB / 331.8 MB, free: 1.531 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.1349, allocations: 19.91 kB / 331.8 MB, free: 1.512 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000152/0.135, allocations: 31.77 kB / 331.9 MB, free: 1.48 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002671/0.1353, allocations: 35.91 kB / 331.9 MB, free: 1.445 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002941/0.1356, allocations: 147.4 kB / 332 MB, free: 1.301 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.1358, allocations: 49.97 kB / 332.1 MB, free: 1.25 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.136, allocations: 55.83 kB / 332.1 MB, free: 1.195 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.1361, allocations: 59.72 kB / 332.2 MB, free: 1.137 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.132e-05/0.1362, allocations: 8 kB / 332.2 MB, free: 1.129 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.302e-05/0.1362, allocations: 4 kB / 332.2 MB, free: 1.125 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.559e-05/0.1362, allocations: 27.86 kB / 332.2 MB, free: 1.098 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.534e-05/0.1363, allocations: 93.34 kB / 332.3 MB, free: 1 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.1365, allocations: 119.9 kB / 332.4 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1365, allocations: 0 / 332.4 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1365, allocations: 0 / 332.4 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1365, allocations: 3.938 kB / 332.4 MB, free: 0.8789 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.0005882/0.1371, allocations: 423.1 kB / 332.9 MB, free: 428 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/0.1372, allocations: 8.031 kB / 332.9 MB, free: 420 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.166e-05/0.1373, allocations: 12.84 kB / 332.9 MB, free: 408 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.1376, allocations: 204.1 kB / 333.1 MB, free: 164 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.1376, allocations: 8.375 kB / 333.1 MB, free: 156 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.076e-05/0.1377, allocations: 24.31 kB / 333.1 MB, free: 132 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003914/0.1381, allocations: 149.4 kB / 333.3 MB, free: 15.98 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.1381, allocations: 7.906 kB / 333.3 MB, free: 15.97 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.615e-05/0.1381, allocations: 8 kB / 333.3 MB, free: 15.96 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.1382, allocations: 4 kB / 333.3 MB, free: 15.96 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002567/0.1384, allocations: 91.94 kB / 333.4 MB, free: 15.87 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.1395, allocations: 0.5327 MB / 333.9 MB, free: 15.28 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.1398, allocations: 82.48 kB / 334 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.702e-05/0.1399, allocations: 36.97 kB / 334 MB, free: 15.15 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.1399, allocations: 4 kB / 334 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.759e-05/0.14, allocations: 30.56 kB / 334 MB, free: 15.11 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 2.074e-06/0.14, allocations: 0 / 334 MB, free: 15.11 MB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.001314/0.1413, allocations: 0.6068 MB / 334.7 MB, free: 14.41 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.1413, allocations: 55.72 kB / 334.7 MB, free: 14.34 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.1415, allocations: 129.3 kB / 334.8 MB, free: 14.21 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.1416, allocations: 33.7 kB / 334.9 MB, free: 14.17 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.1417, allocations: 139.8 kB / 335 MB, free: 14.03 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.615e-05/0.1417, allocations: 43.33 kB / 335 MB, free: 13.98 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.543e-05/0.1418, allocations: 25.7 kB / 335.1 MB, free: 13.95 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.142, allocations: 318.8 kB / 335.4 MB, free: 13.63 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.1421, allocations: 35.98 kB / 335.4 MB, free: 13.6 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.1422, allocations: 90.8 kB / 335.5 MB, free: 13.48 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000231/0.1424, allocations: 134.7 kB / 335.6 MB, free: 13.33 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.1425, allocations: 4 kB / 335.6 MB, free: 13.32 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003045/0.1428, allocations: 161.4 kB / 335.8 MB, free: 13.16 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.1428, allocations: 4 kB / 335.8 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.1428, allocations: 4 kB / 335.8 MB, free: 13.15 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.1428, allocations: 3.984 kB / 335.8 MB, free: 13.15 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.143, allocations: 39.92 kB / 335.9 MB, free: 13.11 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.143, allocations: 3.938 kB / 335.9 MB, free: 13.11 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.692e-05/0.1431, allocations: 12 kB / 335.9 MB, free: 13.09 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.1432, allocations: 4 kB / 335.9 MB, free: 13.09 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.0001304/0.1433, allocations: 133.9 kB / 336 MB, free: 12.95 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.324e-05/0.1433, allocations: 7.906 kB / 336 MB, free: 12.94 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.515e-05/0.1434, allocations: 12.36 kB / 336 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.1434, allocations: 4 kB / 336 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.1434, allocations: 3.938 kB / 336 MB, free: 12.92 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.1434, allocations: 0 / 336 MB, free: 12.92 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000632/0.1441, allocations: 456 kB / 336.5 MB, free: 12.41 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1441, allocations: 0 / 336.5 MB, free: 12.41 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.1442, allocations: 27.98 kB / 336.5 MB, free: 12.39 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.1442, allocations: 0 / 336.5 MB, free: 12.39 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.1442, allocations: 4 kB / 336.5 MB, free: 12.38 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.1443, allocations: 4 kB / 336.5 MB, free: 12.38 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.339e-06/0.1443, allocations: 0 / 336.5 MB, free: 12.38 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003767/0.1447, allocations: 261 kB / 336.8 MB, free: 12.1 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.885e-05/0.1447, allocations: 85.05 kB / 336.8 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.1448, allocations: 4 kB / 336.9 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.836e-05/0.1448, allocations: 8.062 kB / 336.9 MB, free: 11.99 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.1449, allocations: 7.984 kB / 336.9 MB, free: 11.98 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.1449, allocations: 4 kB / 336.9 MB, free: 11.98 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.364e-05/0.145, allocations: 99.27 kB / 337 MB, free: 11.88 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.034e-06/0.145, allocations: 0 / 337 MB, free: 11.88 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002726/0.1453, allocations: 31.94 kB / 337 MB, free: 11.85 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.0001409/0.1454, allocations: 91.25 kB / 337.1 MB, free: 11.75 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002421/0.1457, allocations: 99.83 kB / 337.2 MB, free: 11.65 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1457, allocations: 4 kB / 337.2 MB, free: 11.64 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.491e-05/0.1458, allocations: 39.92 kB / 337.2 MB, free: 11.61 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.1462, allocations: 15.92 kB / 337.2 MB, free: 11.59 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000953/0.1471, allocations: 0.5641 MB / 337.8 MB, free: 10.99 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.1475, allocations: 0.7121 MB / 338.5 MB, free: 10.25 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.356e-05/0.1476, allocations: 15.44 kB / 338.5 MB, free: 10.24 MB / 286.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1476, allocations: 0 / 338.5 MB, free: 10.24 MB / 286.1 MB Notification: Performance of Templates: time 0.004046/0.1516, allocations: 1.427 MB / 340 MB, free: 8.809 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