Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001145/0.001145, allocations: 88.39 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.001567/0.001567, allocations: 202.3 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.563/1.563, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.000363, allocations: 8 kB / 307.3 MB, free: 1.629 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1671, allocations: 51.49 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.002992/0.1702, allocations: 1.565 MB / 360.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002215/0.1725, allocations: 1.143 MB / 361.5 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001558/0.1727, allocations: 0 / 361.5 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007183/0.1734, allocations: 139.6 kB / 361.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004341/0.1738, allocations: 123.6 kB / 361.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000669/0.1745, allocations: 179.3 kB / 361.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000286/0.1748, allocations: 163.5 kB / 362.1 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.1749, allocations: 33.52 kB / 362.1 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.1751, allocations: 67.64 kB / 362.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.1752, allocations: 67.69 kB / 362.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.1753, allocations: 0 / 362.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.1754, allocations: 39.98 kB / 362.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.473e-05/0.1755, allocations: 39.83 kB / 362.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.873e-05/0.1756, allocations: 53.58 kB / 362.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003021/0.1759, allocations: 155.9 kB / 362.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.1759, allocations: 0 / 362.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1759, allocations: 0 / 362.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1759, allocations: 0 / 362.5 MB, free: 10.36 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008923/0.1768, allocations: 496.1 kB / 363 MB, free: 9.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.479e-05/0.1769, allocations: 8.031 kB / 363 MB, free: 9.812 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.212e-05/0.177, allocations: 19.72 kB / 363.1 MB, free: 9.793 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000512/0.1775, allocations: 265.6 kB / 363.3 MB, free: 9.488 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.1776, allocations: 4 kB / 363.3 MB, free: 9.484 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.127e-05/0.1776, allocations: 11.95 kB / 363.3 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004184/0.178, allocations: 146.7 kB / 363.5 MB, free: 9.305 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.178, allocations: 4 kB / 363.5 MB, free: 9.301 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.1781, allocations: 4 kB / 363.5 MB, free: 9.297 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.1781, allocations: 0 / 363.5 MB, free: 9.297 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.1782, allocations: 35.91 kB / 363.5 MB, free: 9.262 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006273/0.1788, allocations: 362.4 kB / 363.9 MB, free: 8.852 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/0.1791, allocations: 103.9 kB / 364 MB, free: 8.723 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.695e-05/0.1792, allocations: 46.56 kB / 364 MB, free: 8.668 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.477e-05/0.1793, allocations: 7.938 kB / 364 MB, free: 8.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002022/0.1795, allocations: 71.39 kB / 364.1 MB, free: 8.578 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.1795, allocations: 0 / 364.1 MB, free: 8.578 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004731/0.18, allocations: 145.4 kB / 364.2 MB, free: 8.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001508/0.1801, allocations: 136.4 kB / 364.4 MB, free: 8.266 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003513/0.1805, allocations: 272.9 kB / 364.6 MB, free: 7.992 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.23e-05/0.1805, allocations: 29.7 kB / 364.7 MB, free: 7.957 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.1806, allocations: 112.1 kB / 364.8 MB, free: 7.844 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/0.1807, allocations: 23.73 kB / 364.8 MB, free: 7.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.065e-06/0.1807, allocations: 4.25 kB / 364.8 MB, free: 7.816 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002158/0.1809, allocations: 330.8 kB / 365.1 MB, free: 7.484 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.919e-05/0.181, allocations: 23.98 kB / 365.1 MB, free: 7.461 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.1811, allocations: 66.08 kB / 365.2 MB, free: 7.375 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.836e-05/0.1812, allocations: 31.97 kB / 365.2 MB, free: 7.344 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1812, allocations: 0 / 365.2 MB, free: 7.344 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002309/0.1815, allocations: 109.4 kB / 365.4 MB, free: 7.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.1815, allocations: 7.938 kB / 365.4 MB, free: 7.223 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.1815, allocations: 4 kB / 365.4 MB, free: 7.219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.1815, allocations: 0 / 365.4 MB, free: 7.219 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.1817, allocations: 19.92 kB / 365.4 MB, free: 7.199 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.1817, allocations: 4.125 kB / 365.4 MB, free: 7.195 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.117e-05/0.1818, allocations: 12 kB / 365.4 MB, free: 7.184 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.1818, allocations: 0 / 365.4 MB, free: 7.184 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: 9 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001768/0.182, allocations: 149.8 kB / 365.5 MB, free: 7.027 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.914e-05/0.1821, allocations: 65.34 kB / 365.6 MB, free: 6.957 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.108e-05/0.1821, allocations: 25.7 kB / 365.6 MB, free: 6.934 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1821, allocations: 4 kB / 365.6 MB, free: 6.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.1822, allocations: 4.062 kB / 365.6 MB, free: 6.926 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.1822, allocations: 0 / 365.6 MB, free: 6.926 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/0.1825, allocations: 233.5 kB / 365.9 MB, free: 6.648 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1825, allocations: 0 / 365.9 MB, free: 6.648 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.815e-05/0.1825, allocations: 7.938 kB / 365.9 MB, free: 6.641 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1825, allocations: 0 / 365.9 MB, free: 6.641 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.1825, allocations: 4 kB / 365.9 MB, free: 6.637 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1825, allocations: 4.25 kB / 365.9 MB, free: 6.633 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1825, allocations: 0 / 365.9 MB, free: 6.633 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.1828, allocations: 166.5 kB / 366 MB, free: 6.445 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.183, allocations: 116.8 kB / 366.2 MB, free: 6.312 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.834e-05/0.183, allocations: 7.984 kB / 366.2 MB, free: 6.305 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.393e-05/0.1831, allocations: 4 kB / 366.2 MB, free: 6.301 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.1831, allocations: 8 kB / 366.2 MB, free: 6.293 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.1832, allocations: 7.984 kB / 366.2 MB, free: 6.285 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002472/0.1834, allocations: 200.5 kB / 366.4 MB, free: 6.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1834, allocations: 4 kB / 366.4 MB, free: 6.086 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002848/0.1837, allocations: 28 kB / 366.4 MB, free: 6.059 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: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001118/0.1848, allocations: 409.4 kB / 366.8 MB, free: 5.789 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002267/0.1851, allocations: 71.86 kB / 366.9 MB, free: 5.719 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1851, allocations: 256 / 366.9 MB, free: 5.719 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.542e-05/0.1852, allocations: 27.98 kB / 366.9 MB, free: 5.691 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004656/0.1857, allocations: 58.2 kB / 367 MB, free: 5.637 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007111/0.1864, allocations: 377.7 kB / 367.3 MB, free: 5.227 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004431/0.1868, allocations: 0.7283 MB / 368.1 MB, free: 4.473 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.681e-05/0.1869, allocations: 23.42 kB / 368.1 MB, free: 4.449 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1869, allocations: 3.938 kB / 368.1 MB, free: 4.445 MB / 302.1 MB Notification: Performance of Templates: time 0.006248/0.1932, allocations: 2.64 MB / 370.7 MB, free: 1.82 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.makefile make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.ShiftSampleCalcHelperMain.o OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSampleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSampleCalcHelperMain.o] Error 1