Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.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.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator") translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001064/0.001069, allocations: 92.11 kB / 17.63 MB, free: 6.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001286/0.001287, allocations: 192.5 kB / 18.54 MB, free: 5.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.586/1.586, allocations: 227.3 MB / 246.6 MB, free: 12.05 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002375/0.0002375, allocations: 11.98 kB / 307.3 MB, free: 1.625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1295, allocations: 51.48 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.002847/0.1324, allocations: 2.034 MB / 360.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.1335, allocations: 0.604 MB / 361.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.1336, allocations: 4 kB / 361.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.1338, allocations: 27.77 kB / 361.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.1339, allocations: 59.48 kB / 361.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.1341, allocations: 51.88 kB / 361.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002754/0.1344, allocations: 230.9 kB / 361.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001861/0.1346, allocations: 77.31 kB / 361.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001795/0.1348, allocations: 87.66 kB / 362 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.135, allocations: 95.59 kB / 362 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.608e-05/0.135, allocations: 12 kB / 362.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.459e-05/0.1351, allocations: 12 kB / 362.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.563e-05/0.1351, allocations: 35.84 kB / 362.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.672e-05/0.1352, allocations: 65.58 kB / 362.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.1354, allocations: 179.8 kB / 362.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1354, allocations: 0 / 362.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1354, allocations: 0 / 362.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.1354, allocations: 4 kB / 362.3 MB, free: 10.55 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008298/0.1363, allocations: 0.4983 MB / 362.8 MB, free: 10 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.1363, allocations: 8.031 kB / 362.9 MB, free: 9.996 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002356/0.1366, allocations: 51.7 kB / 362.9 MB, free: 9.945 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/0.1369, allocations: 231.4 kB / 363.1 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.1369, allocations: 16.44 kB / 363.1 MB, free: 9.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.481e-05/0.137, allocations: 23.86 kB / 363.2 MB, free: 9.637 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004053/0.1374, allocations: 217.3 kB / 363.4 MB, free: 9.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.1374, allocations: 8 kB / 363.4 MB, free: 9.402 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.1374, allocations: 4 kB / 363.4 MB, free: 9.398 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.1375, allocations: 8 kB / 363.4 MB, free: 9.391 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003137/0.1378, allocations: 156.4 kB / 363.6 MB, free: 9.238 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.139, allocations: 0.7958 MB / 364.3 MB, free: 8.375 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003946/0.1394, allocations: 197 kB / 364.5 MB, free: 8.164 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/0.1396, allocations: 109.7 kB / 364.6 MB, free: 8.051 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.1397, allocations: 4 kB / 364.7 MB, free: 8.047 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.1397, allocations: 34.56 kB / 364.7 MB, free: 8.004 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.352e-06/0.1397, allocations: 0 / 364.7 MB, free: 8.004 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.001804/0.1415, allocations: 0.8904 MB / 365.6 MB, free: 7.023 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.1416, allocations: 96.92 kB / 365.7 MB, free: 6.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.1418, allocations: 178.2 kB / 365.8 MB, free: 6.727 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.1418, allocations: 29.7 kB / 365.9 MB, free: 6.691 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.1419, allocations: 136.3 kB / 366 MB, free: 6.555 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.508e-05/0.142, allocations: 94.66 kB / 366.1 MB, free: 6.461 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.312e-05/0.142, allocations: 8 kB / 366.1 MB, free: 6.453 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.1422, allocations: 334.8 kB / 366.4 MB, free: 6.117 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.1424, allocations: 63.97 kB / 366.5 MB, free: 6.055 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.1426, allocations: 116.2 kB / 366.6 MB, free: 5.926 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.1427, allocations: 75.94 kB / 366.7 MB, free: 5.852 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1428, allocations: 0 / 366.7 MB, free: 5.852 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004287/0.1432, allocations: 249.3 kB / 366.9 MB, free: 5.602 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.1432, allocations: 4 kB / 366.9 MB, free: 5.598 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.1432, allocations: 4 kB / 366.9 MB, free: 5.594 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.1433, allocations: 0 / 366.9 MB, free: 5.594 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.1435, allocations: 67.91 kB / 367 MB, free: 5.527 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.1435, allocations: 3.953 kB / 367 MB, free: 5.523 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.1436, allocations: 23.98 kB / 367 MB, free: 5.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.1437, allocations: 8 kB / 367 MB, free: 5.492 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (32): * Single equations (assignments): 32 * 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.000152/0.1438, allocations: 138.2 kB / 367.2 MB, free: 5.348 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.89e-05/0.1439, allocations: 19.81 kB / 367.2 MB, free: 5.328 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.28e-05/0.144, allocations: 29.86 kB / 367.2 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.768e-06/0.144, allocations: 4 kB / 367.2 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.144, allocations: 0 / 367.2 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.144, allocations: 7.938 kB / 367.2 MB, free: 5.285 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008539/0.1449, allocations: 0.5888 MB / 367.8 MB, free: 4.633 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.1449, allocations: 4 kB / 367.8 MB, free: 4.629 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/0.1452, allocations: 56.06 kB / 367.9 MB, free: 4.574 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/0.1452, allocations: 7.953 kB / 367.9 MB, free: 4.566 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.1452, allocations: 8 kB / 367.9 MB, free: 4.559 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.1452, allocations: 3.938 kB / 367.9 MB, free: 4.555 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1452, allocations: 4 kB / 367.9 MB, free: 4.551 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006627/0.1459, allocations: 0.4912 MB / 368.4 MB, free: 4.035 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.369e-05/0.146, allocations: 88.92 kB / 368.5 MB, free: 3.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.52e-05/0.146, allocations: 15.89 kB / 368.5 MB, free: 3.914 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.1462, allocations: 16.03 kB / 368.5 MB, free: 3.898 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.694e-05/0.1462, allocations: 23.92 kB / 368.5 MB, free: 3.875 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.1463, allocations: 4 kB / 368.5 MB, free: 3.871 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001106/0.1464, allocations: 131.2 kB / 368.7 MB, free: 3.742 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1464, allocations: 0 / 368.7 MB, free: 3.742 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003312/0.1467, allocations: 52 kB / 368.7 MB, free: 3.691 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (damper1.s_rel,damper1.v_rel,mass1.s,mass1.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 (26): * Single equations (assignments): 26 * 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.0001346/0.1469, allocations: 107.2 kB / 368.8 MB, free: 3.578 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000393/0.1473, allocations: 187.7 kB / 369 MB, free: 3.395 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.1473, allocations: 0 / 369 MB, free: 3.395 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000196/0.1475, allocations: 104.2 kB / 369.1 MB, free: 3.293 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006156/0.1481, allocations: 39.88 kB / 369.1 MB, free: 3.254 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.1494, allocations: 0.8511 MB / 370 MB, free: 2.359 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.1498, allocations: 0.7484 MB / 370.7 MB, free: 1.586 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.218e-05/0.1499, allocations: 23.44 kB / 370.8 MB, free: 1.562 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1499, allocations: 0 / 370.8 MB, free: 1.562 MB / 302.1 MB Notification: Performance of Templates: time 0.2173/0.3671, allocations: 2.564 MB / 373.3 MB, free: 19.38 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.makefile make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.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.OscillatorCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.Translational.Examples.OscillatorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.Translational.Examples.OscillatorCalcHelperMain.o] Error 1