Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001058/0.001058, allocations: 88.06 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001478/0.001478, allocations: 203.6 kB / 18.54 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.609/1.609, allocations: 227.3 MB / 246.6 MB, free: 12 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002868/0.0002868, allocations: 12 kB / 307.3 MB, free: 1.621 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.144, allocations: 51.49 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.001868/0.1459, allocations: 1.251 MB / 360 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000859/0.1468, allocations: 0.4952 MB / 360.5 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.085e-05/0.1469, allocations: 3.938 kB / 360.5 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.482e-05/0.1469, allocations: 3.938 kB / 360.5 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.1471, allocations: 15.91 kB / 360.6 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.1474, allocations: 35.91 kB / 360.6 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.1475, allocations: 43.84 kB / 360.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.1476, allocations: 11.98 kB / 360.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.1478, allocations: 31.91 kB / 360.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.035e-05/0.1478, allocations: 19.86 kB / 360.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.1479, allocations: 4 kB / 360.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.418e-05/0.1479, allocations: 4 kB / 360.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.97e-05/0.148, allocations: 11.92 kB / 360.7 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.735e-05/0.148, allocations: 33.7 kB / 360.8 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.1481, allocations: 35.92 kB / 360.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1481, allocations: 4 kB / 360.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1481, allocations: 4 kB / 360.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1481, allocations: 0 / 360.8 MB, free: 12.11 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.0005337/0.1487, allocations: 371.2 kB / 361.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.1487, allocations: 8.031 kB / 361.2 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/0.1489, allocations: 19.89 kB / 361.2 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.1491, allocations: 183.6 kB / 361.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.1492, allocations: 8 kB / 361.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.1492, allocations: 4 kB / 361.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000298/0.1495, allocations: 105 kB / 361.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1495, allocations: 0 / 361.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.1495, allocations: 0 / 361.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.932e-06/0.1495, allocations: 4 kB / 361.5 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.364e-05/0.1496, allocations: 27.92 kB / 361.5 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003702/0.15, allocations: 265.8 kB / 361.8 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.1501, allocations: 53.12 kB / 361.8 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.617e-05/0.1502, allocations: 21.78 kB / 361.8 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.1502, allocations: 0 / 361.8 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.1503, allocations: 30.56 kB / 361.9 MB, free: 10.84 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.1503, allocations: 0 / 361.9 MB, free: 10.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002692/0.1505, allocations: 81.52 kB / 362 MB, free: 10.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/0.1506, allocations: 81.11 kB / 362 MB, free: 10.65 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.1508, allocations: 140.4 kB / 362.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.1508, allocations: 25.7 kB / 362.2 MB, free: 10.47 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.738e-05/0.1508, allocations: 92.27 kB / 362.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.357e-05/0.1509, allocations: 8 kB / 362.3 MB, free: 10.37 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-06/0.1509, allocations: 0 / 362.3 MB, free: 10.37 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.151, allocations: 322.8 kB / 362.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.18e-05/0.1511, allocations: 8 kB / 362.6 MB, free: 10.04 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.093e-05/0.1511, allocations: 33.58 kB / 362.7 MB, free: 10 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.243e-05/0.1512, allocations: 8.062 kB / 362.7 MB, free: 9.992 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1512, allocations: 4 kB / 362.7 MB, free: 9.988 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001139/0.1513, allocations: 61.58 kB / 362.7 MB, free: 9.922 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.1513, allocations: 4 kB / 362.7 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1513, allocations: 0 / 362.7 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.1513, allocations: 0 / 362.7 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.855e-05/0.1514, allocations: 16 kB / 362.7 MB, free: 9.902 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.1514, allocations: 0 / 362.7 MB, free: 9.902 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.529e-05/0.1515, allocations: 7.984 kB / 362.8 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.1515, allocations: 0 / 362.8 MB, free: 9.895 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 8.658e-05/0.1516, allocations: 117.8 kB / 362.9 MB, free: 9.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.57e-05/0.1517, allocations: 37.61 kB / 362.9 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.822e-05/0.1517, allocations: 19.81 kB / 362.9 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1517, allocations: 0 / 362.9 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.1517, allocations: 4.031 kB / 362.9 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.1517, allocations: 0 / 362.9 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.1519, allocations: 169.6 kB / 363.1 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1519, allocations: 4 kB / 363.1 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.205e-05/0.152, allocations: 8 kB / 363.1 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.152, allocations: 0 / 363.1 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.152, allocations: 3.984 kB / 363.1 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.152, allocations: 7.938 kB / 363.1 MB, free: 9.461 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.152, allocations: 0 / 363.1 MB, free: 9.461 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.1522, allocations: 164.3 kB / 363.3 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.866e-05/0.1522, allocations: 89 kB / 363.4 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.1523, allocations: 4 kB / 363.4 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.151e-05/0.1523, allocations: 3.984 kB / 363.4 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.1524, allocations: 4 kB / 363.4 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.1524, allocations: 4.031 kB / 363.4 MB, free: 9.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.014e-05/0.1525, allocations: 110 kB / 363.5 MB, free: 9.055 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1525, allocations: 3.938 kB / 363.5 MB, free: 9.051 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002158/0.1527, allocations: 4 kB / 363.5 MB, free: 9.047 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001206/0.1528, allocations: 99.23 kB / 363.6 MB, free: 8.941 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001316/0.153, allocations: 31.98 kB / 363.6 MB, free: 8.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.153, allocations: 0 / 363.6 MB, free: 8.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.623e-05/0.153, allocations: 8 kB / 363.6 MB, free: 8.902 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.1534, allocations: 19.97 kB / 363.6 MB, free: 8.883 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003614/0.1538, allocations: 211.3 kB / 363.9 MB, free: 8.637 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.1541, allocations: 0.6926 MB / 364.5 MB, free: 7.918 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.402e-05/0.1541, allocations: 11.44 kB / 364.6 MB, free: 7.906 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1541, allocations: 0 / 364.6 MB, free: 7.906 MB / 302.1 MB Notification: Performance of Templates: time 0.002559/0.1567, allocations: 0.7056 MB / 365.3 MB, free: 7.207 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.ClockSignals.SubSampleCalcHelperMain.o OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSampleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSampleCalcHelperMain.o] Error 1