Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.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.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001101/0.001102, allocations: 95.81 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001623/0.001623, allocations: 199 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.528/1.528, allocations: 227.3 MB / 246.6 MB, free: 11.91 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002647/0.0002649, allocations: 8 kB / 307.3 MB, free: 1.59 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1254, allocations: 51.49 MB / 358.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.001964/0.1274, allocations: 1.282 MB / 360.1 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008872/0.1284, allocations: 0.5107 MB / 360.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.273e-05/0.1285, allocations: 4 kB / 360.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.295e-05/0.1285, allocations: 3.938 kB / 360.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001342/0.1286, allocations: 11.92 kB / 360.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.1289, allocations: 43.89 kB / 360.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.548e-05/0.129, allocations: 39.86 kB / 360.7 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.1292, allocations: 20.16 kB / 360.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.1293, allocations: 27.86 kB / 360.7 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.635e-05/0.1294, allocations: 23.91 kB / 360.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.1294, allocations: 0 / 360.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.273e-05/0.1294, allocations: 4 kB / 360.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.538e-05/0.1295, allocations: 7.938 kB / 360.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.434e-05/0.1295, allocations: 37.64 kB / 360.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.1296, allocations: 43.86 kB / 360.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1296, allocations: 0 / 360.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1297, allocations: 4 kB / 360.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1297, allocations: 0 / 360.9 MB, free: 12.02 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005046/0.1302, allocations: 374.7 kB / 361.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.1302, allocations: 12.03 kB / 361.2 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.1304, allocations: 15.91 kB / 361.2 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.1306, allocations: 183 kB / 361.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.1306, allocations: 11.95 kB / 361.4 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.1306, allocations: 11.94 kB / 361.5 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002804/0.1309, allocations: 109.9 kB / 361.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.1309, allocations: 0 / 361.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.016e-06/0.131, allocations: 4 kB / 361.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.131, allocations: 0 / 361.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.577e-05/0.1311, allocations: 35.91 kB / 361.6 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003584/0.1314, allocations: 278.5 kB / 361.9 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.1316, allocations: 75.78 kB / 361.9 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.409e-05/0.1316, allocations: 30.64 kB / 362 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.1317, allocations: 0 / 362 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.1317, allocations: 42.53 kB / 362 MB, free: 10.65 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.1317, allocations: 0 / 362 MB, free: 10.65 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002702/0.132, allocations: 93.45 kB / 362.1 MB, free: 10.55 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.132e-05/0.1321, allocations: 111.2 kB / 362.2 MB, free: 10.42 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.1322, allocations: 141.8 kB / 362.4 MB, free: 10.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.1322, allocations: 29.7 kB / 362.4 MB, free: 10.24 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.287e-05/0.1323, allocations: 88.14 kB / 362.5 MB, free: 10.15 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.1323, allocations: 3.906 kB / 362.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.1324, allocations: 0 / 362.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1325, allocations: 326.8 kB / 362.8 MB, free: 9.816 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.126e-05/0.1325, allocations: 8 kB / 362.8 MB, free: 9.809 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.996e-05/0.1326, allocations: 39.42 kB / 362.8 MB, free: 9.758 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.8e-05/0.1327, allocations: 19.92 kB / 362.9 MB, free: 9.738 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1327, allocations: 4 kB / 362.9 MB, free: 9.734 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001302/0.1328, allocations: 69.53 kB / 362.9 MB, free: 9.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.1328, allocations: 8 kB / 362.9 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.1328, allocations: 0 / 362.9 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1329, allocations: 96 / 362.9 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.687e-05/0.1329, allocations: 15.97 kB / 363 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.133, allocations: 4 kB / 363 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.108e-05/0.133, allocations: 8.125 kB / 363 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.133, allocations: 3.938 kB / 363 MB, free: 9.621 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001018/0.1331, allocations: 121.8 kB / 363.1 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.314e-05/0.1332, allocations: 53.61 kB / 363.1 MB, free: 9.434 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.702e-05/0.1333, allocations: 15.81 kB / 363.2 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1333, allocations: 0 / 363.2 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.1333, allocations: 0 / 363.2 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1333, allocations: 3.938 kB / 363.2 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.1335, allocations: 177.7 kB / 363.3 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.1335, allocations: 0 / 363.3 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.321e-05/0.1336, allocations: 11.98 kB / 363.3 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1336, allocations: 7.938 kB / 363.4 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.1336, allocations: 4 kB / 363.4 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1336, allocations: 0 / 363.4 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.1336, allocations: 4 kB / 363.4 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.1338, allocations: 185 kB / 363.5 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.35e-05/0.1339, allocations: 93 kB / 363.6 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.1339, allocations: 4 kB / 363.6 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.751e-05/0.134, allocations: 7.984 kB / 363.6 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.797e-05/0.134, allocations: 0 / 363.6 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.134, allocations: 4 kB / 363.6 MB, free: 8.832 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.214e-05/0.1341, allocations: 114 kB / 363.8 MB, free: 8.723 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1341, allocations: 0 / 363.8 MB, free: 8.723 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002217/0.1343, allocations: 12 kB / 363.8 MB, free: 8.711 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (4): * Single equations (assignments): 4 * 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.0001083/0.1345, allocations: 95.25 kB / 363.9 MB, free: 8.609 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001325/0.1346, allocations: 31.92 kB / 363.9 MB, free: 8.578 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.1346, allocations: 8.188 kB / 363.9 MB, free: 8.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.482e-05/0.1347, allocations: 11.98 kB / 363.9 MB, free: 8.559 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.135, allocations: 31.97 kB / 363.9 MB, free: 8.527 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003787/0.1354, allocations: 224.5 kB / 364.2 MB, free: 8.266 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.1358, allocations: 0.6965 MB / 364.9 MB, free: 7.543 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/0.1358, allocations: 11.42 kB / 364.9 MB, free: 7.531 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1358, allocations: 0 / 364.9 MB, free: 7.531 MB / 302.1 MB Notification: Performance of Templates: time 0.002383/0.1382, allocations: 0.8233 MB / 365.7 MB, free: 6.715 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.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.Clocked.Examples.Elementary.RealSignals.ShiftSampleCalcHelperMain.o OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSampleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSampleCalcHelperMain.o] Error 1